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 rating increase and asks what the retroactive amount would be. 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. 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. 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. It does not set an effective date and it does not report an amount VA has authorized.

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.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is known. The description adds valuable behavioral context: the payment start rule under 38 CFR 3.31, rate table source difference (published vs reconstructed), the assumption of constant dependent status, and the specific limitation that it handles only increases and refuses pre-1990 effective dates. This goes well beyond what annotations provide, giving the agent a thorough understanding of the tool's behavior.

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?

The description is relatively long but densely packed with necessary details. It front-loads the primary use case and then logically organizes assumptions, rate sources, and limitations. Every sentence adds value, though some redundancy exists (e.g., mentioning 'increase only' twice). Overall, it is appropriately structured for the complexity of the tool, without unnecessary fluff.

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?

Given the tool's complexity (7 parameters, no output schema), the description is remarkably complete. It describes the output (per-month breakdown, assumptions, disclaimer), explains the rate table methodology (published vs reconstructed), notes the critical rule about payment start date, and specifies exclusions and limitations. This fully equips an agent to call the tool correctly and interpret results, despite no explicit output schema.

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% with descriptions for each parameter, so the baseline is 3. The description adds meaning beyond schema by clarifying how parameters are used: e.g., effectiveDate determines the period, adjudicationDate (though schema says defaults to today) is explained as defining the end of the period (through month of adjudication). It also explains that isTdiu treats as 100% for monetary calculation, which is not in the schema's description. This extra context elevates the score one point above baseline.

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 clearly states it estimates retroactive back pay given an effective date and rating increase, and explicitly distinguishes from sibling tools like lookup_compensation_rate (which likely retrieves rates) and calculate_combined_rating (which combines ratings). It specifies the output (per-month breakdown, assumptions, disclaimer), making its purpose unambiguous.

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?

Explicitly states when to use: 'Use this when a veteran gives an effective date and a rating increase and asks what the retroactive amount would be.' It also gives exclusions (does not set effective date, does not report authorized amount) and limitations (increase only, pre-1990 refused). However, it does not mention alternative tools by name, but the context is clear enough for an agent to decide.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool targets a distinct VA disability operation — analyzing rating gaps, combining ratings, calculating rolling windows, checking presumptive eligibility, comparing criteria, computing retroactive pay, finding secondary conditions, looking up rates, preparing for exams, and searching legal authority. No two tools overlap in purpose; the 'calculate_*' trio is differentiated by input (percentages vs. episodes) and domain (combined rating vs. disc syndrome).

Naming Consistency5/5

All tool names follow a clear verb_noun snake_case pattern: analyze_, calculate_, check_, compare_, compute_, find_, lookup_, prepare_, search_. The verbs are semantically appropriate ('calculate' for numeric computation, 'check' for eligibility, 'lookup' for rate tables), and there are no mixed conventions or vague verbs like 'run' or 'do'.

Tool Count4/5

The server advertises 10 tools, but only 9 are listed. 9 tools is a well-scoped count for a VA disability rating assistant—each covers a distinct workflow step. The discrepancy may indicate a missing tool description in the input, so I deduct slightly for the listing mismatch, but the count itself is appropriate.

Completeness4/5

The surface covers rating analysis (gap, combined, rolling window), eligibility (presumptive), criteria search, pay estimation, secondary conditions, rate lookup, exam prep, and legal research. Notable gaps: no tool for filing a claim or appeal, no direct 'get rating schedule' without a specific diagnostic code, and no tool for calculating effective dates or handling denials. However, the core rating and compensation lifecycle is well covered.

Resources