Skip to main content
Glama

calculate us estimated tax

calculate_us_estimated_tax
Read-onlyIdempotent

US estimated tax safe harbor (2026 Form 1040-ES): required when tax after withholding is $1,000+; pay the smaller of 90% of this year's tax and 100% of last year's (110% if last year's AGI was over $150,000, $75,000 married filing separately), split over the four due dates. United States federal, tax year 2026, as of 2026-11-21 (IRS publications, Rev. Proc. 2025-32, eCFR). General information and estimates only; no individual advice, return preparation or IRS representation (31 CFR Part 10).

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": {
      "priorTax": "<priorTax>",
      "priorAgi": "<priorAgi>",
      "currentTax": "<currentTax>"
    },
    "name": "calculate_us_estimated_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
mfsNoMarried filing separately
taxYearNoTax year (default 2026)
priorAgiYesLast year's AGI (USD)
priorTaxYesLast year's total tax (USD)
currentTaxYesExpected total tax this year (USD)
withholdingNoExpected withholding this year (USD)
priorFullYearNoLast year's return covered 12 months (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive context: the governing rule (smaller of 90% current / 100% prior, 110% with high prior AGI), jurisdiction, tax-year versioning, an as-of date, and cited sources (Rev. Proc. 2025-32, eCFR). It omits what the response contains and how the amount is split across the four due dates in output form, which matters because no output schema exists.

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?

Dense but front-loaded: the rule and threshold come first, disclaimers last. Every clause carries information (rule, thresholds, jurisdiction, versioning, sources, liability limits), with only mild padding from the regulatory citation parentheticals.

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 a seven-parameter calculator with no output schema, the description supplies the full statutory logic, the applicable filing form, year versioning, and data provenance, which is unusually complete. The remaining gap is that it never characterizes the returned result (single annualized amount vs. per-quarter installments), which an agent must guess.

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 coverage is 100%, so all seven parameters are already documented in the schema. The description adds domain meaning to priorAgi and mfs via the 110% / $150,000 / $75,000 MFS thresholds, but says nothing about withholding, priorFullYear, or taxYear defaults beyond the year reference. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

Names a specific verb-plus-resource ('US estimated tax safe harbor (2026 Form 1040-ES)') and immediately scopes it to federal, tax year 2026, which cleanly separates it from siblings such as calculate_us_self_employment_tax or calculate_us_irs_penalty. The agent knows exactly what computation is performed before reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The trigger condition is stated explicitly: the tool applies 'when tax after withholding is $1,000+'. That is genuine when-to-use guidance. It stops short of naming a sibling alternative or stating when not to use it (e.g. non-US filers, corporate estimated tax), so it does not reach the top band.

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.