Skip to main content

Agent tools and MCP

One list of ready-to-use tools for any agent. Fetch them as JSON Schema tool definitions for your model, or connect the Autessa MCP server. Each tool runs with your key's permissions.

Autessa already runs an MCP server for agents built in Autessa; see MCP servers.

When to use it​

  • Your agent runs outside Autessa and needs search, messaging, or approvals.
  • You built tools in Autessa and want other agents (Claude, Cursor, your own code) to call them.
  • You want one permission and firewall check for every tool call, wherever the agent runs.

Quickstart​

  1. Get a free API key. New accounts get $100 of free credits for your first month, no card needed. This developer key works for this feature; see Keys.
  2. List tools: GET /clients/agent-tools?include=builtin,tenant.
  3. Pass the tools to your model. When it calls one, run POST /clients/agent-tools/{name}/invoke.
curl "https://api.autessa.com/clients/agent-tools?include=builtin,tenant" \
-H "Authorization: $AUTESSA_API_KEY"

Built-in tools​

ToolWhat it does
autessadb_searchSearches an AutessaDB table by meaning.
drive_searchSearches Drive files by meaning or keywords.
drive_readReads a Drive file's text.
send_smsSends a text message. See Messaging.
send_emailSends an email.
request_approvalAsks a person to approve. See Approvals.
get_approvalGets the person's decision.
transfer_callTransfers a phone call. Phone sessions only.

Tools you build in Autessa are listed too (source: "TENANT") when the key is allowed to run them.

Use it through MCP​

@autessa/mcp-tools serves the same tools as an MCP server, over stdio (the default) or streamable HTTP. @autessa/mcp-firewall wraps any other MCP server and checks its tool definitions, every tool call, and every result with the AI Application Firewall. See MCP integration.

claude mcp add autessa-tools --env AUTESSA_API_KEY="$AUTESSA_API_KEY" -- npx -y @autessa/mcp-tools

The server's command is autessa-mcp-tools. Options: --transport stdio|http, --port (default 3333), --host (default 127.0.0.1), --include builtin,tenant, --allow and --deny (tool names), and --allow-env-key (HTTP only). In HTTP mode the server listens at /mcp, and each request sends its own Autessa key in the Authorization or X-Autessa-Api-Key header.

Libraries and frameworks​

WherePackageCall
Pythonautessa-coreAgentTools().list(), invoke(name, input) (returns output and is_error), run(name, input) (raises AgentToolError on a tool error)
TypeScript@autessa/corelistAgentTools(client), invokeAgentTool(client, name, input), invokeAgentToolRaw(client, name, input)
Javacom.autessa:autessa-corenew AgentTools(client).list(), invoke(name, input), call(name, input, sessionId)
LangChainlangchain-autessa, @autessa/langchainAutessaToolkit
Vercel AI SDK@autessa/ai-sdkautessaTools({ only, sessionId })
Spring AIautessa-spring-boot-starterAutessaToolCallbackProvider, with autessa.agent-tools.enabled=true
from autessa.core import AgentTools

tools = AgentTools() # reads AUTESSA_API_KEY
for tool in tools.list():
print(tool.name, "-", tool.description)
print(tools.run("drive_search", {"query": "refund policy"}))

The libraries are in private preview and not yet on PyPI, npm, or Maven Central. Install from GitHub as each library's README describes.

How it works​

  • invoke takes input (matching the tool's inputSchema) and an optional sessionId. It returns output and isError.
  • Every call uses the same permission checks as running the tool in Autessa.
  • When your firewall policy checks tool calls, it checks these calls too.

Limits​

  • A key sees only the tenant tools it is allowed to run.
  • Per-key rate limits apply. See API keys and scopes.

API reference​

Agent Tools API

Benchmarks​

Tool-call attacks are covered by AI Firewall Bench.

Example​