Skip to main content
Glama

Gradient Dynamics: thermal and CFD simulation

Cancel operation

cancel_operation
DestructiveIdempotent

Cancel an owned file import, inspection or visualization preparation. This does not cancel its source mesh or simulation. Cancellation is separate from closing the chat or a polling timeout.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "cancel_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/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 safety profile is covered structurally. The description still earns credit for scoping the destruction to the operation only, explicitly sparing the source mesh and simulation. It does not say what the caller sees if the operation has already finished or whether the operation record survives, so it adds context but not a full behavioral picture.

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?

Three short sentences, front-loaded with the action and scope, followed by the two boundary conditions. No filler and nothing repeated from the title or 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?

An output schema exists, so return values need not be explained, and the tool is a simple single-parameter mutation. The remaining gap is how to source operation_id and how this differs from cancel_job, which keeps it short of full completeness.

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 parameter operation_id has 0% schema description coverage and the description says nothing about it, not even where to obtain a valid ID (e.g. from get_operation). Format uuid in the schema is the only signal, so the description does nothing to compensate for the coverage gap.

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?

States a specific verb plus the exact class of resources it acts on: 'owned file import, inspection or visualization preparation'. That is far more precise than a bare 'Cancel operation', though it never contrasts itself with the sibling cancel_job, so an agent can't fully distinguish the two from this text alone.

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?

Gives clear negative guidance: it does not cancel the source mesh or simulation, and cancellation is separate from closing the chat or a polling timeout. That heads off the most likely misuses, but there is no positive routing to alternatives such as cancel_job when the target is a different kind of work item.

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