Skip to main content
Glama

adjust_account_balance

Set an account to a specific balance by creating an adjustment transaction for the difference. Returns the previous balance, new balance, and the generated transaction (null if the balance was already at the target).

Input Schema

NameRequiredDescriptionDefault
noteNoOptional note to attach to the adjustment transaction.
accountIdYesID of the account to adjust.
newBalanceYesTarget balance as a decimal (e.g. 1500.00). An adjustment transaction is created for the diff.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / note / maxLength
      Added value: +1000
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key side effect (a transaction is created for the diff) and the no-op case (transaction is null when already at target) — a genuinely useful behavioral detail. It omits permission/auth requirements, whether investment or archived accounts are rejected, and whether the generated transaction is reversible or categorized.

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?

Two tight sentences: the first gives the operation and mechanism, the second gives the return shape. Front-loaded and every clause earns its place.

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

Completeness4/5

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

Because there is no output schema, the description's explicit return-value sentence is doing real work and covers the null case. What remains thin is account-type/eligibility context for a mutation tool with zero annotations, but for a 3-parameter tool this is close to complete.

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 coverage is 100%, so all three parameters are already documented in the schema, including the note field and the decimal example for newBalance. The description restates the diff-based semantics of newBalance but adds no new format or constraint detail, so baseline 3 applies.

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 and resource (set an account to a specific balance) plus the mechanism used (an adjustment transaction for the difference), which clearly separates it from plain create_transaction or update_transaction. It never names a sibling, so the differentiation is implied rather than explicit.

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 description implies the use case (getting an account to a target balance) and hints at an alternative path via 'adjustment transaction', but gives no explicit when-to-use/when-not-to guidance, no prerequisites (account must exist, be non-investment, etc.), and no exclusions.

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.