Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

simulate_tax_scenario

Read-onlyIdempotent

Calculate the exact tax impact of a what-if change by comparing your current situation with a hypothetical income change, relocation, Roth conversion, or filing status change.

Instructions

What-if tax scenario simulator. Compare your current situation against a hypothetical change: income change, relocation, Roth conversion, filing status change, etc. Shows the exact tax impact of the change.

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": {
      "taxYear": "<taxYear>",
      "filingStatus": "<filingStatus>",
      "currentIncome": "<currentIncome>"
    },
    "name": "simulate_tax_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYearYesTax year
age65OrOlderNoTaxpayer is 65 or older
currentStateNoCurrent state code
filingStatusYes
currentIncomeYesCurrent gross income
qualifiedTipsNoTY2025+ Schedule 1-A: qualified tips
whatIfNewStateNoNew state if relocating
currentDependentsNo
spouseAge65OrOlderNoSpouse is 65 or older
whatIfFilingStatusNoNew filing status
whatIfIncomeChangeNoIncome change amount (positive = more income, negative = less)
currentCapitalGainsNo
whatIfNewDependentsNoNew number of dependents
whatIfAdditional401kNoAdditional 401k contribution
whatIfItemizedChangeNoChange in itemized deductions
whatIfRothConversionNoAmount to convert from Traditional to Roth IRA
currentSelfEmploymentNo
dependentCareExpensesNoForm 2441 work-related care expenses paid
currentItemizedDeductionsNo
itemizedStateAndLocalTaxesNoCapped SALT inside currentItemizedDeductions; added back for AMT (Form 6251 line 2a)
charitableCashContributionsNoTY2026+: qualifying cash gifts to public charities for the non-itemizer deduction
qualifiedVehicleLoanInterestNoTY2025+ Schedule 1-A: interest on a new US-assembled personal vehicle loan
qualifiedOvertimeCompensationNoTY2025+ Schedule 1-A: FLSA overtime premium
itemizedCharitableContributionsNoTY2026+: charitable portion of itemized deductions, for the 0.5% of AGI floor
dependentCareQualifyingIndividualsNoQualifying individuals for the Child and Dependent Care Credit

Output Schema

NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv1.2.4
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / age65OrOlder
      Added value: +{
      +  "description": "Taxpayer is 65 or older",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / charitableCashContributions
      Added value: +{
      +  "description": "TY2026+: qualifying cash gifts to public charities for the non-itemizer deduction",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / currentDependents / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / dependentCareExpenses
      Added value: +{
      +  "description": "Form 2441 work-related care expenses paid",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / dependentCareQualifyingIndividuals
      Added value: +{
      +  "description": "Qualifying individuals for the Child and Dependent Care Credit",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / itemizedCharitableContributions
      Added value: +{
      +  "description": "TY2026+: charitable portion of itemized deductions, for the 0.5% of AGI floor",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / itemizedStateAndLocalTaxes
      Added value: +{
      +  "description": "Capped SALT inside currentItemizedDeductions; added back for AMT (Form 6251 line 2a)",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / qualifiedOvertimeCompensation
      Added value: +{
      +  "description": "TY2025+ Schedule 1-A: FLSA overtime premium",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / qualifiedTips
      Added value: +{
      +  "description": "TY2025+ Schedule 1-A: qualified tips",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / qualifiedVehicleLoanInterest
      Added value: +{
      +  "description": "TY2025+ Schedule 1-A: interest on a new US-assembled personal vehicle loan",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / spouseAge65OrOlder
      Added value: +{
      +  "description": "Spouse is 65 or older",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / whatIfFilingStatus / $ref
      Removed value: -"#/properties/filingStatus"
    • addedInput schema / properties / whatIfFilingStatus / enum
      Added value: +[
      +  "single",
      +  "married_filing_jointly",
      +  "married_filing_separately",
      +  "head_of_household"
      +]
    • addedInput schema / properties / whatIfFilingStatus / type
      Added value: +"string"
    • addedInput schema / properties / whatIfNewDependents / maximum
      Added value: +9007199254740991
  2. 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"
      +}
  3. First observedv0.5.3

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered and the description does not need to repeat it. The description adds that results show 'the exact tax impact of the change', hinting at a comparative output, but says nothing about how baseline (current*) values interact with whatIf* values, what happens when optional current fields are omitted, or any tax-year constraints despite many params being TY-specific.

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?

Three short sentences, front-loaded with the identity of the tool and immediately followed by the scenario enumeration. Minor redundancy between 'compare your current situation against a hypothetical change' and 'shows the exact tax impact of the change', and the trailing 'etc.' leaves scope slightly open, but there is no filler.

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?

With 25 parameters, only 3 required, an output schema and full annotations, the description is adequate but thin. The critical missing piece is the operational model: that the agent supplies baseline current* fields plus only the whatIf* fields it wants to test, and that tax-year-gated parameters (TY2025+ Schedule 1-A items, TY2026+ charitable rules) are ignored otherwise. The existing output schema excuses it from describing return values, but not from explaining how to drive 25 inputs.

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 80%, so the schema already documents most of the 25 parameters, establishing the baseline of 3. The description contributes the useful framing that current* fields describe the baseline and whatIf* fields describe the hypothetical, matching the four scenario types it lists, but it does not clarify interaction rules such as whether whatIfIncomeChange is an absolute delta versus a new income, or which whatIf fields can be combined.

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+resource ('What-if tax scenario simulator') and enumerates concrete scenario types (income change, relocation, Roth conversion, filing status change) plus the outcome ('exact tax impact'). It is clear what the tool does, but it does not name the overlapping siblings such as compare_filing_statuses or analyze_relocation_taxes, which also handle subsets of these scenarios.

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?

'Compare your current situation against a hypothetical change' implies the use case and the listed examples broaden it, but there is no explicit when-not guidance and no routing to the more specialized siblings (compare_filing_statuses for pure status comparison, analyze_relocation_taxes for relocation). The agent must infer which tool wins when scenarios overlap.

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