Skip to main content
Glama

Cancel Character Image

cancel_character_image
Destructive

[write] Cancel pictures queued by create_character_image / create_character_thumbnail / create_replace_image / create_promo_image / create_infographic_image / create_storyboard that worker_images_characters has not started yet (track QUEUED -> CANCELED, nothing is charged). Give one picture (image_id or image_uuid) or an album (images_album_uuid, e.g. a storyboard: all its queued pictures). A picture already being drawn (PROCESS) or finished (DONE | FAILED) cannot be stopped and is left as it is. Answers canceled (how many were taken out) and skipped (the ones in the request that were already past QUEUED).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cancel_character_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_idNo
image_uuidNo
images_album_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the state transition (QUEUED -> CANCELED), the billing consequence ('nothing is charged'), and that out-of-scope items are silently left untouched rather than erroring. It also pre-announces the response shape (canceled / skipped) despite there being no output schema.

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?

Front-loaded with a [write] marker and the core action, then narrows to scope, exclusions, and return values. Dense and largely waste-free, though the long run-on enumeration of creator tools and the parenthetical album example make it heavier than necessary.

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?

For a mutation tool with a destructive annotation and no output schema, the description covers what is affected, what is protected, cost implications, and the returned counts. An agent has everything needed to call it correctly; only the multi-selector edge case is left open.

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?

Schema coverage is 0% with no property descriptions, so the description must carry the load – and it does, explaining that image_id/image_uuid target one picture while images_album_uuid targets a whole album ('e.g. a storyboard: all its queued pictures'). It does not clarify mutual exclusivity or what happens when multiple selectors are supplied, and all three params are technically optional.

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 and resource ('Cancel pictures queued by create_character_image / ...') and enumerates the exact upstream tools whose output it can cancel. This is far more precise than a generic 'cancel image' and lets an agent distinguish it from creation/regeneration siblings.

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?

Explicitly states the precondition (worker_images_characters has not started) and the excluded states: 'A picture already being drawn (PROCESS) or finished (DONE | FAILED) cannot be stopped and is left as it is.' It gives solid when/when-not guidance but never names the nearby sibling cancel_character_queue or explains how they differ.

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.