Skip to main content
Glama

x402-inflation-adj

Inflation Adj: Deflate: convert a FUTURE nominal amount into today's purchasing power (value / (1+rate)^years). Opposite of x402-inflation-adjust. Returns direction=deflate. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
nNo
rateNo
valueNo
yearsNo
inflationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / inflation / description
      Removed value: -"Inflation to process"
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / rate / description
      Removed value: -"Rate to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
    • removedInput schema / properties / years / description
      Removed value: -"Years to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / n
      Added value: +{
      +  "description": "N to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / rate
      Added value: +{
      +  "description": "Rate to process",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • removedInput schema / properties / rate
      Removed value: -{
      -  "description": "Rate to process",
      -  "type": "string"
      -}
  4. Changed1 schema field changed
    • addedInput schema / properties / rate
      Added value: +{
      +  "description": "Rate to process",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • removedInput schema / properties / rate
      Removed value: -{
      -  "description": "Rate to process",
      -  "type": "string"
      -}
  6. Changed1 schema field changed
    • addedInput schema / properties / rate
      Added value: +{
      +  "description": "Rate to process",
      +  "type": "string"
      +}
  7. Changed3 schema fields changed
    • addedInput schema / properties / inflation
      Added value: +{
      +  "description": "Inflation to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / years
      Added value: +{
      +  "description": "Years to process",
      +  "type": "string"
      +}
  8. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavior context: the computation formula, the returned direction=deflate field, and the '5 free trial calls per signed wallet' billing/auth constraint. It does not address error handling, rounding, or what happens when rate is zero or negative.

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?

Front-loaded with the core definition and formula; the sibling reference and return-direction note follow logically. The free-trial line is somewhat promotional but does convey a quota constraint, so it earns its place marginally.

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?

No output schema and no annotations mean the description should be more thorough for a 5-param tool. It covers the core calculation and one return field but leaves parameter requirements, defaults, and output shape (beyond direction) unstated.

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?

Schema coverage is 0% with five cryptic single-word params. The formula maps meaning onto value, rate, and years, but 'n' and 'inflation' are never explained and their relationship to 'rate' is ambiguous — a caller cannot tell whether to pass rate, inflation, or both.

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?

States a specific action (deflate a future nominal amount into today's purchasing power), gives the exact formula, and explicitly contrasts with the sibling x402-inflation-adjust. An agent can distinguish this from the inflate counterpart without opening a schema.

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

Usage Guidelines4/5

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

The phrase 'Opposite of x402-inflation-adjust' plus 'FUTURE nominal amount' clearly signals which of the two to pick, but there are no explicit when-not conditions or prerequisites beyond the free-trial note.

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