Skip to main content
Glama

Cancel the meal

cancel_meal
Destructive

No sign-in needed. Cancel this plan: its link stops working, and if the person already started it, its timers are removed from the phone. Only that plan's timers; nothing else on the phone. Needs the plan's code and control key. Ask the person first.

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": {
      "code": "<code>",
      "key": "<key>"
    },
    "name": "cancel_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe secret control key plan_meal gave you for this plan (starts with ktpk_). Never show it or put it in a link.
codeYesThe plan's code, or its whole link.

Output Schema

NameRequiredDescriptionDefault
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes well beyond that by specifying exactly what is destroyed (the link dies, timers are removed) and bounding the blast radius ("Only that plan's timers; nothing else on the phone"). It also discloses the no-auth access model, which annotations do not cover.

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?

Short, front-loaded, and every clause carries information: auth, effect, scope, inputs, confirmation. The telegraphic semicolon phrasing ("Only that plan's timers; nothing else on the phone") reads slightly clipped but is not wasted.

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

Completeness5/5

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

For a destructive two-parameter mutation with an output schema and full annotation coverage, nothing material is missing: destruction scope, irreversibility implication, auth exemption, required credentials, and a confirm-first rule are all present.

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 100% and the key parameter's description already carries the secrecy rule and format. The description only restates the requirement ("Needs the plan's code and control key") without adding syntax or fallback detail, so it sits at the baseline where the schema does the work.

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?

Names a specific verb (cancel) and resource (this plan) and states the concrete consequences: the link stops working and its timers are removed from the phone. That permanence-and-scope framing lets an agent distinguish cancel from the nearby pause_meal/resume_meal siblings without opening another schema.

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?

"Ask the person first" is a genuine precondition for invoking it, and "No sign-in needed" plus "Needs the plan's code and control key" establish access requirements. What is missing is an explicit steer toward an alternative (e.g. pause_meal) when the intent is temporary rather than permanent.

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