Skip to main content
Glama

Save a recurring payment

set_recurring
DestructiveIdempotent

Save, change or remove a payment the user expects again (a subscription, rent, a bill). Saved ones show in get_recurring and in the email summary's 'Coming up'. With auto_log=true the expense is written on each date automatically: only for a fixed amount charged in this currency, and only for users who log by hand (refused while a bank or ZenMoney sync is connected: the sync brings the charge). A statement import merges an auto-logged row with the bank's row of the same amount within two days. Saving again under the same name changes it; remove=true deletes it (expenses already logged stay).

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe payment as the user calls it, e.g. Netflix, Rent.
amountNoAmount per charge. Required for a new one.
removeNoDelete the saved payment with this name.
accountNoAccount the auto-logged expense goes to. Default: Manual.
cadenceNoHow often it is charged. Required for a new one.
auto_logNoWrite the expense automatically on each date.
categoryNoDefault: subscriptions.
currencyNo3-letter ISO currency code (EUR, USD, UAH, AED, ...). Omit to use the user's base currency.
merchantNoThe merchant as the records spell it (a found payment's name, e.g. 'LANDLORD SL'), when the user's name differs: links the saved payment to its charges.
next_dateNoNext expected charge, YYYY-MM-DD. Required for a new one. A past date moves to the next one on or after today; nothing is logged for past dates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses real behavioral consequences: what survives deletion ('expenses already logged stay'), the import-merge rule ('merges an auto-logged row with the bank's row of the same amount within two days'), and the past-date rule ('nothing is logged for past dates'). The destructive and idempotent hints are explained rather than merely asserted.

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?

Dense and front-loaded with zero filler sentences, but it packs multiple rules into one long paragraph with nested parentheses, which slows scanning of the distinct modes (create/update/delete/auto-log). Slight restructuring into per-mode clauses would improve it.

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?

A 10-parameter mutation tool with no output schema, and the description still covers the side effects, refusal conditions, deletion consequences, and date handling an agent needs. Nothing material is left for the agent to discover by trial.

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 the baseline would be 3, but the description adds meaning the schema does not carry: name functions as the upsert key, remove deletes rather than deactivates, and next_date silently rolls forward from a past date. auto_log's preconditions are also described rather than left to the one-line schema hint.

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?

The opening clause names specific verbs and the resource: 'Save, change or remove a payment the user expects again (a subscription, rent, a bill)'. It explicitly distinguishes itself from the read-only sibling by stating 'Saved ones show in get_recurring', so the agent can separate write from read without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use and when-not rules: auto_log is 'only for a fixed amount charged in this currency' and 'only for users who log by hand', and is 'refused while a bank or ZenMoney sync is connected'. It also states the update path ('saving again under the same name changes it') versus the delete path ('remove=true deletes it').

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.