Skip to main content
Glama

Create box

create_box

Create an expense box (max 30 per budget). Name ≤100 chars; money 0…1e6. Optional category: needs|wants|savings (Plan Analysis tag). Funding style is inferred: omit amount for expense-driven (dated expenses), set amount for fixed monthly refill, set goalAmount for destination Goal (may combine with amount). amount ≠ live linked account balance. Optional iconColor (icon circle color).

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>",
      "name": "<name>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_box"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
amountNo
budgetIdYes
categoryNo
currencyNo
iconColorNo
goalAmountNo
idempotencyKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / iconColor
      Added value: +{
      +  "enum": [
      +    "blue",
      +    "indigo",
      +    "purple",
      +    "pink",
      +    "red",
      +    "orange",
      +    "yellow",
      +    "green",
      +    "teal",
      +    "default"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish a non-destructive, non-open-world write, so the bar is lower. The description still adds real behavioral context the annotations do not: the per-budget cap of 30, value bounds on name and money, and the important inference that funding style is derived from which of amount/goalAmount is supplied. It stops short of stating what happens when the cap is hit, whether the box is immediately visible to Plan Analysis, or how idempotencyKey affects retries.

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?

The most important constraint (max 30 per budget) and the funding-style rule are front-loaded and every clause contributes information. The telegraphic semicolon-chained style is dense but efficient; a small amount of structure would aid scanning but nothing is filler.

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 an eight-parameter mutation with no output schema, the description covers creation semantics and value limits well but leaves idempotency behavior and the post-creation result (e.g., the returned box and its id) undescribed. An agent can call it, but must infer retry safety and what it gets back.

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%, so the description carries the full burden, and it does compensate well for the hardest parameters — the amount vs goalAmount vs omit distinction and the caution that amount is not a live linked account balance are exactly the ambiguities an agent would otherwise guess wrong. But three parameters, including the required budgetId and the required idempotencyKey, plus currency, get no explanation at all, leaving meaningful gaps at a 0% baseline.

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 description opens with a specific verb and resource, 'Create an expense box', and immediately scopes it with a hard constraint ('max 30 per budget'). Combined with the funding-style semantics, an agent can tell this apart from sibling operations like create_boxes (batch) or update_box without opening a schema.

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?

Usage logic is given for configuration modes ('omit amount for expense-driven', 'set amount for fixed monthly refill', 'set goalAmount for destination Goal'), which is genuinely useful selection guidance within the tool. However, there is no guidance on when to prefer this over alternatives such as create_boxes for bulk creation, nor any stated preconditions or failure conditions for the 30-box cap.

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