Skip to main content
Glama

get_run

Read-only

When to use: after start_video, the user asks whether the video is ready. Pure query with no side effect on business state (only rate-limit bookkeeping may be recorded); generation takes a few minutes, so wait for retryAfterSeconds before asking again. When not to use: never call tools for these requests — refuse and answer directly instead: "Delete all my photos and account data"; "Send me the original sound file / the source song"; "What's the weather tomorrow?".

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": {
      "clientToken": "<clientToken>",
      "runId": "<runId>"
    },
    "name": "get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYes
clientTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false, openWorldHint false), yet the description still adds real context: that only rate-limit bookkeeping may be recorded, that generation takes a few minutes, and that the caller should back off by retryAfterSeconds. retryAfterSeconds appears nowhere in the schema or an output schema, so this is genuinely new behavioral information. It stops short of describing what the run document contains or what terminal states look like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The "When to use / When not to use" labels front-load the guidance effectively. However, roughly a third of the text is a list of three unrelated sample user requests (delete my data, send the original sound file, weather), which reads as scope boilerplate rather than tool-selection guidance and dilutes the signal.

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?

The description conveys the polling loop and its timing, which is the core of a job-status tool, but with no output schema it should indicate what a run response looks like (status field, terminal states, failure signaling). Combined with 0% parameter coverage, an agent knows when to call but not what it gets back or what to pass.

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 description coverage is 0%, and neither required parameter (runId, clientToken) is explained in the description. The description names retryAfterSeconds, which is not an input at all, so the heavy lifting needed to compensate for the empty schema is absent.

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?

The description states the resource and intent implicitly through "after start_video, the user asks whether the video is ready" and "Pure query," which lets an agent tell it apart from start_video, get_template, and list_templates. It never says plainly "retrieves the status of a generation run" and never mentions runId, so the verb+resource pairing is inferred rather than stated.

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

Usage Guidelines5/5

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

Explicit when-to-use (after start_video, when the user asks whether the video is ready), explicit waiting guidance (wait for retryAfterSeconds before asking again), and a when-not-to-use section. The exclusions are the only weak spot: instead of naming a competing sibling tool to call instead, they list out-of-scope user requests that should be refused.

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