Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

standard_vs_itemized

Read-onlyIdempotent

Compares the standard deduction against itemized deductions to determine which lowers tax liability more for a given tax year, filing status, and AGI.

Instructions

Compare standard deduction vs itemized deductions to determine which is more beneficial.

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>",
      "agi": "<agi>"
    },
    "name": "standard_vs_itemized"
  }
}

Input Schema

NameRequiredDescriptionDefault
agiYesAdjusted Gross Income (needed for medical expense threshold)
blindNo
taxYearYesTax year (2024, 2025, or 2026)
age65OrOlderNo
filingStatusYes
otherItemizedNoOther itemized deductions
medicalExpensesNoUnreimbursed medical expenses
stateLocalTaxesNoState/local income + property taxes paid
mortgageInterestNoHome mortgage interest paid
charitableDonationsNoCharitable contributions claimed on Schedule A
nonItemizerCashDonationsNoTY2026+: qualifying cash gifts to public charities (not donor-advised funds) for the non-itemizer deduction

Output Schema

NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.4
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / charitableDonations / description
      Previous value: -"Charitable contributions"New value: +"Charitable contributions claimed on Schedule A"
    • addedInput schema / properties / nonItemizerCashDonations
      Added value: +{
      +  "description": "TY2026+: qualifying cash gifts to public charities (not donor-advised funds) for the non-itemizer deduction",
      +  "minimum": 0,
      +  "type": "number"
      +}
  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

C2.6/5.0
Behavior2/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 covered. The description adds essentially nothing beyond purpose: it does not mention the supported tax years (2024-2026), that nonItemizerCashDonations only applies to TY2026+, or how the comparison is framed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no filler, which is structurally clean. However, the brevity reflects under-specification rather than tightness for a tool taking 11 inputs.

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?

An output schema exists so return values need not be explained, but for an 11-parameter comparison tool spanning multiple tax years, a single sentence leaves key behavioral context (year-specific rules, the non-itemizer deduction case) undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 11 parameters and 73% schema description coverage, several inputs (blind, age65OrOlder, filingStatus enum, mortgageInterest nuances) rely on the schema alone. The description mentions no parameters at all, so it does not compensate for the coverage gap on a moderately complex input set.

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 uses a specific verb ('Compare') with named resources ('standard deduction vs itemized deductions') and states the decision goal. It is clear what the tool does, but it does not distinguish itself from siblings like list_deductions or calculate_obbb_deductions, which an agent could plausibly confuse with it.

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?

There is no explicit guidance on when to choose this tool versus alternatives, no precondition statements, and no exclusions. Usage is only implied by the phrase 'to determine which is more beneficial.'

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