Skip to main content
Glama

Remove a planned operation

remove_planned_operation
Destructive

A planned operation taken out of the plan, its reminder with it. Nothing of the user's tax years moves: a plan was never in them. Open without Premium too: what was planned while the account had it is theirs to call off.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "remove_planned_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoAn account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case.
operation_idYesThe operation's ``id``, as get_planner gives it in ``plan``.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description adds genuinely new behavioral detail: the associated reminder is also deleted, tax-year data is explicitly untouched, and Premium is not required. That answers the main 'what else gets destroyed' and 'do I need entitlements' questions, though it says nothing about confirmation, reversibility, or response shape.

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 effect and followed by scope and entitlement notes; nothing is padded. The elliptical phrasing ('a plan was never in them') is a minor clarity cost but does not waste space.

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 a full schema, an output schema, and destructive annotations, the description only needs to add side effects and preconditions, which it does. The remaining gap — no mention of whether the removal is reversible or how failures surface — is small given the structured data already 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 description coverage is 100%, with client and operation_id both documented in the schema, including where operation_id comes from (get_planner's plan). The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 states clearly that a planned operation is taken out of the plan and that its reminder goes with it, so the verb-and-resource effect is unambiguous. It does not name or contrast with the obvious siblings plan_operation or change_planned_operation, which keeps it 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?

It gives one real precondition — the operation can be cancelled even without Premium if it was planned while the account had it — which implies when calling is legitimate. But there is no explicit when-to-use/when-not guidance and no pointer to change_planned_operation for modification rather than removal, so selection between siblings is left 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