Skip to main content
Glama

Approve generation

approve_generation

Card only: start a video the user approved in its Review card. The model cannot call this.

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": {
      "request_id": "<request_id>",
      "expected_version": "<expected_version>"
    },
    "name": "approve_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoThe prompt as edited in the card.
settingsNoResolution, duration, aspect ratio and audio as chosen.
request_idYesReview request ID.
expected_versionYesThe version shown to the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare a non-read-only, open-world, non-idempotent mutation; the description's added value is the card-only, human-approval gating, which is genuinely useful context. It stops short of saying what starting the video does (credit consumption, job creation, behavior on expected_version mismatch), so the post-call consequences remain undocumented.

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 with the caller restriction front-loaded and nothing wasted. Every clause carries a distinct constraint.

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

Completeness4/5

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

For a 4-parameter tool with full schema coverage, annotations, and no output schema, the description covers what an agent most needs: that this is a user-driven, card-originated action the model must not invoke. Only the side effects of starting the generation are absent.

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 description coverage is 100%, so request_id and expected_version are already documented in the schema. The description adds no format or semantics beyond that, and the concurrency purpose of expected_version ('version shown to the user') is only conveyed by the schema itself.

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 a specific verb and outcome ('start a video the user approved') and scopes it to a triggering surface ('in its Review card'), which separates it from the general generation siblings such as generate_video. It is clear without needing the schema, though it never names an alternative explicitly.

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?

'Card only' and 'The model cannot call this' give an explicit exclusion that most tools never bother to state. There is no positive routing advice beyond the card context, but for this tool the negative guidance is the operative one.

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.