Skip to main content
Glama

Result Get

result_get
Read-onlyIdempotent

Read a saved result by result_id and pull only what you need. A result is saved when you call a data tool with _handle:true (needs an account and a retention setting, see result_settings). fields: dot paths to keep ("name", "address.city"). rows: how many rows (25), a range ("10-34"), or {"offset":0,"limit":25}. filter: keep rows matching every condition, e.g. {"state":"CA","amount":{"gt":1000}} (operators: eq, ne, gt, gte, lt, lte, contains, in, exists, startswith). With no arguments you get the whole result if it is small, otherwise its shape. Replies are capped by max_chars (default 60000) and say next_offset when there is more.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rows": "0-24",
      "fields": [
        "name"
      ],
      "filter": {
        "state": "CA"
      },
      "result_id": "rf_abcdefghijklmnopqrst"
    },
    "name": "result_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoRow count (25), range ("10-34"), or {"offset":0,"limit":25}. Applies to the array of rows in the result.
fieldsNoDot paths to keep. With rows/filter they project each row; otherwise they project the result itself.
filterNoConditions on row fields, all must match. Value = equality; or {"gt":1000}, {"contains":"acme"}, {"in":["CA","NY"]}, {"exists":true}.
max_charsNoCap on the reply size, default 60000, max 400000.
result_idYesThe result_id a handle-mode call returned (r?_ followed by 20 characters).
rows_pathNoDot path to the array of rows when the result has several (the summary names the one detected).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description meaningfully adds context: reply-size capping via max_chars (default 60000), the next_offset continuation signal, and degraded default behavior (shape-only for large results). It also discloses the account/retention prerequisite, which no annotation conveys.

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 core action and the retrieval semantics, and every sentence carries information. The middle section is dense with stacked parentheticals and inline examples, which is efficient but slightly hard to scan for a long parameter list.

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

Completeness4/5

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

For a 6-parameter read tool with no output schema, the description covers retrieval, projection, filtering, truncation, and pagination continuation. The main gap is error behavior: it does not say what happens when result_id is unknown, expired, or blocked by retention, which matters for a handle-based retrieval tool.

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 baseline is 3, but the description adds real meaning: the full filter operator set (eq, ne, gt, gte, lt, lte, contains, in, exists, startswith) is only partially present in the schema, and it explains how fields interacts with rows/filter (project each row vs. project the result). It does not clarify rows_path beyond what the schema states.

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?

Opens with a precise verb+resource: 'Read a saved result by result_id', then names the projection capability. It also explains the provenance of a result (created by a data tool called with _handle:true). It does not distinguish itself from result_list or result_delete, so the sibling differentiation is only partial (it references result_settings for retention, but that is a pointer, not a boundary).

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?

Gives clear conditions: use when you have a result_id from a handle-mode call, and notes prerequisites (account plus a retention setting, with a pointer to result_settings). The 'With no arguments you get the whole result if it is small, otherwise its shape' line tells the agent the default behavior. No explicit when-not-to-use or comparison against result_list, which keeps it below 5.

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.