Skip to main content
Glama

Purchasing Power

PurchasingPower
Read-only

Purchasing Power: Purchasing Power calculates the inflation-adjusted value of money between any two time periods. Find out what $100 from 1990 is worth today, or calculate real returns on investments accounting for inflation. (Cost: 2 credits)

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>",
      "from": "<from>"
    },
    "name": "PurchasingPower"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnding year (YYYY format). Omit for current.
fromYesStarting year (YYYY format, data available from 1947)
amountYesThe dollar amount to convert

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful context beyond that — a 2-credit cost and the notion that it accounts for inflation in returns — but says nothing about precision, data source, or latency.

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 purpose and followed by practical examples. The opening 'Purchasing Power: Purchasing Power' repeats the name twice for no benefit, which is the only real waste.

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 simple three-parameter read-only computation with a full schema and an output schema, the description supplies enough to invoke it correctly: what it computes, sample framing, and the credit cost. The only substantive gap is the lack of differentiation from the other inflation-related siblings.

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%, with each parameter documented including the 'omit for current' behavior on `to` and the 1947 data floor on `from`. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 operation: computing the inflation-adjusted value of a dollar amount between two time periods, and reinforces it with a concrete example ('what $100 from 1990 is worth today') plus the real-returns use case. It stops short of explicitly distinguishing itself from closely related siblings such as CPIInflation or InflationRate, so the agent must infer the boundary.

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 only implied through examples — converting a historical amount to today's dollars, or deflating investment returns. There is no statement of when to pick this over InflationRate, CPIInflation, or CurrencyConverter, and no exclusions, which matters given several overlapping inflation tools in the sibling list.

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.