Skip to main content
Glama

Change a planned operation

change_planned_operation
Destructive

The day, the amount and the reminder of a planned operation, all three stated as they are to stand (get_planner has the ones that stand now). What it sells and where cannot change: remove it and plan another. A day moved is a reminder owed again. Premium's: refused for an account without it.

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>",
      "on": "<on>",
      "amount": "<amount>"
    },
    "name": "change_planned_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYesThe day it is planned for now, as YYYY-MM-DD.
amountYesHow much, in whole units of its token, stated whole.
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.
remindNoWhether the user is emailed on that day.
operation_idYesThe operation's ``id``, as get_planner gives it in ``plan``.

Output Schema

NameRequiredDescriptionDefault
idYes
onYes
intoYes
kindYes
tokenYes
amountYes
remindYes
sourceYes
symbolYes
addressYes
remindedYes
written_byYes
into_symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, and the description genuinely adds context beyond them: which fields are immutable (token and recipient), that a moved day re-owes a reminder email, and that the call is refused for non-premium accounts. It stops short of describing failure modes for a non-existent or non-owned operation or confirming whether the update is partial or full replacement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very short and free of filler, but the telegraphic, clause-fragment style ('Premium's: refused for an account without it', 'What it sells and where cannot change') costs parseability. The immutability constraint and the premium gate are buried mid-paragraph rather than front-loaded.

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 five-parameter mutation with an output schema, the description covers the key unknowns: immutable fields, reminder side effect, premium gating. Ownership/scoping is handled by the `client` parameter's schema text, so nothing critical is missing, though error behavior for invalid operation ids is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: 'all three stated as they are to stand' clarifies these are absolute target values rather than deltas, and 'A day moved is a reminder owed again' explains the coupling between `on` and `remind`. It does not elaborate on `client` or `operation_id`, but those are well documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the resource (a planned operation) and the three attributes it governs (day, amount, reminder), and contrasts itself with get_planner. But there is no verb anywhere — the tool relies on the title 'Change a planned operation' to convey that it mutates — so an agent must infer the operation from the noun phrase 'stated as they are to stand'.

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?

Gives an explicit exclusion plus a redirect: 'What it sells and where cannot change: remove it and plan another', which routes the agent to remove_planned_operation/plan_operation. Also names get_planner as the source of current values and states the premium precondition. Only gap is that it never states positively when to reach for this tool.

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