Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

compare_mfj_vs_mfs

Read-onlyIdempotent

Compare Married Filing Jointly and Married Filing Separately to see the tax difference and identify MFS restrictions that may affect your return.

Instructions

Compare Married Filing Jointly (MFJ) vs Married Filing Separately (MFS). Shows tax difference and lists all MFS restrictions that may affect your situation.

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>",
      "spouse1Income": "<spouse1Income>",
      "spouse2Income": "<spouse2Income>"
    },
    "name": "compare_mfj_vs_mfs"
  }
}

Input Schema

NameRequiredDescriptionDefault
hasEITCNoEither spouse would qualify for EITC
taxYearYesTax year (2024, 2025, or 2026)
dependentsNoNumber of qualifying children (maximum 20)
spouse1IncomeYesSpouse 1 gross income
spouse2IncomeYesSpouse 2 gross income
itemizedDeductionsNoTotal itemized deductions (combined for MFJ, split for MFS)
hasEducationCreditsNoEither spouse claiming AOTC or LLC
hasIRAContributionsNoEither spouse contributing to IRA
studentLoanInterestNoEither spouse paying student loan interest

Output Schema

NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.4
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed4 schema fields changedv1.0.1
    • changedInput schema / properties / dependents / description
      Previous value: -"Number of qualifying children"New value: +"Number of qualifying children (maximum 20)"
    • addedInput schema / properties / dependents / maximum
      Added value: +20
    • 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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered by structured data. The description adds that the response includes the MFS restriction list, which is modestly useful behavioral context, but since an output schema exists that content is largely already discoverable. No notes on assumptions or limitations of the comparison.

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 short sentences, front-loaded with the comparison being made, and the second sentence tells the agent what comes back. Nothing is wasted or 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?

With a rich schema and an output schema, the description covers enough to call the tool correctly. The main missing piece is sibling differentiation against 'compare_filing_statuses' and any hint about the scenario flags that materially change the result (EITC, education credits, IRA, student loan interest).

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% across all 9 parameters, so the schema fully documents taxYear, incomes, dependents, and the boolean scenario flags. The description mentions none of them, so it adds no meaning beyond the schema — baseline 3 applies.

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 description names a specific comparison (Married Filing Jointly vs Married Filing Separately) and states what the result contains: the tax difference plus the list of MFS restrictions. That is a concrete verb-plus-resource statement. It stops short of 5 because the sibling 'compare_filing_statuses' covers overlapping ground and the description does nothing to distinguish the two.

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 — an agent can infer you call this when a married couple is weighing joint vs separate filing. There is no explicit when-to-use statement, no prerequisites (e.g., both spouses must have income figures), and no guidance on when 'compare_filing_statuses' would be the better choice.

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