Skip to main content
Glama

Estimate retroactive back pay

compute_retroactive_pay
Read-onlyIdempotent

Use this when a veteran gives an effective date and a VA rating increase and asks what the retroactive amount would be. It does not set an effective date and it does not report an amount VA has authorized. Returns an estimate of the difference in monthly compensation for each month of the period, with a per-month breakdown, the assumptions behind it, and its own disclaimer. Under 38 CFR 3.31 payment starts on the first day of the month FOLLOWING the month the award became effective, with no exception when the effective date is itself the first of a month, and the period runs through the month of adjudication, which is counted in full. VA rate tables take effect on December 1, so a payment year runs from December 1 through November 30 and December of one year is paid at the next payment year rates. Each month of the breakdown reports the payment year it was paid from (rateYear), that table effective date (rateTableEffectiveDate) and where the table came from (rateSource), and the tables the period drew on are listed once each in rateTables; a published table carries the VA page it was transcribed from, and a reconstructed table carries none, because it is derived rather than transcribed. Monthly rates for payment years 2000 onward are read from VA published rate tables; earlier years are reconstructed from the current published table back-adjusted by the SSA cost-of-living chain, and the result states which of the two the requested period used. A month past the newest published table is served from the newest one available, and the result then reports totalIsExact false with incompleteReason naming those months. The total is an estimate either way, because dependent status is taken as constant across the period. It handles an increase only: the new rating has to be higher than the previous one, and effective dates before 1990 are refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
isTdiuNoWhether the new rating includes TDIU (treats as 100% for $).
toRatingYesNew VA rating percentage (0-100).
hasSpouseYesWhether the veteran was married during the period.
fromRatingYesPrevious VA rating percentage (0-100).
effectiveDateYesISO date YYYY-MM-DD of rating change effective date.
dependentCountYesNumber of dependent children under 18.
adjudicationDateNoISO date the rating decision was issued. Defaults to today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish a safe, read-only, idempotent profile, and the description goes well beyond that with domain behavior: the 38 CFR 3.31 payment-start rule, the December 1 payment-year boundary, pre-2000 tables reconstructed via the SSA COLA chain, months past the newest table served from the newest available with totalIsExact=false and incompleteReason, and the constant dependent-status assumption that makes the total an estimate. These are the operational caveats an agent needs and none are derivable from annotations or schema.

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?

Usage and the key exclusions are front-loaded, and most sentences carry real load — especially the return-shape details, which are load-bearing because there is no output schema. It is nonetheless a dense single block of roughly 330 words covering rate-table mechanics that could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description accepts the burden of describing the return: per-month breakdown, rateYear, rateTableEffectiveDate, rateSource, rateTables, totalIsExact, incompleteReason, assumptions, and disclaimer. Combined with the coverage rules and refusal conditions, an agent has everything needed to call and interpret it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds some meaning on top, notably that dependent status is treated as constant across the period and that the tool acts on a rating increase (fromRating must be below toRating). It does not, however, add format or boundary detail for adjudicationDate or isTdiu beyond what the schema already states.

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 opens with a precise verb+resource ('estimate the retroactive amount') tied to a concrete trigger: a veteran supplying an effective date and a VA rating increase. It is clearly distinguishable from siblings like calculate_combined_rating or lookup_compensation_rate, which do not model a retroactive period.

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

Usage Guidelines5/5

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

It states exactly when to use it ('when a veteran gives an effective date and a VA rating increase and asks what the retroactive amount would be') and carves out explicit non-uses: it does not set an effective date and does not report an authorized amount. It further bounds usage by noting it handles increases only (new rating must exceed the previous one) and refuses effective dates before 1990.

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