Skip to main content
Glama
MyLife Finance

MyLife Finance

by Zheny918

budget_update

Update an existing budget by ID to change amount, period, category, or dates, keeping spending plans aligned with current financial goals.

Instructions

修改预算。userId 可选。

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

Input Schema

NameRequiredDescriptionDefault
idYes
yearNo
monthNo
amountNo
periodNo
userIdNo
endDateNo
categoryNo
startDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

C2.1/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden and discharges almost none of it. It does not state whether this is a mutation of an existing record, what happens to fields omitted from the request (overwritten, preserved, or cleared), whether permissions or ownership checks apply, or what the caller gets back. For a 9-parameter write operation this is a serious gap.

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?

Two short sentences, front-loaded with the purpose, so nothing is padded. The problem is under-specification rather than verbosity, but the result is still an extremely thin definition that leaves most of the caller's questions unanswered.

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

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutation tool with nine parameters, zero schema descriptions, no annotations, and no output schema needs a description that explains field semantics and mutation behavior. This one provides two sentences, one of which is redundant with the schema, so an agent cannot reliably call it correctly.

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 nine parameters, so the description must compensate and it does not. "userId 可选" is the only parameter note and it merely restates what the schema already encodes via required: ["id"]; the remaining eight fields (year, month, amount, period, startDate, endDate, category, id) receive no meaning at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"修改预算" gives a specific verb+resource, which does distinguish it from budget_add, budget_delete and budget_list by name. However, it says nothing about what aspect of the budget is modified or what the operation's scope is, leaving the agent to infer from the schema. Vague but minimally identifiable.

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?

There is no when-to-use guidance at all: no mention of prerequisites, no conditions that select this over budget_add or budget_delete, and no note about when an update should be preferred over a delete-and-recreate. The only guidance-adjacent text, "userId 可选", is about a parameter, not about usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.