Skip to main content
Glama

cancel_export

DestructiveIdempotent

Stop an export that's still rendering. Credits already used stay spent.

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": {
      "export_id": "<export_id>"
    },
    "name": "cancel_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
export_idYesThe export, from create_export.

Output Schema

NameRequiredDescriptionDefault
idYes`exp_…`.
errorYesWhy it failed.
usageYesOnce it has succeeded, its video segments (an `m4a`'s audio segments) and how many of them it rendered; the rest were reused from earlier renders (playback, or an identical export) and cost nothing.
statusYes`queued`, `running`, `succeeded` or `failed`.
versionYesThe document version it exports.
file_nameYesThe file name it downloads as.
created_atYesRFC 3339.
updated_atYesRFC 3339: when its status last changed.
document_idYesThe document it exports.
download_urlYesOnce it has succeeded, where to download it (ranges work); it expires in about a day.

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 destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. Beyond that, the description adds a genuinely non-obvious consequence — 'Credits already used stay spent' — which tells the agent cancelling is not a refund and is irreversible in a cost sense. What is missing is the state precondition outcome (e.g. error if already finished), but the added economic behavior is valuable context above the annotations.

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, zero filler, with the operation and its cost consequence front-loaded. Every clause earns its place and nothing needs trimming.

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?

An output schema exists, so return values need not be explained, and annotations carry the mutation safety profile. The description covers what is stopped and the credit consequence, leaving only the edge-case behavior for already-completed exports unstated — a minor gap for a one-parameter mutation tool.

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?

There is a single required parameter with 100% schema coverage, and the schema already tells the agent the export_id comes from create_export. The description adds no format, example, or validation detail beyond that, so the baseline of 3 for a fully-documented schema is appropriate.

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+resource ('Stop an export') and adds a scope qualifier ('that's still rendering') that separates it from create_export and get_export. It does not explicitly name a sibling alternative, so it falls short of full differentiation, but the operation is unmistakable.

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

Usage Guidelines3/5

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

The phrase 'still rendering' implies a precondition for use, which is real guidance, but the description never says what happens or what to call if the export has already completed or failed, and it names no alternative tool. Usage is implied rather than stated.

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