Skip to main content
Glama

Blitframe

Cancel many renders

cancel_renders
DestructiveIdempotent

Cancel up to 1,000 queued or running renders, refunding them like cancel_render for each. Returns each render as it is now, without frame links or replacements: a queued one cancelled, a running one still rendering with cancelRequested true, a finished one unchanged; ids that are not this workspace's renders come back in notFound.

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": {
      "renderIds": "<renderIds>"
    },
    "name": "cancel_renders"
  }
}

Input Schema

NameRequiredDescriptionDefault
renderIdsYesRender ids, from render or list_renders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (destructive, idempotent, not read-only) by spelling out per-status outcomes: queued becomes cancelled, running stays rendering with cancelRequested true, finished is unchanged, and foreign ids land in notFound. It also discloses the response omits frame links and replacements, which is exactly the partial-success behavior an agent needs before bulk-cancelling.

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?

Two sentences, front-loaded with the operation and cap before the outcome details; nothing is padding. The second sentence is dense and run-on with four semicolon-joined clauses, which slightly taxes scanning but each clause carries required information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must carry return semantics—and it does, enumerating each status outcome and the notFound channel. For a single-parameter destructive bulk operation, everything needed to invoke and interpret results is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter with full schema coverage (including its 'from render or list_renders' provenance), so the schema carries most of the load. The description still adds meaningful constraints—the 1,000 cap and the notion that ids outside the workspace are tolerated rather than erroring—which clarifies the id semantics beyond the schema.

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?

Names a specific verb and resource with explicit scope: 'Cancel up to 1,000 queued or running renders.' It also distinguishes itself from the singular sibling by noting refunds happen 'like cancel_render for each,' so an agent can separate batch from single-cancel without inspecting schemas.

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 batching scope plus the reference to cancel_render makes the intended context clear: many ids at once, same refund semantics as the single-render tool. It stops short of explicit routing language (e.g., 'use cancel_render for a single id') or stating when not to use it, so it is clear but not exhaustive.

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