Skip to main content
Glama

Cancel timer

timer_cancel
Destructive

Cancel a timer. Call keys.create once. Pass caller_key on every later tools/call.

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": {
      "timer_id": "<timer_id>"
    },
    "name": "timer_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
timer_idYes
caller_keyNopf_ key from keys.create. Pass this on tools/call when Authorization and X-Caller-Key are not set. A header key wins if both are set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows the call mutates state. The description adds the caller_key/keys.create auth ritual, which is genuinely useful operational context. It does not say whether cancel is idempotent, what happens if the timer_id is unknown, or whether cancellation is reversible — meaningful gaps for a destructive 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?

Three short sentences, front-loaded with the action, with no wasted wording. The auth sentences are boilerplate but relevant to invoking the tool correctly, so they earn their place, though they read as a generic preamble rather than tool-specific guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema and a required parameter that is undocumented, the description should explain the outcome of the call (what gets destroyed, success/error behavior on a missing timer). It covers only authentication and omits the operational essentials an agent needs to call this safely.

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 coverage is only 50%: caller_key is fully documented in the schema (and the description merely repeats that), while timer_id has no description anywhere. The description adds no meaning for timer_id — no format, no source (where does one obtain it?), no constraints — so the undocumented half of the parameters is left unexplained.

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?

"Cancel a timer" gives a specific verb plus resource, so the operation is immediately clear. It does not distinguish this from the near-identical sibling names (timer.cancel, timer_set), leaving the agent to guess which one to pick when several timer tools are present.

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?

The description explains the authentication bootstrap (call keys.create once, pass caller_key on every later tools/call), which is useful context for actually invoking the tool. However, it gives no guidance on when to cancel versus set a timer, no mention of preconditions (does the timer need to exist or be owned by the caller), and no exclusions relative to the many siblings.

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