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.

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": {
      "result_id": "<result_id>"
    },
    "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. Changed1 schema field changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "fields": [
      -      "name"
      -    ],
      -    "filter": {
      -      "state": "CA"
      -    },
      -    "result_id": "rf_abcdefghijklmnopqrst",
      -    "rows": "0-24"
      -  }
      -]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the no-argument fallback returns the whole result if small or just its shape if large, replies are capped by max_chars (default 60000, max 400000), and truncation is signalled via next_offset. It also discloses the account/retention precondition for results existing at all, which annotations cannot convey.

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-loads purpose, then prerequisites, then per-parameter semantics — a sensible order with no filler sentences. The telegraphic fragment style ("fields: dot paths to keep") is efficient but slightly dense; nothing is wasted, though nothing is gracefully framed either.

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?

With no output schema and six parameters including a nested filter object, the description carries return-shape burden well by describing the small-result vs. shape-summary fallback and the next_offset continuation signal. It leaves the exact structure of a "shape" reply and the detection behavior for rows_path to the schema, which is a minor but real gap.

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 vocabulary: the complete operator set (eq, ne, gt, gte, lt, lte, contains, in, exists, startswith) where the schema only shows illustrative examples, and a worked filter example mixing two conditions. It also clarifies rows forms (count, range, offset/limit) with examples that mirror the schema rather than adding to it.

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?

States a specific verb and resource ("Read a saved result by result_id") plus the tool's real value proposition: selective projection via fields/rows/filter. It also explains where a result_id comes from (_handle:true on a data tool), which makes the resource unambiguous without opening a schema.

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 context for when this tool applies (you have a result_id from a handle-mode call) and routes prerequisites to result_settings for account/retention requirements. It does not explicitly say where to get a result_id when you don't have one (result_list) or how this differs from result_delete/result_settings, so the alternative-routing is only partial.

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.