Skip to main content
Glama
BACH-AI-Tools

Inflation By Api Ninjas

v1inflation

Retrieve current monthly and annual inflation percentages using CPI or HICP indicators.

Instructions

API Ninjas Inflation API endpoint. Returns current monthly and annual inflation percentages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoinflation indicator type. Can be either CPI (Consumer Price Index) or HICP (Harmonized Index of Consumer Prices). If not provided, the CPI will be used by default.
Behavior2/5

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

Without annotations, the description carries the full burden. It only mentions the return type but does not disclose behavioral traits such as whether the operation is read-only, requires authentication, or has rate limits. The description adds minimal behavioral context beyond the input schema.

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?

The description is a single sentence of 15 words, front-loaded with the key information, and contains no wasted words.

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

Completeness2/5

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

The tool has only one optional parameter and no output schema. The description does not explain the structure of the returned data (e.g., how monthly and annual percentages are represented). For an agent to correctly interpret the response, more detail is needed.

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?

The input schema covers the only parameter ('type') with a full description, so schema coverage is 100%. The tool description does not add any further semantic value for the parameter, but the schema itself is adequate. Baseline 3 is appropriate.

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 clearly states the tool returns 'current monthly and annual inflation percentages', which is a specific verb ('returns') and resource ('inflation percentages'). The purpose is unambiguous without needing sibling differentiation.

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?

No explicit usage guidelines or alternatives are provided. The agent can infer the use case from the description, but there is no guidance on when to use this tool or what contexts it applies to.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/inflation_by_api_ninjas'

If you have feedback or need assistance with the MCP directory API, please join our Discord server