Skip to main content
Glama

result_read

Read a stored tool call or batch result by byte range or select pointer to retrieve JSON output from long-running calls. Use a valid ref and UTF-8 boundary offsets.

Instructions

Read a stored result from tool_call or batch: a byte range of its JSON text from offset, or the part a select pointer names. Offsets must be UTF-8 character boundaries. Refs expire after idle time.

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": {
      "ref": "<ref>"
    },
    "name": "result_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
lengthNo
offsetNo
selectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two real traits: offsets must land on UTF-8 character boundaries and refs expire after idle time. It omits error behavior on expiry, whether reads are side-effect free (only implied by 'Read'), and what is returned for a select pointer versus a range, leaving meaningful gaps.

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?

Two tight sentences, front-loaded with the action and resource, then the two access modes, then the constraints. No redundant or filler wording; every clause carries information.

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?

For a 4-parameter tool with zero schema coverage, no annotations, and no output schema, the description covers the core model (ref, byte range, select, expiry) but leaves default values, error behavior, and return shape unexplained. It is adequate to attempt a call but not to anticipate failures.

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 0%, so the description must compensate and it partially does: offset and the byte-range/length pairing, select as a pointer into the JSON, and ref as an expiring handle. It still does not state length units or defaults, ref format, or select pointer syntax, so half the semantics remain undocumented.

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 gives a specific verb and resource ('Read a stored result from tool_call or batch') and names the producing tools, so the agent can tell it is a retrieval companion to tool_call/batch rather than one of the session or search siblings. It stops short of explicitly contrasting with the other read-style tools, but the origin is unambiguous.

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

Usage Guidelines3/5

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

It implies usage through the two access modes ('a byte range ... from offset, or the part a select pointer names'), which helps choose between offset/length and select. However, there is no explicit when-to-use or when-not guidance, no statement that results must first be produced by tool_call/batch, and no guidance on handling an expired ref.

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