Skip to main content
Glama

Forbidden peach

Cancel a video

cancel_video
DestructiveIdempotent

Stop one of your videos that is still generating. A cancelled video never resumes 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": "cancel_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy, for the history.
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 destructive=true, idempotent=true and openWorld=true, so the bar is lower, and the description still adds two things not in annotations: cancellation is irreversible ('never resumes') and the action requires a solved proof-of-work obtained via get_pow_challenge. It omits what happens to already-processed output or what the response contains.

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?

Two sentences are tight and front-load the core behavior, but the third sentence is a run-on that merges two unrelated statements ('A cancelled video never resumes Needs a proof of work...') with a missing period, hurting scanability. The PoW instructions are useful, but the packaging is sloppy.

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 destructive mutation with no output schema, the description covers the irreversibility, the required proof-of-work prerequisite, and points at get_pow_challenge as the first step. Only return-value expectations and error behavior are left unaddressed, which is acceptable given the annotations.

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%, including the meaning of pow_token, pow_solution and the access_token header alternative, so the schema carries the parameter burden. The description only repeats the PoW sequence at a high level, adding no parameter meaning beyond what is already documented.

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?

States a specific verb and resource ('Stop one of your videos') plus a state precondition ('still generating'), which implicitly separates it from delete_video. It does not name a sibling or explicitly contrast with deleting a finished video, so it falls 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?

The 'still generating' qualifier tells the agent when this applies and implicitly rules out completed videos. It never names an alternative tool (e.g., delete_video) for the finished-video case, so routing is left partly to inference.

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