Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-purchasing-power

Purchasing Power: Purchasing power after inflation. Takes value, inflation (percent per year) and years. Returns the adjusted value as result. 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-purchasing-power"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNo
yearsNo
inflationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / inflation / description
      Removed value: -"Inflation to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
    • removedInput schema / properties / years / description
      Removed value: -"Years to process"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful behavioral facts: a 5-call free trial and a signed-wallet requirement. However, it says nothing about the underlying formula, rounding/compounding assumptions, or failure modes for malformed string inputs.

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 short sentences plus a trial note, front-loaded with the purpose. The leading 'Purchasing Power:' label mildly restates the tool name but costs little.

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-input calculator with no output schema and no annotations, the description gives the purpose, the inputs, the unit for inflation, and the return value. The remaining gaps (input formats, formula specifics) are modest relative to the tool's complexity.

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 coverage is 0%, and all three parameters are untyped strings, so the description must compensate. It adds a unit for inflation ('percent per year') but leaves the expected format of 'value' and 'years' (numeric strings? decimals? integers?) and their requiredness unexplained.

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 states a specific computation: purchasing power after inflation, taking a value, an annual inflation percent, and a number of years. That distinguishes it from adjacent siblings like x402-electric-power or x402-power-unit, which are unrelated power tools. It falls short of 5 only because the verb 'computes/adjusts' is implied rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The only contextual signal is the free-trial note, which speaks to cost rather than tool selection.

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.