Skip to main content
Glama

Linklamp: Switch swap or repatch visit in Dearborn, MI, under your remote engineer

Cancel an appointment request

cancel_appointment
DestructiveIdempotent

Cancel this appointment request using its private credentials.

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": {
      "id": "<id>",
      "token": "<token>"
    },
    "name": "cancel_appointment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe request or offer id from your receipt or customer link
tokenYesPrivate token from your receipt or customer link; keep it for later visits
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/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. The description adds nothing beyond the credential hint: it does not say whether the cancellation is final, whether the vendor is notified, or what happens to an appointment already accepted. For a destructive mutation that is a real gap.

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?

A single front-loaded sentence with no filler, so it is efficiently sized. It is arguably too terse for a destructive operation, but nothing in it is wasted.

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

Completeness3/5

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

There is no output schema and no nested objects, so the description needn't explain return values. However, for a destructive, idempotent, credential-gated mutation, the definition never states consequences or post-conditions, which an agent needs before committing to cancellation.

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?

Schema coverage is 67%, with id and token both self-documented as coming from a receipt or customer link. The description reinforces that credentials are private, but the optional 'reason' parameter has no description anywhere, leaving that field's purpose to guesswork.

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 pairs a specific verb, 'Cancel', with a specific resource, 'appointment request', so an agent can tell what the tool does without opening the schema. It does not distinguish this from reschedule_appointment or the other appointment siblings, so it stops short of a 5.

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?

'using its private credentials' implies the caller must already hold a receipt or customer-link token, which is an implicit precondition. There is no explicit statement of when to cancel versus reschedule, and no warning about irreversibility, so the guidance is only inferred.

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