Skip to main content
Glama

Social Security COLA 2027 MCP

Calculate earnings test withholding

calculate_earnings_test
Read-onlyIdempotent

How much Social Security withholds under the retirement earnings test for a year and annual earnings: $1 for every $2 over the limit, or $1 for every $3 in the year you reach full retirement age.

Input Schema

NameRequiredDescriptionDefault
yearNoYear 2023 to 2027. Default 2027.
annual_earningsYesWages plus net self-employment earnings for the year, in dollars. In the year you reach full retirement age, only earnings before that month.
monthly_benefitNoMonthly benefit, to estimate how many months are withheld.
reaches_full_retirement_age_this_yearNoTrue if you reach full retirement age during this year. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds the substantive withholding rules, but says nothing about how limits are sourced, that the result is an estimate, or what form the answer takes.

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

Conciseness5/5

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

A single front-loaded sentence that states the computed quantity first and then the two governing rates. Every clause earns its place and nothing is padding.

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?

For a read-only calculator with only one required parameter and full schema coverage, the description supplies the core rule needed to trust the call. The remaining gap is the absence of an output schema combined with no statement of the return value's shape (a dollar amount, possibly plus months withheld).

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 documents year, annual_earnings, monthly_benefit and the FRA flag in detail; the baseline is 3. The description's rate rules give meaning to why the FRA boolean matters, but that meaning is also already spelled out in the schema.

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 computation ('How much Social Security withholds under the retirement earnings test') and its inputs (a year and annual earnings), which is clearly distinct from the sibling calculators. It does not explicitly contrast itself with siblings such as get_social_security_limits or calculate_claiming_age_benefit, so it stops short of 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 formula it summarizes ($1 per $2 over the limit, $1 per $3 in the FRA year), but there is no explicit statement of when to call this versus the sibling limit or benefit calculators. The agent must infer the selection criteria from the tool names alone.

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.