Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

update_unadjusted_balance

Update an existing unadjusted balance amount within a TreeBeam project by specifying the project ID, balance ID, and new amount.

Instructions

Update an existing unadjusted balance within a project.

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": {
      "collectionId": "<collectionId>",
      "id": "<id>",
      "amount": "<amount>"
    },
    "name": "update_unadjusted_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe unadjusted balance ID
amountYesBalance amount
collectionIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. It does not say whether unspecified fields are preserved or cleared, whether the amount is replaced or adjusted, whether the change is auditable or reversible, or what the response contains; only the bare fact of mutating an existing record is conveyed.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity edges toward under-specification rather than true conciseness.

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 three-parameter mutation tool with no annotations and no output schema, the definition should explain update semantics, permissions, and side effects. None of that is present, so an agent cannot predict the effect of the call beyond the fact that something changes.

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 100%, with id, amount, and collectionId all documented in the schema itself, so the baseline is 3. The description adds no meaning beyond that — 'within a project' merely echoes the collectionId project-ID description and nothing is said about amount units, sign conventions, or currency.

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 gives a specific verb (update) and resource (an existing unadjusted balance) scoped to a project, so an agent knows exactly what is being modified. It does not differentiate itself from siblings such as update_adjustment or update_adjustment_line_item, but the resource is named clearly enough to separate it from create/delete/get variants.

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 guidance on when to choose this tool versus update_adjustment or the other update_* siblings, nor any prerequisites such as required permissions or whether the balance must be in an open period. The phrase 'an existing' weakly implies the record must already exist, but no exclusions or alternatives are stated.

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