Skip to main content
Glama

Local Commander

Cancel owned operation

operation_cancel
DestructiveIdempotent

Use this when the user asks to stop an operation owned by the authenticated grant. Requests cancellation but does not by itself prove that an already-running local process has terminated; it remains available when chargeable quota is exhausted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and non-readOnly, so the safety profile is covered. The description adds real value beyond them: cancellation is only a request and does not prove a running local process terminated, and the tool stays available under quota exhaustion. It still omits permissions needed and what happens to an already-completed operation.

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 dense sentences, front-loaded with the invocation trigger followed by the key behavioral caveat. No filler or repetition. Slightly compressed phrasing, but every clause carries information.

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 no output schema, the description could have described the response, but for a one-parameter cancellation it covers the critical semantics: ownership scope, asynchronous nature, and quota-independent availability. The main remaining gap is where operationId comes from and how to confirm actual termination.

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?

Schema description coverage is 0% for the single required operationId, and the description says nothing about it - not where to obtain it (e.g., from operation_status or command_run), nor what scope it must belong to. The schema's uuid format/pattern documents the shape, but the description fails to compensate for the missing parameter guidance.

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 states a specific verb and resource (stop/cancel an operation) and narrows scope to operations 'owned by the authenticated grant', which separates it from general command or session tools. It does not explicitly name or contrast with siblings like operation_status or operation_output, so it falls short of full sibling differentiation.

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?

It gives an explicit trigger: use when the user asks to stop an operation. That is clear context for invocation. However, it states no exclusions or alternatives (e.g., use operation_status to merely inspect, or execution_session_close for a session), so the routing guidance is incomplete.

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