Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

analyze_relocation_taxes

Read-onlyIdempotent

Compare relocation tax costs between two states using exact-year profiles and project future years when explicit annual federal and state data is supplied.

Instructions

In-depth relocation tax analysis using exact-year state profiles. Additional projection years require explicit annual federal and state data.

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>",
      "grossIncome": "<grossIncome>",
      "fromState": "<fromState>",
      "toState": "<toState>"
    },
    "name": "analyze_relocation_taxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYearYesTax year
toStateYesTarget state code
fromStateYesCurrent state code
dependentsNo
grossIncomeYesAnnual gross income
capitalGainsNo
filingStatusYes
yearsToProjectNoYears to project with explicit annual profiles (default: 1)
incomeGrowthRateNoAnnual income growth rate (e.g., 0.03 for 3%)
selfEmploymentIncomeNo

Output Schema

NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.4
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / dependents / maximum
      Added value: +9007199254740991
  2. Changed2 schema fields changedv1.0.1
    • changedInput schema / properties / yearsToProject / description
      Previous value: -"Years to project savings (default: 5)"New value: +"Years to project with explicit annual profiles (default: 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

C2.8/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 openWorldHint=false, so safety is covered. The description adds one genuinely useful behavioral constraint beyond that: additional projection years require explicit annual federal and state data, which warns the agent that yearsToProject is not a free-form extrapolation. It does not explain how that interacts with incomeGrowthRate, which the schema presents as a growth projection input.

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?

Two short sentences, front-loaded with the purpose and followed by the projection caveat; no filler. It is arguably under-specified rather than padded, which costs a point only in that the second sentence is cryptic without schema context.

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

Completeness2/5

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

For a 10-parameter, 5-required analysis tool sitting among ~40 tax siblings, the description leaves the core question unanswered: how does relocation analysis differ from compare_state_taxes or estimate_state_tax, and does it include federal liability? The output schema and read-only annotations relieve it of return-value and safety explanations, but not of positioning.

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 60%, so the schema already documents taxYear, fromState, toState, grossIncome, and yearsToProject. The description reinforces the year semantics ("exact-year state profiles") and the projection data requirement, but says nothing about the undocumented dependents, capitalGains, filingStatus, or selfEmploymentIncome parameters.

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

Purpose3/5

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

"In-depth relocation tax analysis using exact-year state profiles" names the resource domain (relocation taxes) and implies a comparison between two states, but it is a noun phrase with no verb and no explicit statement of what is computed or returned. It does not distinguish itself from close siblings such as compare_state_taxes, estimate_state_tax, or plan_multi_year_taxes.

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

Usage Guidelines2/5

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

The word "relocation" implies a move scenario, but the description never states when to call this instead of compare_state_taxes or compare_tax_years. No prerequisites, no exclusions, and no guidance on choosing between the many state-comparison siblings are given.

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