Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

compare_filing_statuses

Read-onlyIdempotent

Compare tax liability across filing statuses using the same income to determine which status lowers tax owed or improves refund outcome.

Instructions

Compare tax liability across different filing statuses for the same income. Helps determine the most advantageous filing status.

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>",
      "grossIncome": "<grossIncome>"
    },
    "name": "compare_filing_statuses"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYearYesTax year (2024, 2025, or 2026)
dependentsNoNumber of qualifying dependents
grossIncomeYesTotal gross income
itemizedDeductionsNoItemized deductions if applicable

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 / taxYear / description
      Previous value: -"Tax year (2024 or 2025)"New value: +"Tax year (2024, 2025, or 2026)"
    • 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 this a safe read-only, idempotent, closed-world operation, so the safety profile is covered. The description adds the substantive behavioral fact that income is held equal across comparisons, but it never says how many or which statuses are evaluated, whether dependents/deductions are applied uniformly, or what assumptions (standard vs itemized) are baked in.

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 with the core operation front-loaded and no filler. The second sentence is somewhat redundant with the first but does add the purpose (choosing the best status), so it earns most of its place.

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?

An output schema exists, so return-value explanation is not required, and the four flat numeric parameters are fully documented by the schema. What remains missing is the scope of the comparison (which filing statuses) and how this differs from closely named siblings — the main sources of misfire for an agent.

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 100% — taxYear, grossIncome, dependents, and itemizedDeductions are each documented in the schema with ranges and meaning. The description's only parameter-adjacent content is "same income," which merely restates grossIncome's role rather than adding semantics.

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?

"Compare tax liability across different filing statuses for the same income" gives a specific verb (compare) and resource (filing status tax liability) with the key constraint that income is held constant. It does not, however, distinguish itself from the sibling 'compare_mfj_vs_mfs', which sounds like a narrower version of the same operation, leaving the agent to guess which to pick.

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?

"Helps determine the most advantageous filing status" implies the use case (choosing a status), but gives no explicit when-to-use/when-not guidance and never names an alternative. With siblings like compare_mfj_vs_mfs, calculate_federal_tax, and compare_state_taxes present, an agent has no routing signal from this description.

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