Skip to main content
Glama

Duplicate expense

duplicate_expense

Duplicate a planned expense in the same box. Optional name; default is source name + “(Copy)”.

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": {
      "budgetId": "<budgetId>",
      "boxId": "<boxId>",
      "expenseId": "<expenseId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "duplicate_expense"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
boxIdYes
budgetIdYes
expenseIdYes
idempotencyKeyYes

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 readOnlyHint=false and destructiveHint=false, so the write-but-non-destructive profile is already covered. The description adds genuinely new behavior — the copy stays in the same box and gets a default '(Copy)' name — but says nothing about what else is cloned (child items, dates) or what the response contains.

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?

Two short sentences with the scope constraint front-loaded and zero filler. The second sentence is a compact fragment but carries real information about the default name.

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

Completeness2/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 no schema descriptions, no output schema, and no annotation detail beyond the safety flags, this is thin. An agent must guess at the idempotencyKey contract and at whether the duplicated expense inherits fields from the source.

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

Parameters2/5

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

Schema coverage is 0% across five parameters, and the description only explains 'name' (optional, defaulting to source name plus '(Copy)'). The four required parameters — budgetId, boxId, expenseId, and especially idempotencyKey — get no explanation of what they must reference or whether retries are safe.

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 uses a specific verb plus resource ('Duplicate a planned expense') and adds a scope constraint ('in the same box'), which separates it from create_expense and from cross-container tools like duplicate_box. It stops short of naming a sibling, but the operation itself is unambiguous.

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?

The phrase 'in the same box' implicitly tells the agent this tool cannot retarget the copy to another box, which is mild guidance. There is no explicit when-to-use versus create_expense or move_expense, and no note on prerequisites such as the source expense already existing in that box.

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