Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read guide or reference

read_context
Read-onlyIdempotent

List the readable context IDs, or read one entry by id. With no id, the catalog includes contracts, guides, tzCloud's own skills, one skills entry per other product, and documentation trees. With id, the answer is a text chunk, 8,000 characters by default and at most 16,000. Read manifest_schema:<member> for one manifest member, or manifest_schema:services:<kind> for one service kind. A product's skills entry gives the skill:<prefixed name> IDs, which need not appear in the catalog.

On either form, continue with the returned next_offset as offset and its stamp until next_offset is null. If the content changes, restart at offset zero without a stamp.

A host may cut batched results, so read long texts one chunk at a time at the default limit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA content ID the catalog lists whose tool is read_context. Leave it out to read the catalog itself. IDs select listed platform content and are never arbitrary paths or URLs.
limitNoMaximum Unicode code points returned in this chunk: 1 through 16000, default 8000. A larger value reads 16000, and `note` says so. Offsets and limits count code points, not UTF-8 bytes or UTF-16 code units. Catalog reads without `id` must omit `limit`.
stampNoThe `stamp` member of the previous answer of this same read, copied unchanged: 64 lower-case hexadecimal characters. Required with a nonzero offset; send none on your first read. A changed text is refused `context_changed`: restart at offset 0 without a stamp. The stamp does not grant access.
offsetNoZero-based Unicode code-point offset in the complete text; defaults to 0. Use the previous response's next_offset for continuation. A nonzero offset requires its stamp.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish read-only, idempotent, closed-world safety, and the description adds real behavior on top: default 8,000 and capped 16,000 code points with a `note` when capped, `context_changed` refusal on stale stamps, restart-without-stamp semantics, and the explicit clarification that the stamp does not grant access. It also warns that a host may truncate batched results. That is substantive disclosure beyond the annotation block.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the two modes, then pagination, then the batching caveat — every paragraph carries distinct information. Minor deductions for a paragraph break that splits a sentence about skills entries and for the operator-flavored note phrasing (`note` says so) that adds small cognitive load. Nothing is genuinely redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter read tool with no output schema, the definition covers everything needed: catalog contents, ID namespaces not in the schema, chunk sizing and capping, the full continuation protocol via `next_offset`/`stamp`, and the restart condition on content change. An agent can call this correctly and recover from `context_changed` without further information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline of 3 is already earned, but the description adds ID-namespace meaning the schema does not: `manifest_schema:<member>`, `manifest_schema:services:<kind>`, and `skill:<prefixed name>` entries that may be absent from the catalog. It reinforces the offset/stamp pairing and the limit-omission rule for catalog reads. Only the per-parameter `limit`/`offset` interplay is left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names both modes precisely: listing readable context IDs, or reading a single entry by `id`. It then enumerates what the catalog contains (contracts, guides, tzCloud skills, per-product skills entries, documentation trees), so an agent knows exactly what resource this reads. The dual-form structure plus the `manifest_schema:` and `skill:` ID hints distinguish it from the plain account/balance/documentation readers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear conditional guidance: omit `id` for the catalog, supply `id` for a text chunk, omit `limit` on catalog reads, and read long texts one chunk at a time at the default limit because hosts may cut batched results. It also explains the offset/stamp continuation loop and when to restart at zero. It does not route to a sibling such as search_documentation or read_documentation when the agent wants discovery rather than known-ID retrieval, which is the remaining gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources