Skip to main content
Glama

actionlayer

actionlayer_cancel

Cancel a non-terminal ticket (single-action task; tkt_*). Idempotent on terminal states. For multi-step plans (job_*), use actionlayer_cancel_job instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticket_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations provided, so the description must fully disclose behavior. It mentions idempotency on terminal states and ticket type, but does not describe the cancellation effect (e.g., changes to ticket state, side effects, or destructive nature). Some transparency, but gaps exist.

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?

The description is two sentences, directly addressing purpose, behavior, and alternatives without extraneous words. Highly efficient.

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 simple one-parameter tool with an output schema (not shown), the description covers core aspects: cancellation target, idempotency, and alternative. It does not specify what 'non-terminal' means or authorization requirements, but is fairly complete given complexity.

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 has 0% description coverage for the sole parameter `ticket_id`. The description implies the parameter is a ticket ID but provides no additional details (format, constraints, examples) beyond the schema's type 'string'.

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?

The description explicitly states the action ('Cancel'), the resource ('non-terminal ticket with `tkt_*`'), and distinguishes itself from the sibling `actionlayer_cancel_job` for multi-step plans.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly indicates when to use this tool (for single-action tickets) and when not to (for multi-step plans, directing to `actionlayer_cancel_job`). It also notes idempotency on terminal states, guiding safe usage.

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