Skip to main content
Glama

Arc & Ledger Tax Tools

Project year-end tax for an employee

project_year_end_tax
Read-only

Use this when someone paid by paycheck asks how much federal tax they will owe this year, whether they will get a refund, or whether to change their withholding before the year ends. From the latest paystub it projects full-year wages, federal tax, the balance or refund, the underpayment safe harbor, and the extra withholding per remaining paycheck that reaches it. Wages 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>",
      "ytd_wages_usd": "<ytd_wages_usd>",
      "ytd_federal_withholding_usd": "<ytd_federal_withholding_usd>",
      "paychecks_received": "<paychecks_received>",
      "paychecks_remaining": "<paychecks_remaining>"
    },
    "name": "project_year_end_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
filing_statusYesFederal filing status for the year.
ytd_wages_usdYesYear-to-date federal taxable wages from the latest paystub (not gross pay). If you already have a full-year figure, pass it here with paychecks_remaining 0.
age_65_or_overNoThe taxpayer is 65 or older at the end of the year.
other_dependentsNoDependents who are not qualifying children.
expected_bonus_usdNoA bonus still expected this year that is not yet on the paystub.
paychecks_receivedYesNumber of paychecks received so far this year.
prior_year_agi_usdNoAdjusted gross income on last year's return (2025 Form 1040, line 11b).
paychecks_remainingYesNumber of paychecks still to come this year. Zero when the last paycheck of the year has been paid.
qualifying_childrenNoChildren under 17 claimed for the child tax credit.
spouse_ytd_wages_usdNoMarried filing jointly only: the spouse's year-to-date federal taxable wages.
spouse_age_65_or_overNoMarried filing jointly only: the spouse is 65 or older at the end of the year.
prior_year_total_tax_usdNoTotal tax on last year's return (2025 Form 1040, line 24). Enables the safe harbor based on last year.
spouse_paychecks_receivedNoMarried filing jointly only: paychecks the spouse has received so far this year.
spouse_paychecks_remainingNoMarried filing jointly only: paychecks the spouse still has to come this year.
ytd_federal_withholding_usdYesYear-to-date federal income tax withheld from the same paystub. Not Social Security or Medicare.
spouse_ytd_federal_withholding_usdNoMarried filing jointly only: the spouse's year-to-date federal income tax withheld.

Output Schema

NameRequiredDescriptionDefault
relayYesInstruction to the calling assistant: relay figures and dates verbatim (identical on every response).
next_stepYesA single review link appropriate to this server surface.
disclaimerYesGeneral-information disclaimer (identical on every response).
source_urlYesThe arcandledger.com page that backs this answer.
server_versionNoServer release that produced this response (matches GET /version).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / prior_year_agi_usd / description
      Previous value: -"Adjusted gross income on last year's return (Form 1040, line 11)."New value: +"Adjusted gross income on last year's return (2025 Form 1040, line 11b)."
    • changedInput schema / properties / prior_year_total_tax_usd / description
      Previous value: -"Total tax on last year's return (Form 1040, line 24). Enables the safe harbor based on last year."New value: +"Total tax on last year's return (2025 Form 1040, line 24). Enables the safe harbor based on last year."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that the tool is read-only, non-destructive, and closed-world, so the bar is lower. The description adds useful behavioral context by identifying the latest paystub as the input source, calling the result a projection, and limiting scope to wages only; it does not explain modeling assumptions or accuracy caveats.

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?

The usage condition is front-loaded, followed by the projected outputs and a short scope limit. Three sentences, no wasted wording, and the 'Wages only.' fragment lands the key constraint clearly.

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 16-parameter projection tool with a full output schema and complete parameter descriptions, the definition covers when to use it, what it returns, and its wage-only scope. It does not explain assumptions around optional spouse, dependent, or prior-year inputs, but the schema carries those details.

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 is already documented in detail. The description reinforces the paystub source and the meaning of projecteds withholding per remaining paycheck, but adds little meaning beyond what the schema already says.

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?

The description uses a specific verb, 'projects,' and names the exact resource: full-year federal tax, refund/balance, safe harbor, and withholding adjustment from a paystub. The 'Wages only' constraint distinguishes it from broader tax-estimation siblings and makes its scope immediately clear.

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?

It gives explicit triggering conditions: someone paid by paycheck asking about year-end federal tax, refund, or changing withholding. The 'Wages only' phrase provides an implied exclusion, but it does not name alternative tools or spell out when not to use it beyond that scope.

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.

Resources