Skip to main content
Glama

Check a generation

get_generation
Read-onlyIdempotent

Look up a VoiceLabs generation by id to poll its status. Returns status (generating | completed | failed) and, once completed, the audio URL; a failed one carries a short human-readable error and a failureKind. While VoiceLabs is restarting its voice engine (a deploy takes about 40 seconds) it answers generating with retryAfterSeconds: wait that long and poll again, the generation is not lost. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
generationIdYesThe id returned by the speak tool.

Output Schema

NameRequiredDescriptionDefault
errorYes
statusYes
profileYes
audioUrlYes
failureKindYes
generationIdYes
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / retryAfterSeconds
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  2. Changed4 schema fields changed
    • removedOutput schema / properties / audioUrl / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / audioUrl / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / error / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / error / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world, yet the description still adds substantive behavior: the three status values returned, the audio URL on completion, the error plus failureKind on failure, and the retryAfterSeconds semantics during a ~40s engine restart with the reassurance that the generation is not lost. This is exactly the kind of transient-state and outcome context annotations cannot express.

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?

The purpose is front-loaded and every clause about status values, retryAfterSeconds, and error shape carries real information. The trailing "Read-only." merely repeats readOnlyHint=true, a small redundancy in an otherwise dense and well-ordered description.

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 polling tool with a full output schema and complete annotations, the description covers call mechanics, expected outcomes, and the deploy/retry edge case. Nothing an agent needs to poll correctly is missing.

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?

There is one parameter at 100% schema description coverage, where the schema already explains that generationId is the id returned by the speak tool. The description adds only "by id" on top of that, so the baseline of 3 applies with no material gain.

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?

"Look up a VoiceLabs generation by id to poll its status" gives a specific verb, resource, and intent, and the polling framing separates it from the write-side sibling (speak) that produces the id. An agent can tell this is the read/check counterpart without opening the 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 the operational context clearly (poll after a generation, wait retryAfterSeconds during an engine deploy, then poll again) and the schema ties the id back to the speak tool. It stops short of explicit exclusions or naming an alternative for non-polling cases, so it is clear but not fully routing.

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