Skip to main content
Glama

Cancel an action

xora_cancel_action
Idempotent

Cancel a proposed or queued action this connection requested, while nothing has been sent to a provider yet. Needs xorventa:prepare or xorventa:execute. Cancelling an action that is already cancelled changes nothing.

Input Schema

NameRequiredDescriptionDefault
action_idYes

Output Schema

NameRequiredDescriptionDefault
stateYes
actionYes
effectYes
resultYes
summaryYes
action_idYes
cancelledYes
expires_atYes
reason_codeYes
correlation_idYes
safe_next_stepYes
owner_confirmation_urlYes

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 idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new context: the required scopes ('xorventa:prepare or xorventa:execute') and confirmation that repeat cancellation is a no-op, which sharpens the idempotency claim.

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 core action and its precondition. Every clause carries information; nothing is redundant.

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 an output schema present, return values need not be described, and the description covers preconditions, permissions and idempotency. It is slightly thin on how the agent obtains a valid action_id, but is otherwise adequate for a single-parameter tool.

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?

There is only one parameter and it carries no schema description (0% coverage), though the schema does supply a UUID pattern. The description clarifies that the action must belong to this connection, which is useful but does not explain the id format or where to obtain the id.

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 names a specific verb and resource ('cancel a proposed or queued action this connection requested') plus the key scope limit ('while nothing has been sent to a provider yet'), which lets an agent distinguish this from xora_delete and xora_publish_or_send. It stops short of explicitly naming a sibling, so it lands just below the top tier.

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 a clear precondition for use (the action must still be proposed/queued and unsent) and notes the no-op case of cancelling an already-cancelled action. It offers no explicit guidance on which alternative to pick when the action has already been sent, leaving that to inference.

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