Skip to main content
Glama

YABA family budget

Restore deleted entries

restore_transactions

Bring back deleted entries (up to 100 ids). Amounts are integers in minor units (kopecks, cents): 45000 = 450.00. Dates are YYYY-MM-DD in the family time zone; a month is a budget period YYYY-MM (the one that starts in that month).

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare this is a write (readOnlyHint=false) that is non-destructive and non-idempotent, so the agent already knows the safety profile. The description usefully states the 100-id batch limit, but says nothing about permissions, whether a restore is reversible, or partial-failure behavior — and its currency/budget-period sentences concern parameters this tool does not have.

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?

The purpose and the 100-id constraint are front-loaded and efficient, but two of the three sentences are about amount and date formats that have no corresponding parameters here, so real estate is spent on irrelevant boilerplate.

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?

For a one-parameter mutation tool with no output schema, the description covers the core action and batch limit, and the annotations cover non-destructiveness. It is still missing failure semantics for bad or already-live ids, and it dilutes itself with format notes for parameters that do not exist.

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 0% for the single 'ids' parameter, so the description has to carry the load. It confirms plural entry ids and the 100-item cap (which duplicates the schema's maxItems), but never explains what an id refers to or its string format, leaving the coverage gap only partly filled.

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?

States a specific verb and resource ('Bring back deleted entries'), which clearly distinguishes it from write siblings like delete_transaction and update_transaction. It does not explicitly name a competing sibling (e.g. undismiss_bill/unmark_bill), 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 Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no exclusions. It never says whether ids may mix entry types, whether already-restored ids cause errors, or when to prefer a single-item restore path.

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