Skip to main content
Glama

result_detail

Reads a specific line range or searches text within a shortened long tool result by result id, so you can inspect logs or output without rerunning the command.

Instructions

Read part of a long tool result that tokensave-mcp-diet shortened (script output, logs, dumps). Pass id from the note (e.g. r1), and lines (e.g. "200-260") or query (text to find). Prefer this over running the command again.

Input Schema

NameRequiredDescriptionDefault
idYesResult id from the note, e.g. r1
linesNoLine range like 200-260
queryNoText to find (case-insensitive); returns matching lines with their numbers
max_charsNoMaximum characters to return (default 4000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

No annotations exist, so the description carries the burden. It does disclose the source of the ids and that query returns matching lines with numbers, but it says nothing about error behavior for invalid/expired ids or what happens when lines fall out of range — meaningful gaps for a retrieval tool.

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?

Three short sentences, front-loaded with the action and followed by the mechanic and the routing preference. Nothing is redundant or padded.

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 simple four-parameter retrieval tool with no output schema and full schema coverage, the core workflow (get id from note, request lines or query) is fully described. Only failure/edge-case behavior is absent, which is a minor gap given the tool's simplicity.

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 description coverage is already 100%, and the description merely restates the same examples (id r1, lines 200-260, query as text to find). No additional syntax, precedence, or interaction rules (e.g. lines vs query together) are added beyond the schema.

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 description uses a specific verb (Read) plus resource (part of a long tool result shortened by tokensave-mcp-diet) and enumerates the content types it covers (script output, logs, dumps). An agent can immediately tell this is a retrieval-by-id paging tool, not a re-execution tool.

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?

It explicitly tells the agent to take the `id` from the note and states the preferred alternative: 'Prefer this over running the command again.' That is a real when-to-use rule. It stops short of naming a sibling tool as the fallback, so it is not a full 5.

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