Skip to main content
Glama

Forbidden peach

Retry a failed video

retry_video

Resume one of your failed videos from the stage that failed Needs a proof of work for the action event: call get_pow_challenge first, solve it by running code, and pass pow_token and pow_solution.

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_id": "<video_id>",
      "access_token": "<access_token>",
      "pow_token": "<pow_token>",
      "pow_solution": "<pow_solution>"
    },
    "name": "retry_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYesThe video's id (UUID).
pow_tokenYesThe `token` from get_pow_challenge for this tool's action. Single use. Fetch a fresh challenge for every attempt.
access_tokenYesBearer token from create_guest_account, register_account, or sign_in. Not needed when your MCP client already sends it as an Authorization header.
pow_solutionYesThe secret you found: the hex string whose SHA-1 is the challenge `hash`. You must solve it yourself by running code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so safety is covered; the description adds real behavioral context by disclosing the two-step proof-of-work gate that must precede the call. It still doesn't say what happens to partial output on a second retry or whether retries are metered, which matters given idempotentHint=false.

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 front-loads the purpose, but the two sentences run together without punctuation ('...the stage that failed Needs a proof of work...'), which momentarily reads as a single garbled clause and slows comprehension.

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 four-parameter mutation with no output schema, the definition covers purpose, the required prerequisite chain, and the credential-bearing parameters. The remaining gap is the post-retry outcome, but with annotations and full schema coverage the agent has enough to call it correctly.

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 all four parameters are already documented in detail, including the single-use nature of pow_token. The description only restates that pow_token and pow_solution must be passed and that the solution must be computed by running code, adding little beyond the schema.

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 uses a specific verb and resource ('Resume one of your failed videos') and narrows scope to 'the stage that failed', which distinguishes it from create_video and get_video_progress. It does not explicitly name a sibling it is not, so it stops short of a 5.

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 a clear precondition (the video must be failed) and an explicit ordered workflow: call get_pow_challenge first, solve it in code, then pass the token and solution. It omits any when-not guidance, such as preferring create_video when the video is unrecoverable.

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