Skip to main content
Glama

Amaltash Investment & Retirement Calculators

T-Bill Ladder Calculator

tbill_ladder
Read-onlyIdempotent

Treasury bill ladder calculator with an interactive timeline chart. Lays out how much goes in each same-term bill, how far apart to buy them, and the first and last dates. Shows simple interest only if a rate is given.

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": {
      "amount": "<amount>",
      "rungs": "<rungs>",
      "term_weeks": "<term_weeks>",
      "start_date": "<start_date>"
    },
    "name": "tbill_ladder"
  }
}

Input Schema

NameRequiredDescriptionDefault
rungsYesHow many bills to stagger, a whole number no larger than the term in weeks (13 at most for 52-week bills).
amountYesTotal dollars to split across the bills, from 0 to 1,000,000,000.
rate_pctNoAn annual interest rate the person chooses, in percent, from 0 to 25. Leave out to skip interest.
start_dateYesThe first purchase date, as YYYY-MM-DD.
term_weeksYesLength of each bill in weeks: 4, 8, 13, 17, 26 or 52.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / start_date / allOf
      Added value: +[
      +  {
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +    "type": "string"
      +  },
      +  {
      +    "pattern": "^20\\d{2}-",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / start_date / format
      Removed value: -"date"
    • removedInput schema / properties / start_date / pattern
      Removed value: -"^20\\d{2}-"
    • addedInput schema / properties / term_weeks / anyOf
      Added value: +[
      +  {
      +    "const": 4,
      +    "type": "number"
      +  },
      +  {
      +    "const": 8,
      +    "type": "number"
      +  },
      +  {
      +    "const": 13,
      +    "type": "number"
      +  },
      +  {
      +    "const": 17,
      +    "type": "number"
      +  },
      +  {
      +    "const": 26,
      +    "type": "number"
      +  },
      +  {
      +    "const": 52,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / term_weeks / enum
      Removed value: -[
      -  4,
      -  8,
      -  13,
      -  17,
      -  26,
      -  52
      -]
    • removedInput schema / properties / term_weeks / type
      Removed value: -"number"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered by structured data. The description adds value beyond that by disclosing what the output contains (timeline chart, per-bill allocation, spacing, first and last dates) and that interest is computed as simple interest only when a rate is supplied. It does not describe validation failures or edge behavior, keeping it below a 5.

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?

Three short sentences, front-loaded with what the tool is, followed by what it outputs and the one conditional behavior. No filler or repetition, though the phrasing is conversational rather than tightly structured.

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 carries the burden of describing results, and it does so adequately by enumerating the ladder outputs and the optional interest line. For a deterministic read-only calculator with fully documented parameters, this is nearly complete; currency/formatting and any rounding behavior are unstated.

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 the schema already explains amount, rungs, term_weeks options, start_date format, and that rate_pct can be omitted to skip interest. The description restates the same concepts at a higher level without adding format or constraint detail the schema lacks. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific artifact (a Treasury bill ladder) and states what the tool produces: per-rung dollar amounts, buy spacing, first/last dates, and optional simple interest. It is not a tautology of the title. It stops short of distinguishing itself from the other financial calculators in the sibling list, so a 4 rather than a 5.

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

Usage Guidelines3/5

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

Usage is implied by the inputs described (split an amount into same-term bills over a date range), and the conditional 'shows simple interest only if a rate is given' tells the agent when the rate parameter matters. There is no explicit when-to-use-vs-alternative guidance, e.g. versus compound_interest or plan_recurring_investment, and no stated prerequisites or exclusions.

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