Skip to main content
Glama

Generation status

get_generation
Read-only

Status and result of a generation. Set wait_seconds to wait for it to finish.

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": {
      "generation_id": "<generation_id>"
    },
    "name": "get_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
wait_secondsNoHow many seconds to wait for the result (0–55).
generation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds one genuinely new behavioral trait: the call can block for up to wait_seconds while waiting for completion. However, it does not disclose what happens if the generation is still incomplete after the wait expires (partial result, error, or status field) nor what status values are possible.

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?

Two short sentences, no filler, with the core purpose front-loaded and the wait behavior as a follow-up. Efficient, though the noun-phrase opener 'Status and result of a generation' could be tightened into an explicit verb.

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

Completeness2/5

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

With no output schema, the description carries the burden of explaining the return value, and 'status and result' is too vague for a polling tool — an agent cannot tell what status values exist or what a pending response looks like versus a completed one. For a two-parameter async-job tool this leaves meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% — wait_seconds is fully documented in the schema (range 0–55, default 0), so the description's mention of it is largely redundant. The undocumented parameter, generation_id, gets no help at all: no format, no statement of where the ID comes from (presumably generate or list_generations). The description fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific resource and what it returns: 'Status and result of a generation,' keyed by generation_id. This is clearly distinguishable from the sibling 'generate' (which evidently creates a generation) and 'list_generations' (which enumerates them), though the description never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the presence of wait_seconds signals this is a poll-after-generate tool, but the description never says 'call this after generate' or when to prefer list_generations instead. The single actionable hint — set wait_seconds to block until finished — is useful but not a full when/when-not statement.

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.