Skip to main content
Glama

Ma Indicators

ma_indicators
Read-onlyIdempotent

Search Morocco's national economic and social indicators from the HCP quarterly bulletin (monthly and quarterly series: consumer and producer price indexes by city, industrial/mining/energy output, tourism nights, external trade, exchange rates, public finances, Casablanca stock exchange, labour force, national accounts). Accepts French or English terms ("inflation", "indice general", "tourisme", "chomage", "euro"); optional topic filter. Returns ids with latest value; call ma_indicator_series for history. With no arguments lists the topics.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "topic": "IPC",
      "search": "indice general"
    },
    "name": "ma_indicators"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-100, default 25)
topicNoOptional topic filter (substring), e.g. "IPC", "Tourisme", "COMMERCE EXTERIEUR", "FINANCES PUBLIQUES". Listed by ma_bulletins.
searchNoWords from the indicator name, French or English, e.g. "indice general", "inflation", "nuitees", "euro". All words must match.

Output Schema

NameRequiredDescriptionDefault
hintNo
countNo
foundNo
queryNo
reasonNo
sourceNo
topicsNo
matchedNo
messageNo
data_as_ofNo
indicatorsNo
reuse_termsNo
latest_bulletinNo
total_indicatorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real context beyond them: it returns ids with the latest value only, it can be called argument-free to enumerate topics, and it handles bilingual French/English input. It does not discuss rate limits or source-update cadence, keeping it short of a 5.

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-loads the resource and scope, then folds the coverage list into a single parenthetical rather than a bullet sprawl. The enumeration is long but each item genuinely disambiguates what data is available; only the restated 'optional topic filter' is wasted.

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

Completeness5/5

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

With an output schema present, the description need not explain return shape, and it still flags the one thing an agent must know to chain calls: results carry ids plus the latest value only, with history living in ma_indicator_series. Nothing needed to invoke it correctly is missing.

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%, including topic examples, the substring semantics and the all-words-must-match rule for search, so the schema does the heavy lifting. The description restates the optional topic filter and the bilingual term matching but adds no new syntax or format detail beyond the schema.

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 verb (Search) and a precisely scoped resource: Morocco's HCP economic/social indicators, with an explicit enumeration of the series covered. It also names the sibling it is not (ma_indicator_series) so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Explicitly explains the two main modes: query with keywords for ids plus latest values, or call with no arguments to list topics. It also states the handoff condition to ma_indicator_series for history, which is exactly the alternative an agent needs.

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.