Skip to main content
Glama

update_goal

Update a savings goal. Only passed fields change; accounts replaces the whole set. Use status to pause, archive or restore a goal. Fails when an account would pass 100% shared across non-archived goals, the new currency has no exchange rate, or fixed amounts alone fall short of the target. Needs the Goals feature on the plan or an active trial. Returns the goal in the get_goals shape.

Input Schema

NameRequiredDescriptionDefault
nameNoNew goal name
goalIdYesID of the goal to update
statusNoactive, paused or archived. Archiving frees the accounts' shares; restoring re-checks that every account stays within 100%
accountsNoReplaces the whole set of backing accounts, each { accountId, sharePercent } or { accountId, fixedAmount, fixedPosition? } as in create_goal. Each account's sharePercent values across non-archived goals cannot exceed 100%
targetDateNoNew deadline (yyyy-MM-dd). Pass null to remove it
currencyCodeNoNew target currency (ISO 4217)
targetAmountNoNew target, decimal in the goal currency
plannedMonthlyNoNew planned saving per month, decimal in the goal currency. Pass null to fall back to the historical pace
reachedHoldDaysNoDays (0-365, default 30) after first reaching the target during which a dip below it still counts as reached. 0 follows the balance live

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses destructive replacement semantics for accounts, the failure conditions (100% share overflow, missing exchange rate, fixed-amount shortfall), plan prerequisites, and the return shape. These are the kind of side effects and constraints an agent needs before mutating state.

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?

Front-loaded with the core action and update semantics, then failure modes, prerequisites, and return shape. Dense but nearly every clause earns its place; only the enumerated failure list is a touch long, though it is high-value.

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

Completeness5/5

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

For a 9-parameter mutation with no annotations and no output schema, the description is complete: it covers partial-update behavior, replacement semantics, failure conditions, prerequisites, and explicitly names the return shape (get_goals shape). An agent can call it correctly without further inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine value beyond the schema: it explains that accounts replaces the entire set and that status drives pause/archive/restore, which the schema enumerates but does not explain consequentially. This lifts it above baseline.

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 ("Update a savings goal") and the partial-update semantics ("Only passed fields change") distinguish it from a full create. It does not explicitly name create_goal/delete_goal as alternatives, but the verb is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear context for use: partial field updates, accounts full-replacement behavior, and status to pause/archive/restore. It also states a prerequisite (Goals feature or active trial). No explicit when-not or named-alternative routing, so it falls short of a 5.

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.