Skip to main content
Glama

Estimate federal tax saved

estimate_tax_savings
Read-onlyIdempotent

Estimates the federal income tax saved in 2025-2028 by the One Big Beautiful Bill Act overtime, tips and senior deductions combined. It applies each deduction's cap and phase-out, then runs taxable income through the IRS bracket tables for that year (Rev. Proc. 2024-40 for 2025, Rev. Proc. 2025-32 for 2026) before and after. 2027-2028 brackets are not published yet, so it uses 2026 and says so. Federal income tax only.

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": {
      "filing_status": "<filing_status>",
      "magi": "<magi>",
      "tax_year": "<tax_year>"
    },
    "name": "estimate_tax_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
magiYesModified adjusted gross income in USD: Form 1040 line 11b plus excluded Puerto Rico and foreign income (Schedule 1-A Part I).
tax_yearYesTax year, 2025 to 2028. The deductions end after 2028.
hourly_rateNoRegular hourly rate, if you want the premium computed from hours.
filing_statusYesFederal filing status. married_filing_separately cannot claim these deductions.
overtime_hoursNoOvertime hours for the year.
qualified_tipsNoQualified tips for the year.
overtime_multiplierNo1.5 = time-and-a-half (default).
spouse_age_65_or_olderNoJoint returns only. True if your spouse is 65+ on Dec 31.
taxpayer_age_65_or_olderNoTrue if you are 65+ on Dec 31 of the tax year.
qualified_overtime_premiumNoQualified overtime premium (W-2 box 12 code TT).
taxable_income_before_new_deductionsNoTaxable income before these deductions. If left out it is approximated as MAGI minus the basic standard deduction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description's job is to add computation semantics — and it does: it applies each deduction's cap and phase-out, computes taxable income before and after, and names the controlling revenue procedures. It also transparently discloses the 2027-2028 bracket substitution rather than silently assuming. It stops short of saying what happens when both overtime_hours+hourly_rate and qualified_overtime_premium are supplied.

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?

Three sentences, front-loaded with the verb and result, then methodology, then the year caveat and scope limit. No sentence is redundant and each adds a distinct fact.

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?

For an 11-parameter, no-output-schema estimation tool the description covers methodology, year coverage, and scope boundaries well. The main gap is return shape — "before and after" and "says so" hint at a breakdown or note field, but with no output schema the agent must call it to learn what a result looks like.

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 100%, so every parameter already carries authoritative documentation (including MAGI's Schedule 1-A Part I definition and the MFJ-only constraint on spouse_age_65_or_older). The description adds no parameter-level guidance beyond what the schema supplies, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ("Estimates"), a specific resource ("federal income tax saved"), the year range, the three deductions combined, and the computational method (caps/phase-outs then IRS bracket tables). This is clearly distinguishable from the sibling tools, which calculate single deduction amounts rather than the combined tax effect.

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?

"Federal income tax only" establishes an explicit scope exclusion, and the note about 2027-2028 brackets tells the agent how the tool degrades. However, it never states when to prefer this combined tool over calculate_overtime_deduction / calculate_tips_deduction / calculate_senior_deduction, nor any prerequisite (e.g. filing status restrictions beyond what the schema says). Usage is implied by the name, not stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.