Skip to main content
Glama

cancel_render

Cancel the in-flight final-movie render for this movie. Marks any render_jobs row currently in pending / downloading / normalizing / rendering / uploading as cancelled and sets movies.render_status = "cancelled". Use when the user asks to stop / abort / kill the export. Distinct from cancel_job — that one targets agent_jobs (script/cast/storyboard/shot/video work); this one targets the Railway render pipeline.

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": {
      "movieId": "<movieId>"
    },
    "name": "cancel_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it names the affected rows (render_jobs in pending/downloading/normalizing/rendering/uploading), the resulting state (cancelled) and the column it writes (movies.render_status). It does not cover permissions, whether a cancelled render can be resumed, or what happens to partially produced artifacts, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, action stated first, then side effects, then routing guidance — well front-loaded with no filler. The state-name list is dense but each term is load-bearing rather than decorative.

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 one-parameter mutation with no annotations and no output schema, the description supplies the essential behavioral picture: what is targeted, what states are matched, what is written. The only real gap is the response/return behavior and post-cancellation state, which the agent might still wonder about.

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 coverage is 100% and the single movieId parameter is already documented with its provenance (create_movie / list_movies). The description adds only scope phrasing ('for this movie') and no format or edge-case semantics, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb (cancel) plus precise resource (the in-flight final-movie render) and the exact state transitions it performs. It also explicitly contrasts itself with the sibling cancel_job, so an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use trigger ('user asks to stop / abort / kill the export') and an explicit when-not-to / alternative ('Distinct from cancel_job — that one targets agent_jobs ... this one targets the Railway render pipeline'). Nothing is left to inference about which cancel tool to pick.

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