Skip to main content
Glama

Movable Capital: verified cash rates

Compare cash options after tax

compare_after_tax
Read-only

For a cash balance and the person's tax rates, estimate what each kind of cash option keeps per year after federal and state income tax (Treasury interest is state-tax-free; money funds pass through their government share), and how much more than where the cash sits now. Returns the option of each kind that keeps the most.

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": {
      "balance": "<balance>",
      "federal_pct": "<federal_pct>",
      "state_pct": "<state_pct>"
    },
    "name": "compare_after_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
niitNoTrue if the 3.8% net investment income tax applies.
stateNoTwo-letter U.S. state the person files in, e.g. "CA". In CA, CT and NY a fund’s U.S. government share counts only if its notice shows it met their 50% test. Optional.
balanceYesCash balance in U.S. dollars.
currentNoWhere the cash sits now: a broker name (its default sweep), "checking", or an id from get_cash_rates. Default checking at 0.01%.
priorityNoreturn (default), liquidity (2 days or less), or protection (FDIC or U.S. government).
state_pctYesState + local income tax rate, e.g. 5. 0 if none.
federal_pctYesTop federal income tax bracket, e.g. 24.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / state
      Added value: +{
      +  "description": "Two-letter U.S. state the person files in, e.g. \"CA\". In CA, CT and NY a fund’s U.S. government share counts only if its notice shows it met their 50% test. Optional.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so the safety profile is covered. The description adds genuine domain behavior beyond that: Treasury interest is state-tax-free, money funds pass through their government share, and the result is the top option per kind plus a delta versus the current holding.

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?

A single dense sentence, but front-loaded with the core action and with each clause carrying information (tax treatment rules, per-kind selection, delta versus current). No filler or restatement of the title.

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?

For a 7-parameter read-only calculator with no output schema, the description covers what is computed, the tax rules applied, and the shape of the answer (best option per kind). Minor gaps remain around whether the returned options include non-tax attributes or how ties are broken.

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 baseline is 3; the description still adds meaning by tying the inputs to a person's tax rates and by clarifying that the comparison baseline is 'where the cash sits now', which maps onto the optional `current` parameter. It does not explain `priority` or `niit` semantics beyond the schema.

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 names a specific computation: after-tax annual yield per cash-option kind, the delta versus where the cash sits now, and the best option in each kind. That is clearly distinct from a raw rate lookup, though it never names a sibling (e.g. get_cash_rates) to sharpen the contrast.

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 is implied by the phrasing 'for a cash balance and the person's tax rates' — an agent can infer this is the after-tax comparison step. There is no explicit when-to-use, when-not-to-use, or named alternative, so guidance is only implicit.

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