Skip to main content
Glama
dma9527

irs-taxpayer-mcp

by dma9527

plan_retirement_withdrawals

Read-onlyIdempotent

Plan tax-efficient retirement withdrawals: find the optimal order to draw from Traditional IRA, Roth IRA, and taxable accounts to minimize lifetime tax.

Instructions

Plan tax-efficient retirement withdrawals. Determines optimal order to draw from Traditional IRA, Roth IRA, and taxable accounts to minimize lifetime tax.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYesYour current age
taxYearYesTax year
rothBalanceYesRoth IRA/401k balance
filingStatusYes
pensionIncomeNoAnnual pension income
annualSpendingYesAnnual spending need (pre-tax)
taxableBalanceYesTaxable brokerage account balance
traditionalBalanceYesTraditional IRA/401k balance
socialSecurityIncomeNoAnnual Social Security income
rothConversionInterestNoInterested in Roth conversion strategy?

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "error": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "suggestion": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message",
      +        "suggestion"
      +      ],
      +      "type": "object"
      +    },
      +    "isError": {
      +      "type": "boolean"
      +    },
      +    "text": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "text",
      +    "isError"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.5.3

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds value by disclosing the analytic behavior — it computes a draw-order strategy rather than producing a single tax number — and states the optimization objective. No contradictions with annotations.

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 sentences with zero filler: the first front-loads the headline purpose, the second supplies the concrete methodology (draw order, account types, optimization goal). Every clause earns its place, and the structure leads with the most decision-relevant information.

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?

Given an output schema exists (so return values need no explanation), rich safety annotations, and 90% parameter coverage, the description covers what an agent needs to select and invoke the tool. The only gap is silence on model assumptions — e.g., whether RMDs, state taxes, or future tax-law changes are modeled — which is useful but not essential for correct invocation.

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 90%, so the schema already documents nearly all parameters. The description adds modest linkage value by naming the account types that map to traditionalBalance, rothBalance, and taxableBalance, which helps an agent map inputs to the strategy. This sits at the baseline for high-coverage schemas; no parameter syntax or format detail is needed beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ('Plan'/'Determines') with a precise resource — the optimal withdrawal order across Traditional IRA, Roth IRA, and taxable accounts — and a measurable objective: minimize lifetime tax. This clearly differentiates it from siblings like calculate_total_tax or simulate_tax_scenario, and the account-type specificity prevents confusion with the more generic get_retirement_strategy.

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 use case is implied by the description: an agent would select this when asked to plan tax-efficient retirement withdrawals. However, it provides no explicit when/when-not guidance or alternatives — notably, get_retirement_strategy and simulate_tax_scenario are nearby siblings that could plausibly compete for the same request, and no routing criterion is given.

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