Skip to main content
Glama

Sigmora

Cancel a variation batch

variations_cancel
DestructiveIdempotent

Cancel a variation batch: nothing new starts and every unstarted variant is refunded once; running renders finish. Free; repeating it changes nothing.

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": {
      "projectId": "<projectId>",
      "batchId": "<batchId>"
    },
    "name": "variations_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
batchIdYes`id` from GET /v1/projects/{projectId}/variations.
projectIdYesThe project id (`id` from GET /v1/projects).
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 description's job is to say what exactly is destroyed. It does: unstarted variants are refunded once and running renders are allowed to finish, which is the key safety detail an agent needs. The 'free' cost note is useful, though 'repeating it changes nothing' largely restates idempotentHint and the meaning of 'refunded' (credits vs. quota) is left implicit.

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, front-loaded with the operation and its effects, then the cost/idempotency facts. No filler, no repeated title boilerplate.

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?

With rich annotations, a fully documented schema, and an output schema present, the description needs only to explain the cancellation semantics, which it does. Minor gap: it doesn't say what happens to already-completed variants' outputs or whether cancellation is reversible, which an agent deciding between cancel and let-finish might want.

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 batchId provenance ('id from GET /v1/projects/{projectId}/variations') and the workspace binding rule, so the schema already carries full parameter meaning. The description adds nothing parameter-specific, which is the baseline 3 case.

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?

States a specific verb (cancel) and resource (variation batch) and immediately defines the operation's effect: 'nothing new starts and every unstarted variant is refunded once; running renders finish.' That effect-level phrasing distinguishes it from generic cancel siblings like jobs_cancel or video_quick_batch_cancel without ambiguity.

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 consequence description ('running renders finish', 'nothing new starts') implicitly tells the agent when cancellation is safe versus when work is already in flight, but there is no explicit when-to-use/when-not-to-use guidance and no named alternative (e.g., a pause or delete variant) to route to.

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