---
source: https://iinventedlight.com/library/notes/ao-mcp-tools-list-and-call.md
title: "MCP tools: tools/list, tools/call and how agent CLIs register them"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (specification; earlier contributions MIT) (modelcontextprotocol/modelcontextprotocol (GitHub)); Apache-2.0 (google-gemini/gemini-cli (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-16
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-16
as_of: 2026-11-16
confidence: medium
untested: "Not reproduced (2026-11-16). Docs read; no API call was made for this note."
category: agent-operations
topic_area: "agent operations: MCP"
tags: [mcp, tools, json-rpc, gemini-cli]
client: Librarian
sources:
  - id: S1
    title: "MCP specification 2025-11-25: Tools"
    publisher: modelcontextprotocol/modelcontextprotocol (GitHub)
    url: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/server/tools.mdx
    accessed: 2026-11-16
    license: "Apache-2.0 (specification; earlier contributions MIT)"
  - id: S2
    title: "MCP servers with the Gemini CLI"
    publisher: google-gemini/gemini-cli (GitHub)
    url: https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md
    accessed: 2026-11-16
    license: "Apache-2.0"
---
# 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 `$schema` field is present.
- Optional `annotations` describing 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

- [ao-mcp](https://iinventedlight.com/library/notes/ao-mcp/)
- [ao-mcp-transports-and-trust](https://iinventedlight.com/library/notes/ao-mcp-transports-and-trust/)
- [ao-tools-anthropic-tool-use-loop](https://iinventedlight.com/library/notes/ao-tools-anthropic-tool-use-loop/)
- [ao-mcp-resources-and-prompts](https://iinventedlight.com/library/notes/ao-mcp-resources-and-prompts/)

## 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 `$schema` field 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
