Skip to main content
Glama
irs-taxpayer-mcp

irs-taxpayer-mcp

by dma9527

analyze_paycheck

Read-onlyIdempotent

Enter your pay stub details to verify paycheck withholding accuracy and see whether your employer is withholding the right amount for the tax year.

Instructions

Analyze a paycheck to verify withholding accuracy. Input your pay stub numbers and see if your employer is withholding the right amount.

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>",
      "payFrequency": "<payFrequency>",
      "grossPay": "<grossPay>",
      "federalWithheld": "<federalWithheld>"
    },
    "name": "analyze_paycheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxYearYesTax year
grossPayYesGross pay this period
stateCodeNo
age65OrOlderNoTaxpayer is 65 or older
filingStatusYes
payFrequencyYes
stateWithheldNoState tax withheld this period
retirement401kNo401k/403b pre-tax contribution this period
federalWithheldYesFederal tax withheld this period
hsaContributionNoHSA contribution this period
medicareWithheldNoMedicare withheld
spouseAge65OrOlderNoSpouse is 65 or older
annualQualifiedTipsNoTY2025+ Schedule 1-A: expected annual qualified tips
otherDependentsForOdcNoDependents verified for the Credit for Other Dependents
socialSecurityWithheldNoSocial Security withheld
qualifyingChildrenForCtcNoChildren verified for the Child Tax Credit
annualQualifiedOvertimeCompensationNoTY2025+ Schedule 1-A: expected annual FLSA overtime premium

Output Schema

NameRequiredDescriptionDefault
textYes
errorNo
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.2.4
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / age65OrOlder
      Added value: +{
      +  "description": "Taxpayer is 65 or older",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / annualQualifiedOvertimeCompensation
      Added value: +{
      +  "description": "TY2025+ Schedule 1-A: expected annual FLSA overtime premium",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / annualQualifiedTips
      Added value: +{
      +  "description": "TY2025+ Schedule 1-A: expected annual qualified tips",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / otherDependentsForOdc
      Added value: +{
      +  "description": "Dependents verified for the Credit for Other Dependents",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / qualifyingChildrenForCtc
      Added value: +{
      +  "description": "Children verified for the Child Tax Credit",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / spouseAge65OrOlder
      Added value: +{
      +  "description": "Spouse is 65 or older",
      +  "type": "boolean"
      +}
  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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the useful framing that this is a comparison/verification operation against employer-withheld amounts, but says nothing about how optional inputs like stateCode or annualQualifiedTips affect the analysis, or about limitations such as which tax years are supported.

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 with the purpose front-loaded; nothing is padded. The second sentence partially restates the first's intent, but it does introduce the concrete input expectation, so the redundancy is mild.

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?

For a 17-parameter tool with an output schema present, the description is adequate but thin: it doesn't mention the tax-year sensitivity of certain fields (annualQualifiedTips, annualQualifiedOvertimeCompensation are TY2025+) or that state analysis is optional. The schema and annotations carry most of the weight, leaving the description serviceable but not self-sufficient.

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 high (82%), so the schema itself documents most of the 17 parameters, including the enum values for filingStatus and payFrequency. The description only gestures at "pay stub numbers" generically and adds no meaning about which fields are required versus optional or how the state fields pair with stateWithheld.

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 and resource ("Analyze a paycheck") plus the concrete goal ("verify withholding accuracy"), which separates it from siblings like calculate_federal_tax or calculate_w4_withholding that compute a theoretical liability rather than checking a real stub. It never names a sibling explicitly, so the differentiation is inferable rather than stated.

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?

"Input your pay stub numbers and see if your employer is withholding the right amount" implies the prerequisite (you must already have a pay stub with actual withholding figures) and gives a clear success condition. There is no explicit when-not guidance and no pointer to the adjacent tools an agent should choose instead when the user has no stub yet (e.g., prospective W-4 calculations).

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