Skip to main content
Glama

Reserve an Explainer Studio run

reserve_studio_run
Destructive

The deposit sandbox_exec draws on, the unused part refunded. Flow: get_recipe explainer-studio. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules). idempotency_key: IDEMPOTENCY (this server's instructions).

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": {
      "video_seconds": "<video_seconds>",
      "episodes": "<episodes>"
    },
    "name": "reserve_studio_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
episodesYesHow many parts; the same rule as `video_seconds`.
run_ticketNoA composed message's `slot_values.run_ticket`.
estimate_onlyNoPrice only; creates nothing.
video_secondsYesOne part's length. REQUIRED: if the user gave none, put your pick and its price in the priced ask; never one chosen to save tokens, never carried over.
idempotency_keyNoRetry key (IDEMPOTENCY).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / episodes / description
      Previous value: -"How many episodes; the same rule as `video_seconds`."New value: +"How many parts; the same rule as `video_seconds`."
    • changedInput schema / properties / video_seconds / description
      Previous value: -"One episode's length. REQUIRED: if the user gave none, put your pick and its price in the priced ask; never one chosen to save tokens, never carried over."New value: +"One part's length. REQUIRED: if the user gave none, put your pick and its price in the priced ask; never one chosen to save tokens, never carried over."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-readOnly, and the description adds genuinely useful behavior beyond them: this spends tokens, requires an explicit user go-ahead naming the purchase, and refunds the unused deposit. It omits what a reservation guarantees, how long it holds, and what happens if the run is never executed. Minor tension only: an `idempotency_key` retry path is described while idempotentHint is false, though key-based retry is not strictly the same claim.

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?

It is short and every clause is load-bearing, but the telegraphic backtick-heavy style and sentence fragments ('The deposit `sandbox_exec` draws on, the unused part refunded') push decoding cost onto the agent. The spending-safety requirement, which is the most important instruction, is not front-loaded.

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?

For a destructive, token-spending reservation tool with 5 parameters and no output schema, the description covers pricing, approval and refund mechanics but leaves the agent without the outcome: whether a run ticket or run id is returned, how a reservation is later consumed or released, and whether it expires. Those gaps matter for a purchase-like action.

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 the schema already defines `estimate_only`, `run_ticket`, `idempotency_key` and the `video_seconds` bounds, making 3 the baseline. The description adds value mainly by tying `estimate_only` into the price-then-approve workflow, but it repeats the schema on idempotency and says nothing extra about `episodes` or `run_ticket` construction.

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 name and title carry the verb+resource ('Reserve an Explainer Studio run'), and the description reinforces it by describing the token deposit that `sandbox_exec` later draws on, with the unused portion refunded. The first sentence is a fragment that never states the action directly, so the agent must assemble purpose from title plus deposit mechanics, but the intent (hold paid capacity before a studio generation) is recoverable.

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 gives an explicit procedural path: price with `estimate_only: true`, quote the price in the same message as the ask, wait for a go naming THIS purchase, and consult `get_recipe` `spending-rules`. That is strong when-to-use and precondition guidance. It stops short of naming when NOT to use it or pointing to a sibling such as `get_studio_run` for checking an existing reservation.

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.