Skip to main content
Glama

Move expense

move_expense
Destructive

Move one or more expenses to another box on the same budget.

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>",
      "toBoxId": "<toBoxId>"
    },
    "name": "move_expense"
  }
}

Input Schema

NameRequiredDescriptionDefault
toBoxIdYes
budgetIdYes
expenseIdNo
expenseIdsNo

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 already declare destructiveHint=true and readOnlyHint=false, so the mutation/safety profile is covered structurally. The description adds one genuinely useful constraint — the target box must be on the same budget — but is silent on failure modes, partial success when multiple IDs are passed, and precedence between expenseId and expenseIds, which matters for a destructive operation.

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

Conciseness5/5

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

A single front-loaded sentence with no filler; the destination and the same-budget constraint arrive first. Nothing in the sentence is redundant.

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 four-parameter, zero-coverage, destructive mutation with no output schema, the description establishes the core contract but leaves too much of the parameter contract and failure behavior unexplained. It is minimally adequate rather than complete.

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 description coverage is 0% across four parameters, so the description carries the full burden and only partly meets it: "one or more expenses" hints that expenseId and expenseIds are alternatives, but it never says which to use, whether both may be supplied, or that budgetId identifies the source/owning budget rather than the destination.

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 ("Move") and resource ("one or more expenses") plus the destination ("another box on the same budget"). It is clearly distinguishable from create/delete/update siblings, though it does not explicitly say how it differs from update_expense when that tool might also change an expense's box.

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?

The sentence implies the scenario (relocating expenses between boxes) but gives no explicit when-to-use or when-not-to-use guidance, no mention of an alternative tool such as update_expense, and no prerequisites. The agent must infer the selection criteria entirely.

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