Skip to main content
Glama
Trends World

Trends World

search_countries

Look up a country's ISO code by name and see its current trending topics. Use this when you don't know the exact code.

Instructions

Find country ISO codes by name, and see what each one is currently trending on. Use this when you do not know the exact code.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesCountry name or partial name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It helpfully discloses that the response contains both an ISO code and current trending data for each match, but it does not state that this is a read-only lookup, how partial matching behaves, whether multiple countries can be returned, or what happens when nothing matches.

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?

Two short sentences with the primary lookup purpose front-loaded and the usage condition second. Nothing is wasted or repeated.

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?

For a single-parameter lookup with no output schema, the definition covers input intent and the shape of the return value (codes plus trending topics). Only edge-case behavior, such as ambiguous or empty matches, is left for the agent to discover by calling it.

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?

There is only one parameter and its schema description ('Country name or partial name') already covers 100% of the schema. The description's phrase 'when you do not know the exact code' reinforces the partial-match intent but adds no syntax, format, or matching-rule details beyond the schema.

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 gives a specific verb and resource: 'Find country ISO codes by name', plus a secondary payload ('see what each one is currently trending on'). It clearly states what the tool returns, but it does not distinguish itself from the sibling 'trending_by_country', so an agent could reasonably confuse the two for trending lookups.

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?

It gives an explicit triggering condition: 'Use this when you do not know the exact code.' That is real guidance, but it offers no exclusions or named alternatives, and it is silent on when to prefer 'trending_by_country' or 'global_pulse' for trending data.

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