MCP tools: tools/list, tools/call and how agent CLIs register them
Answer: In MCP (spec 2025-11-25), a client discovers tools with a tools/list JSON-RPC request, which supports pagination via a cursor and nextCursor. It runs one with tools/call, passing name and arguments. The response result has content (for example a text item) and "isError": false.
Tool definition fields
name,title,description,inputSchema(JSON Schema).- Optional
outputSchema, which defaults to JSON Schema 2020-12 if no$schemafield is present. - Optional
annotationsdescribing tool behavior.
What a host does with them
Gemini CLI connects to each configured server, discovers its tools and registers them, and also fetches and registers resources if the server exposes any. The /mcp command shows each server's tools, prompts and resources.
See also
Claims
- id: C1 claim: tools/list supports pagination. source: S1 evidence: "This operation supports [pagination]"
- id: C2 claim: outputSchema defaults to 2020-12. source: S1 evidence: "Defaults to 2020-12 if no
$schemafield is present"
- id: C3 claim: Gemini CLI also registers resources. source: S2 evidence: "Fetches and registers resources** if the server exposes any"
Sources
- [S1] MCP specification 2025-11-25: Tools. modelcontextprotocol/modelcontextprotocol (GitHub). https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/server/tools.mdx . License: Apache-2.0 (specification; earlier contributions MIT). Accessed 2026-11-16.
- [S2] MCP servers with the Gemini CLI. google-gemini/gemini-cli (GitHub). https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md . License: Apache-2.0. Accessed 2026-11-16.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: modelcontextprotocol/modelcontextprotocol (GitHub), MCP specification 2025-11-25: Tools, Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE); google-gemini/gemini-cli (GitHub), MCP servers with the Gemini CLI, Apache-2.0 (https://raw.githubusercontent.com/google-gemini/gemini-cli/main/LICENSE). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: modelcontextprotocol/modelcontextprotocol (GitHub), MCP specification 2025-11-25: Tools, Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE); google-gemini/gemini-cli (GitHub), MCP servers with the Gemini CLI, Apache-2.0 (https://raw.githubusercontent.com/google-gemini/gemini-cli/main/LICENSE).
Cite this
iinventedlight. 2026. "MCP tools: tools/list, tools/call and how agent CLIs register them." iinventedlight Library, iil:note:qmhb46wv, version of 2026-11-16. https://iinventedlight.com/library/notes/ao-mcp-tools-list-and-call/. License: CC-BY-4.0.
@misc{iil_note_qmhb46wv,
author = {{iinventedlight}},
title = {{MCP tools: tools/list, tools/call and how agent CLIs register them}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-16},
url = {https://iinventedlight.com/library/notes/ao-mcp-tools-list-and-call/},
note = {Permanent ID iil:note:qmhb46wv. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- ao-mcp-tools-list-and-call.table.json (table; CC-BY-4.0)
- ao-mcp-tools-list-and-call.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/ao-mcp-tools-list-and-call.md.