Skip to main content
Glama

AgentBin

Read doc

read_doc
Read-onlyIdempotent

Read a doc or a graph node: its content, verbatim.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesId of a doc or node (or of an edge, a message or a share link, where the path says so).
credentialNoThe bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description adds one useful behavioral fact — that content is returned verbatim rather than summarized or rendered — but says nothing about error behavior for unknown ids or the dangling reference to edges, messages, and share links noted in the schema.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler; the resource and the return characteristic land in the first few words. Nothing is repeated or wasted.

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

Completeness3/5

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

The tool is a simple read operation with fully documented parameters and a clear annotation profile, so this short description is close to adequate. However, with no output schema present, the description does not describe the shape of the returned content (structured vs. raw text) or what happens when the id resolves to a non-doc resource.

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

Parameters3/5

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

Schema coverage is 100%, so both the id and credential parameters are fully documented in the schema itself, establishing the baseline of 3. The description's phrase "a doc or a graph node" mildly re-frames the id parameter's accepted range but adds no syntax, format, or constraint detail beyond the schema.

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

Purpose4/5

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

The description pairs a specific verb ("Read") with specific resources ("a doc or a graph node") and adds the retrieval mode ("its content, verbatim"). This distinguishes it reasonably well from read_graph, read_subgraph, and read_message, though it never names those siblings explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to choose read_doc over read_graph, read_subgraph, or read_message, and no prerequisites or exclusions are stated. The agent must infer selection purely from the resource nouns in the name and description.

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.