Skip to main content
Glama

Compare US traditional vs roth

compare_us_traditional_vs_roth
Read-onlyIdempotent

US traditional vs Roth: after-tax value of the same pre-tax budget, given today's marginal rate and the expected rate on withdrawal. Financial planning check from official scheme rules, same code as tools.oiyo.net. General information only: not financial, tax or investment advice, and no product is recommended.

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": {
      "contribution": "<contribution>",
      "years": "<years>",
      "growth": "<growth>",
      "rateNow": "<rateNow>",
      "rateLater": "<rateLater>"
    },
    "name": "compare_us_traditional_vs_roth"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsYesYears invested
growthYesAnnual return after fees, e.g. 0.06
rateNowYesMarginal federal rate now, e.g. 0.22
rateLaterYesExpected marginal rate on withdrawals
contributionYesYearly contribution, pre-tax USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered. The description adds useful context beyond that - the model assumption (equal pre-tax budget), provenance ('official scheme rules, same code as tools.oiyo.net'), and a scope disclaimer that it is not advice - but says nothing about the result shape or assumptions/limitations of the comparison itself.

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?

Compact and front-loaded, with the core comparison in the opening clause before caveats. The colon-fragment opener and the trailing legal disclaimer are slightly stiff but each sentence carries informational weight; nothing is redundant.

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

Completeness3/5

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

All five required parameters are covered by the schema, and the description supplies the modeling premise. However, with no output schema there is no statement of what is returned (e.g. two after-tax values, a difference, a recommendation-free verdict), so an agent cannot anticipate the response format without calling it.

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 the baseline is 3. The description adds one genuinely useful semantic point the schema does not: 'contribution' is spent as the same pre-tax budget in both scenarios, which explains how the comparison is normalized. The rateNow/rateLater distinction is already fully documented in 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 first clause names the specific comparison ('US traditional vs Roth: after-tax value of the same pre-tax budget') and the inputs that drive it, so an agent knows this is a numeric comparison tool, not a rules lookup. It is distinguishable from the calculate_us_* siblings by name and by the 'vs' framing, though the description never explicitly contrasts itself with them.

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 only implied: 'Financial planning check' and the framing around today's marginal rate vs expected withdrawal rate suggest when the tool applies, but there is no explicit when-to-use/when-not guidance and no named alternative (e.g. calculate_us_retirement_limits). The agent must infer the scenario.

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.