Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

calculate_obbb_deductions

Read-onlyIdempotent

Calculates TY2025+ OBBB deductions for tips, overtime, senior bonus, and auto loan interest, showing eligibility and estimated tax savings from AGI, filing status, and income inputs.

Instructions

Calculate all OBBB (One Big Beautiful Bill) new deductions for TY2025+: tips income deduction, overtime pay deduction, senior bonus deduction, and auto loan interest deduction. Shows which deductions you qualify for and the total tax savings.

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": "calculate_obbb_deductions"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoTaxpayer age (needed for senior bonus)
agiYesAdjusted Gross Income
taxYearYesTax year (2025+)
spouseAgeNoSpouse age if MFJ
tipIncomeNoAnnual tip income from qualifying occupation
overtimePayNoAnnual overtime premium pay
filingStatusYes
marginalRateNoYour marginal tax rate (for savings estimate, e.g. 0.22)
autoLoanInterestNoInterest paid on qualifying US-assembled new vehicle loan

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
    • addedInput schema / properties / age / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / spouseAge / maximum
      Added value: +9007199254740991
  2. Changed1 schema field changedv1.0.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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds that the result shows qualification per deduction and total tax savings, which is useful beyond the annotations, but it says nothing about caps, phase-outs, or that agi/filingStatus drive eligibility—the main behavioral wrinkles for these deductions.

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 front-loaded sentences with no filler; the deduction list is the core payload and comes immediately. The 'OBBB (One Big Beautiful Bill)' expansion is slightly redundant with the tool name but aids disambiguation.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the schema covers parameter semantics for 9 params. The description is complete enough to select and call the tool; the only gap is eligibility mechanics (caps, phase-outs, which inputs gate which deduction) for a moderately complex calculation.

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 89%, so nearly every parameter is already documented in the schema, including the age-dependency for the senior bonus and the US-assembled vehicle constraint. The description adds no parameter-level meaning beyond that, so 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?

States a specific verb (calculate) and a specific resource (the four named OBBB deductions for TY2025+), enumerating tips, overtime, senior bonus, and auto loan interest. An agent can tell this apart from list_deductions or standard_vs_itemized, though it never names those siblings explicitly.

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: the 'TY2025+' qualifier signals applicability, and the enumerated deduction types hint at when a caller would pick this over list_deductions. There is no explicit when-to-use, when-not-to-use, or sibling routing guidance.

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