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.

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": {
      "response_id": "<response_id>"
    },
    "name": "get-response-tool"
  }
}

Input 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.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds genuinely new behavioral content: that `include` expands parent chains and that related entities are not embedded in the payload and live behind separate endpoints. Missing only failure behavior (e.g., not-found handling).

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, the core action first, then the optional-argument behavior, then the exclusion note. No filler or repetition of annotations.

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

Completeness3/5

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

There is no output schema, so the description carries the burden of describing the returned object; it says what is absent (brand mentions, citations) but never what fields a response actually contains. That is a meaningful gap for a single-resource fetch tool, though the id/include semantics and routing hints keep it serviceable.

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 coverage is 100%, so both parameters are already documented, including the full whitelist for `include`. The description adds one useful semantic gloss ('load parent chains') and confirms the id is numeric, but mostly restates the schema; 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?

A specific verb and resource ('Fetch a single AI response') plus the identifier type ('numeric id'). It also explicitly names what this tool does NOT return and routes to the corresponding sibling endpoints, so an agent can place it among the get-* siblings without opening schemas.

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 a concrete condition for the optional `include` argument ('load parent chains') and an explicit routing rule: brand mentions and citations must be queried via /v1/brand-mentions and /v1/citations. It stops short of a general when-to-use statement or any paging/error guidance, so a 4 rather than a 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.

Resources