Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

analyze_mortgage_tax_benefit

Read-onlyIdempotent

Compare the tax benefit of mortgage interest and property tax deductions against the standard deduction to see whether itemizing lowers your federal income tax.

Instructions

Analyze the tax benefit of mortgage interest deduction and property taxes. Compares itemizing with mortgage vs taking the standard deduction.

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>",
      "mortgageInterest": "<mortgageInterest>",
      "propertyTaxes": "<propertyTaxes>"
    },
    "name": "analyze_mortgage_tax_benefit"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYearYesTax year
grossIncomeYesGross income, also used as MAGI because this tool does not collect MAGI adjustments
filingStatusYes
interestRateNoMortgage interest rate (e.g., 0.065 for 6.5%)
otherItemizedNoOther itemized deductions (charity, medical, etc.)
propertyTaxesYesAnnual property taxes paid
mortgageBalanceNoCurrent mortgage balance
mortgageInterestYesAnnual mortgage interest paid
stateIncomeTaxesNoState/local income taxes paid

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. Changed2 schema fields changedv1.0.1
    • addedInput schema / properties / grossIncome / description
      Added value: +"Gross income, also used as MAGI because this tool does not collect MAGI adjustments"
    • 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 read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds one behavioral fact (it performs an itemize-vs-standard comparison) but says nothing about assumptions that materially change results, such as SALT/property-tax caps or mortgage-debt limits, nor whether it is federal-only.

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 comparison behavior. No filler or repetition, though the second sentence could carry more information for the same length.

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 an output schema and full annotations, the description need not explain return values, and 9 parameters are well documented in schema. However, for a specialized deduction-analysis tool, it omits the factors that govern the answer (SALT cap, mortgage interest limits, state tax treatment), leaving an agent unsure of the model's assumptions.

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 coverage is 89%, with each parameter individually described, including the notable MAGI note on grossIncome. The description adds no meaning beyond the schema, so the baseline of 3 applies; the schema does nearly all the work.

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?

Names a specific verb and resource pair ('analyze the tax benefit of mortgage interest deduction and property taxes') and states the core computation (itemizing vs standard deduction). An agent can tell what it does, but the description never distinguishes it from the sibling 'standard_vs_itemized', which sounds like an overlapping computation.

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 statement that it compares itemizing with a mortgage against the standard deduction implies the use case, but there is no explicit when-to-use or when-not-to-use guidance and no routing to alternatives such as standard_vs_itemized or list_deductions. The choice between sibling tools is left to inference.

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