Skip to main content
Glama

Value a payment stream or judge an offer

value_payment_stream
Read-only

Present value of a structured settlement, annuity or lottery payment stream at typical buyer discount rates (8% to 18%), and, if a lump-sum offer is given, the effective discount rate that offer implies, the cents on the dollar, and whether it sits in the typical range. Use when someone asks what their payments are worth, or whether an offer is fair.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of payments left (give this, or years and/or months)
offerNoLump sum a buyer has offered for these payments, in US dollars (optional)
yearsNoYears of payments left (alternative to count)
monthsNoExtra months of payments left (used with years)
paymentYesAmount of each payment in US dollars
frequencyYesHow often the payments arrive
lifeContingentNotrue if the payments stop at the recipient's death
startsInMonthsNoMonths until the first payment, if the payments have not started yet (default 0)
annualIncreasePctNoYearly step-up in the payment, in percent (for example 3 for 3% a year)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety profile is covered. The description adds genuinely useful context beyond that: the discount-rate band it applies (8%–18%), that 'typical range' is used as a judgment criterion, and that offering a lump sum changes the nature of the computation. It does not disclose mortality assumptions behind lifeContingent or any jurisdictional limits.

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?

Two sentences, front-loaded with the core computation and trailing the use case. Slightly dense with the stacked output list, but every clause carries information and nothing is redundant filler.

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?

With no output schema, the description does the work of describing returns (present value, effective discount rate, cents on the dollar, typical-range verdict), which is the critical gap for this tool. Remaining omissions are secondary: how lifeContingent is actuarially handled and whether results are state/jurisdiction dependent.

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% across 9 parameters, so the schema already carries the parameter meanings. The description adds only one semantic detail beyond the schema: that supplying 'offer' turns the tool into an implied-rate/'fairness' judgement rather than a plain valuation. Baseline 3 is appropriate.

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 ('present value ... and effective discount rate') against a specific resource ('structured settlement, annuity or lottery payment stream'), and enumerates the concrete outputs an agent can expect. The sibling tools (discount_rate_index, list_states, state_transfer_rules) occupy clearly different domains, so no ambiguity arises.

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 the triggering situations: 'when someone asks what their payments are worth, or whether an offer is fair.' That is clear usage context, but it names no alternatives or exclusion conditions (e.g., what to do for non-US or non-stream assets).

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