Skip to main content
Glama

Get Response Tool

get-response-tool
Read-onlyIdempotent

Fetch a single AI response by its numeric id. Optionally pass include to load parent chains. Brand mentions and citations are not embedded; query /v1/brand-mentions and /v1/citations separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNoOptional comma-separated related resources to include in the response. Whitelisted: `prompt`, `prompt.monitor`, `prompt.monitor.project`, `prompt.monitor.project.organization`, `monitor`, `monitor.project`, `monitor.project.organization`, `project`, `project.organization`.
response_idYesThe numeric id of the response to fetch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds genuinely useful behavior: `include` pulls parent chains, and brand mentions/citations are deliberately absent from the payload, which is exactly the kind of omission an agent would otherwise discover by failure.

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, zero filler, and the core fetch semantics are front-loaded before the two caveats. Every sentence carries information the agent needs.

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?

No output schema exists, so the description carries some of the return-shape burden, and it does address that partially by disclosing what is not embedded. It stops short of describing the response envelope or pagination, but for a two-parameter single-fetch tool with full schema coverage this is nearly complete.

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 description coverage is 100%, so the baseline is 3. The description goes slightly beyond the schema's enumeration by characterizing `include` as loading 'parent chains' — explaining the intent of the whitelisted traversal rather than just listing resource names.

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?

Specific verb (fetch) plus resource (a single AI response) and a stated key (numeric id). It is clearly the singular counterpart to the sibling list-responses-tool, so the agent can distinguish them 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?

It states when to use `include` (to load parent chains) and explicitly routes brand mentions and citations to `/v1/brand-mentions` and `/v1/citations` rather than this tool. That is real routing guidance, though it never states the condition for choosing this tool over list-responses-tool.

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