Skip to main content
Glama

Read retained result

data_get_result
Read-onlyIdempotent

Reads the retained result of one request. Omit format to return HTML plus structured data and extraction metadata when available; HTML is null if none was retained. Specify html, text, markdown, or data to return only the selected content field plus id, format, result_meta, and expires_at. Use markdown for agent-readable page content: it is deterministically converted from stored HTML without an LLM (non-empty main region, else a single article, else cleaned body) and limited to 2 MiB of UTF-8. result_meta.markdown reports output and source truncation; source_truncated may be null for legacy stored metadata. The data format exists only for extraction requests. In MCP, data_get_result returns metadata and previews of up to 4 KiB per returned content field, with resource links; omission returns HTML plus available data previews. Use data_read_result_content with an explicit format to read the full selected content in 16 KiB chunks by default, up to 64 KiB. Requires scope 'requests:read'. Returns {ok,status,data,meta}; API failures return {ok:false,status,error}.

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": "data_get_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUUID of the target request or batch, as returned in the id field when it was created or listed.
formatNoOptional result format: html, text, markdown, or data. Omit for HTML plus structured data when available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"UUID of the target request or batch, as returned in the id field when it was created or listed."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the 4 KiB preview cap with resource links, the 2 MiB UTF-8 markdown ceiling, truncation reporting via `result_meta.markdown`, nullable `source_truncated` for legacy metadata, the required 'requests:read' scope, and the failure envelope {ok:false,status,error}. Nothing here contradicts the annotations.

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

Conciseness3/5

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

It is front-loaded correctly, starting with purpose and format branching before edge cases, and most sentences carry real information. However, it is a dense block with duplication — the omission behavior is stated twice ('Omit `format` to return HTML plus structured `data`...' and 'omission returns HTML plus available data previews') — and the markdown truncation details could be compressed.

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?

With no output schema, the description supplies the return shape ({ok,status,data,meta}) and error shape, plus per-format field composition and size limits. Given a 2-parameter tool with a genuine preview-vs-full-content fork, an agent has everything needed to call it correctly and interpret the result.

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 the baseline is 3, but the description genuinely adds meaning: it explains the consequence of omitting `format` versus supplying one, what fields accompany a selected format (`id`, `format`, `result_meta`, `expires_at`), and the non-obvious constraint that `data` exists only for extraction requests. The markdown conversion algorithm (non-empty main region, else a single article, else cleaned body) further characterizes the value in a way the enum cannot.

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 a specific verb and resource ('Reads the retained result of one request') and the body scopes it as a metadata/preview read, which cleanly separates it from data_get_request (request state) and data_read_result_content (full content). An agent can tell what this returns without opening the schema.

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

Usage Guidelines5/5

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

It gives explicit branching: omit `format` for HTML plus structured data, specify a format to narrow the payload, and use `markdown` for agent-readable page content. It also names the alternative tool and the exact condition that selects it — 'Use `data_read_result_content` with an explicit format to read the full selected content in 16 KiB chunks by default, up to 64 KiB' — which is precisely the routing decision an agent needs.

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