Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

calculate_eitc

Read-onlyIdempotent

Calculates the exact Earned Income Tax Credit amount from tax year, filing status, earned income, AGI, and qualifying children to estimate a refundable credit for eligible workers.

Instructions

Calculate the exact Earned Income Tax Credit (EITC) amount. The EITC is one of the largest refundable credits for low-to-moderate income workers.

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>",
      "earnedIncome": "<earnedIncome>",
      "agi": "<agi>",
      "qualifyingChildren": "<qualifyingChildren>"
    },
    "name": "calculate_eitc"
  }
}

Input Schema

NameRequiredDescriptionDefault
agiYesAdjusted Gross Income
taxYearYesTax year (2024, 2025, or 2026)
earnedIncomeYesEarned income (wages, salary, self-employment)
filingStatusYes
investmentIncomeNoInvestment income (interest, dividends, capital gains)
qualifyingChildrenYesNumber of qualifying children (0-3)

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
    • 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.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that — no note on whether eligibility rules are enforced, how phase-outs or the investment-income limit are handled, or what happens with unsupported tax years. The word 'exact' is the only behavioral signal, and it is unelaborated.

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?

The purpose is front-loaded in the first sentence, which is good. The second sentence is a marketing-style factoid about EITC size that does not help an agent select or invoke the tool, so it does not earn its place.

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?

The tool has rich annotations, an output schema, and 83% parameter coverage, so most of the calling burden is already handled elsewhere. The description only needs to establish purpose and selection guidance, and while selection guidance is missing, the remaining gaps are modest given how much structured context is supplied.

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 83%, so the schema already documents agi, earnedIncome, investmentIncome, taxYear and qualifyingChildren. The description contributes no parameter-level meaning at all — for instance, it never mentions that investmentIncome triggers a disqualification threshold or why filingStatus and qualifyingChildren interact. Baseline 3 applies because the schema carries the load.

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 opens with a specific verb and resource: 'Calculate the exact Earned Income Tax Credit (EITC) amount.' That is unambiguous and distinguishes it from siblings like calculate_federal_tax or list_tax_credits. It stops short of naming a sibling or stating scope boundaries (e.g., vs. check_credit_eligibility), which keeps it from a 5.

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?

The second sentence ('The EITC is one of the largest refundable credits for low-to-moderate income workers') is background information, not usage guidance. Nothing states when an agent should call this instead of check_credit_eligibility (eligibility screening) or estimate_premium_tax_credit, nor are prerequisites or exclusion cases given.

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