Skip to main content
Glama

Mansa African Markets

get_macro_history

Read-onlyIdempotent

Monthly history for an African macro indicator. Nigeria reaches back to January 2006 (policy_rate, inflation, inflation_food, inflation_core, treasury_bill_rate and more).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOptional end period, YYYY-MM.
fromNoOptional start period, YYYY-MM.
countryYesISO-2 country code, e.g. NG.
indicatorYese.g. policy_rate or inflation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds useful behavioral context by specifying the data frequency ('monthly') and the depth of history for Nigeria (2006 onward), which sets expectations about data availability. It also lists example indicators and notes 'and more', indicating an extensible set. This goes beyond the annotations without contradicting them.

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, compact sentence that conveys the core functionality and key data coverage detail. There is no fluff or redundant phrasing; it earns its place by adding the Nigeria history depth and example indicators. Ideal conciseness.

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?

With no output schema, the description carries some burden to set expectations. It clarifies the data frequency (monthly), the region (Africa), and that history depth varies by country (Nigeria since 2006). It does not describe the response format (e.g., array of {period, value}), but for a straightforward history fetch this may be inferred. The tool is adequately contextualized within its sibling suite.

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 all four parameters (country, indicator, from, to) already described in simple terms. The description adds a minor hint about data availability (Nigeria reaches back to 2006) that could inform the 'from' parameter, but it largely repeats indicator examples already present in the schema. Since the schema fully documents parameter formats, the description's incremental semantic contribution is limited.

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 clearly states the tool retrieves monthly historical data for African macro indicators. The verb 'history' and resource 'African macro indicator' make the primary function clear. It is distinguishable from sibling tools like get_country_macro_indicators (which likely returns current values) and get_african_policy_rates (current rates), though it does not explicitly name alternatives.

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?

The description implies usage for historical macro data, especially given the mention of Nigeria's data extending back to January 2006. However, it does not explicitly state when to use this tool versus alternatives like get_country_macro_indicators or get_african_policy_rates, nor does it provide exclusions. The data availability note gives some practical context, but the guidance is mostly implicit.

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.