Skip to main content
Glama

Islam West Africa Collection (IWAC)

Compare countries

get_country_comparison
Read-onlyIdempotent

Compare article counts, newspaper counts, date ranges, and claude-haiku-5-5 polarity across countries.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
viewYes
countriesYes
polarity_modelNo
total_countriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedOutput schema / properties / polarity_model
      Added value: +{
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed2 schema fields changed
    • addedOutput schema / properties / view
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "total_countries",
      -  "countries"
      -]New value: +[
      +  "view",
      +  "total_countries",
      +  "countries"
      +]
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "countries": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total_countries": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total_countries",
      +    "countries"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds the set of aggregated dimensions but says nothing about cardinality (all countries? ranked how?), cost, or aggregation semantics. With an output schema present, return-format disclosure is rightly omitted, so the remaining gap is modest.

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?

One front-loaded sentence with no filler or repetition. The only mark against it is the opaque "claude-haiku-5-5 polarity" token, which costs comprehension without adding a full clause.

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?

Output schema and annotations carry the return-shape and safety information, so nothing critical is missing. Still, an agent cannot tell from the text whether results cover every country, how they are ordered, or how the polarity metric differs from get_sentiment_distribution — meaningful gaps for a comparison tool priced against a large sibling set.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema burden is nil and the baseline of 4 applies. Nothing in the description contradicts the empty input object.

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?

A specific verb ("Compare") plus a concrete enumeration of the metrics being compared across countries, so an agent knows exactly what the tool returns. It does not, however, distinguish itself from plausible siblings such as get_collection_stats or get_place_distribution. The term "claude-haiku-5-5 polarity" reads as an internal model label leaking into the description and blurs one of the four metrics.

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 statement of when to use this over the many stats/distribution siblings, and no exclusion or prerequisite guidance. The only implied usage comes from the word "compare" itself. An agent must infer the scenario from the metric list alone.

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.