Skip to main content
Glama

aidada_image_cancel

Idempotent

Cancel an ongoing image job locally and save the images already received. Stops the request on your side; upstream computation and billing are not guaranteed to stop.

Instructions

终止本地正在进行的上游请求并保存已收到图片;不能保证上游停止计算或退款。

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": {
      "job_id": "<job_id>"
    },
    "name": "aidada_image_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
jobYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description meaningfully adds to them: cancelling only stops the local request and does not guarantee that upstream computation stops or that any refund occurs. That billing and scope caveat is exactly the kind of context annotations cannot carry. It stops short of saying what happens when the job has already completed, so a 4 is appropriate.

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?

It is a single compact sentence with the action front-loaded and the caveat trailing it, and every clause contributes useful information. There is no redundant restatement of the tool name or the annotations.

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 low-complexity, single-parameter tool that already has an output schema, the description covers the operation, its side effect of preserving received images, and its limitations. The remaining gap is the opaque job_id, whose origin and semantics remain undocumented at any layer.

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

Parameters2/5

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

The single required parameter, job_id, has 0% schema description coverage, so the description should compensate for that gap but does not. It never explains that job_id identifies the image job to cancel or where such an id comes from, and only the schema's type, uuid format, and pattern constraints supply any info. With the parameter underspecified in both the schema and the description, a 2 is warranted.

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 uses a specific verb-plus-object phrase: terminate the local in-progress upstream request, and it also names the side effect of saving images already received. That makes the operation distinct from sibling tools such as aidada_image_result and aidada_image_jobs. The only gap is that it does not explicitly name the sibling it is not, which prevents a 5.

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?

It implies when to use this tool: while a request is still in progress and you want to stop it while keeping partial results. It never states prerequisites, such as whether the job must still be running, or points to alternatives, such as checking status via aidada_image_jobs before canceling, so usage guidance must be inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.