Skip to main content
Glama

llm_request_result

Read-onlyIdempotent

Retrieve any persisted CLI request result by correlation ID to inspect the full prompt and response, optionally including the complete job record for local debugging.

Instructions

Read back any persisted request (sync or async) from the flight recorder by correlationId, including prompt and response. Local callers can also include the linked complete job record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxCharsNoMax chars of the persisted response to return
correlationIdYesCorrelation id from a prior request's structuredContent.correlationId (sync or async)
includePromptNoInclude the full persisted prompt text in the result
includeJobRecordNoInclude the linked raw provider capture and replay context when called over local stdio. Remote callers receive no transcript or host paths.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv3.2.0
  2. Removedv3.0.0
  3. First observedv2.16.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description adds useful context about the flight-recorder source, sync/async coverage, and the local-only job-record behavior. However, claiming the read-back includes 'prompt and response' is ambiguous or potentially misleading because includePrompt defaults to false, and maxChars truncation is not mentioned.

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?

The description is a single sentence that front-loads the action, identifies the lookup key, mentions scope (sync/async), and includes the key local/remote caveat. There is no filler, tautology, or redundant restatement of schema fields.

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 read-only tool with strong annotations and a fully described input schema, the description gives enough context to invoke it correctly: source, correlationId lookup, sync/async coverage, and the local-only job-record option. The lack of an output schema makes the ambiguous 'including prompt and response' wording more noticeable, but overall the core contract is clear.

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 100% and each parameter already has a meaningful, self-contained description. The tool description adds high-level context but does not materially deepen the semantics of correlationId, maxChars, includePrompt, or includeJobRecord beyond the schema, so baseline 3 applies.

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 back') and a concrete resource ('persisted request ... from the flight recorder by correlationId'). It clearly covers sync/async requests, prompt/response content, and the local-only job-record option, which separates it from list/status tools like llm_request_list or llm_job_result.

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?

The description clearly frames the tool as a by-correlationId lookup for persisted flight-recorder requests, and it notes the local vs remote caller distinction. It does not explicitly name alternatives or state when not to use it, so it stops short of full routing guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/verivus-oss/llm-cli-gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server