Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

analyze_education_tax_benefits

Read-onlyIdempotent

Compare AOTC, Lifetime Learning Credit, student loan interest deduction, and 529 plan benefits using income, filing status, tuition, and enrollment details to identify eligible education tax savings.

Instructions

Compare education tax benefits: AOTC vs Lifetime Learning Credit, student loan interest deduction, and 529 plan advantages.

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": {
      "filingStatus": "<filingStatus>",
      "agi": "<agi>",
      "tuitionPaid": "<tuitionPaid>",
      "isUndergrad": "<isUndergrad>"
    },
    "name": "analyze_education_tax_benefits"
  }
}

Input Schema

NameRequiredDescriptionDefault
agiYesAdjusted Gross Income
taxYearNoTax year (default: 2026)
has529PlanNoContributing to or using a 529 plan
isUndergradYesIs the student in first 4 years of undergrad?
tuitionPaidYesTuition and qualified expenses paid
filingStatusYes
contribution529No529 plan contribution this year
yearsAOTCClaimedNoYears AOTC already claimed (max 4)
studentLoanInterestNoStudent loan interest paid this year

Output Schema

NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.4
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / taxYear
      Added value: +{
      +  "description": "Tax year (default: 2026)",
      +  "type": "number"
      +}
  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 readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the topic scope but nothing behavioral beyond it – no mention of MAGI phaseout sensitivity, the default tax year of 2026, or whether results are estimates versus definitive eligibility determinations. With annotations carrying the safety burden, a 3 is appropriate.

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?

A single front-loaded sentence with no filler; the verb and the compared items appear immediately. Nothing could be removed without losing meaning.

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?

An output schema exists so return values need no explanation, and the parameter set is well documented. However, for a 9-parameter analysis tool the description does not say how inputs interact (e.g., that yearsAOTCClaimed caps AOTC eligibility or that isUndergrad gates the AOTC comparison), leaving an agent to infer the analytical logic.

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 (agi, tuitionPaid, isUndergrad, yearsAOTCClaimed, contribution529, studentLoanInterest) is already documented in the schema. The description mentions the concepts behind those inputs but adds no syntax, format, or interaction detail, so the 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 ('Compare') and a specific resource ('education tax benefits'), then enumerates the exact items compared: AOTC, Lifetime Learning Credit, student loan interest deduction, and 529 plans. This clearly separates it from generic siblings like list_tax_credits and check_credit_eligibility, though it never explicitly names those siblings as alternatives.

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 this is for weighing education-related tax options. There is no statement of when to prefer it over check_credit_eligibility or list_tax_credits, no prerequisites (e.g., that the student must have qualifying expenses), and no exclusions.

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