Skip to main content
Glama

get_generation_by_name

Read-onlyIdempotent

Retrieves a generation by its user-assigned name and returns it in the same format as a task result.

Instructions

Retrieve a generation by its user-assigned name. Returns the same format as get_task_result.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe name assigned to the generation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, and closed-world behavior, so the bar is lower. The description adds a genuinely useful behavioral fact beyond them: the return payload has the same shape as get_task_result. It does not say what happens when the name is unknown.

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?

Two short sentences, no filler, with the core action front-loaded and the output-shape note second. Nothing could be cut without losing information.

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

Completeness5/5

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

For a single-parameter read tool with no output schema and full annotation coverage, this is sufficient: the description supplies the lookup key, the equivalent output format, and the safety profile is already declared. Only the not-found case is unaddressed, a minor gap.

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?

Only one parameter and the schema already documents it at 100% coverage, so baseline 3 applies. The phrase 'user-assigned name' adds a slight nuance over the schema's 'name assigned to the generation' but no format, casing, or uniqueness semantics.

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 a specific verb (Retrieve) and resource (a generation) plus the lookup key (user-assigned name), which distinguishes it from get_task_result's ID-based lookup. It stops short of explicitly contrasting the two, but the name-based selector is clear.

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 agent infers it should call this when it holds a name rather than an ID. There is no explicit when-to-use, no fallback guidance for a missing generation, and no stated alternative for name-based lookups.

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