Skip to main content
Glama

finance_medicare_irmaa

Read-only

Medicare IRMAA calculator (2026 + 2027) — Medicare Part B and Part D income-related surcharge (IRMAA) from official CMS tables for 2026 and 2027: tier, Part B total premium, Part D add-on, annual and household cost, distance to the next cliff, how much MAGI cut drops a tier and what it saves, Part A/B deductibles. Params: magi= (from the tax return 2 years earlier; or agi= + tax_exempt_interest=), filing=single|joint|mfs, year=2027 (default) or 2026, part_d=true|false, both_enrolled=true|false (joint). Price: $0.003 USDC (Base, via x402).

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": {
      "magi": "<magi>"
    },
    "name": "finance_medicare_irmaa"
  }
}

Input Schema

NameRequiredDescriptionDefault
magiYes150000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds genuinely useful non-structured context: the data source (official CMS tables), the supported plan years, and a concrete price ($0.003 USDC on Base via x402), which tells the agent a paid call is involved — behavior an annotation would not reveal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and there is little pure filler, but the definition is a single dense sentence with a long output enumeration and a semicolon-separated param list. The trailing 'Params:' block consumes space while describing parameters the schema does not expose.

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

Completeness3/5

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

With no output schema, the enumerated return values are valuable and the pricing disclosure fills a real gap. However, the parameter inventory contradicts the actual one-parameter schema, leaving the agent less certain about how to invoke the tool than the schema alone would suggest.

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

Parameters2/5

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

The description documents magi as coming from a return two years prior, which adds meaning, but it then advertises filing, year, part_d, both_enrolled, agi, and tax_exempt_interest — none of which exist in the input schema, which has only 'magi'. This actively misleads an agent into passing unsupported arguments, outweighing the useful MAGI timing note.

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 names a specific verb+resource ('Medicare IRMAA calculator') and enumerates the exact outputs (tier, Part B premium, Part D add-on, cliff distance, deductibles), so an agent knows precisely what this computes. It is unmistakably distinct from siblings like finance_income_tax or finance_rmd.

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 context is only implied: it states MAGI comes 'from the tax return 2 years earlier', which hints at the right input, but there is no explicit when-to-use/when-not guidance and no routing to or from alternatives. The year default (2027) and filing-status options are listed without saying when each applies.

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