eve offers MCP tools only through eve__search and eve__tool, and reads one page of tools/list

Kind: idiosyncrasy · Status: current · Last verified: 2026-11-26 · Clients: eve · Revisions: 2026-07-28, 2025-11-25

A connection's tools are catalog entries. connectionEntry marks each one deferred: true with an empty description. When the agent has a connection, catalogTools adds two fixed tools to the step: eve__search and eve__tool. eve__search takes a query and returns 10 results by default and 50 at most. Each result has the name <connection>__<tool>, the server's description, and a signature rendered from inputSchema and outputSchema. eve__tool({ name, input }) runs one. The header comment of search.ts gives the reason: the search tool's definition is fixed for each eve version, so the catalog can change without changing the model's tool list.

For a server author this moves where the tool text is read. The model reads a tool's description and schema as text inside a tool result, after it chose to search. Before that it sees the connection's authored description. The server's instructions are not read. The tool title is not copied into the metadata that eve builds, which holds name, description, inputSchema, outputSchema and annotations.

#fetchToolsInner calls client.listTools() with no arguments and builds the tool set from that one result. The SDK's listTools sends one tools/list and returns nextCursor with the page. The SDK's tools() method follows the cursor, and eve does not call it. The only reader of nextCursor under packages/eve/src/runtime/connections is the events catalog. A tool on a later page is absent from eve__search, and eve__tool rejects its name as unknown, because a call is checked against the same listing.

The listing is cached on the client. Clients come from a pool keyed by connection, session, turn and auth (McpClientPool): the steps of one turn share a client, and a client idle for 60 seconds is closed. A new turn, an idle close, a transport failure or an expired session builds a new client, which lists again. A changed tool list reaches eve that way. A notifications/tools/list_changed has no effect. The SDK passes any notification to onUncaughtError as an unsupported message, and eve does not set that callback. On 2026-07-28 the client opens no stream that could carry one.

Listing has a 10 second deadline per connection, and a call has a 5 minute deadline. Inputs are validated against inputSchema before approval and again before the call.

Sources