Skip to main content
Glama

Factbook Entities

factbook_entities
Read-onlyIdempotent

List or search the 261 entities in the CIA World Factbook, sovereign countries, dependencies and territories, the oceans, the European Union and the World, with their Factbook (GEC) codes and regions. Use to find how the Factbook names a place ("Burma", "Congo (Brazzaville)", "DRC") or to list every entity in a region such as africa or central-america-n-caribbean.

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": {
      "query": "guinea"
    },
    "name": "factbook_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 50, max 300).
queryNoName substring to search, e.g. "guinea" or "island". Omit to list all.
regionNoRestrict to one Factbook region.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds real domain context that the annotations do not: the exact size of the entity set (261) and the fact that non-country entries like oceans, the EU and the World are included. It says nothing about result ordering, truncation beyond the limit field, or what a match returns, which keeps it at a 3.

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 sentences, no filler. The entity scope and count are front-loaded, then the usage guidance with illustrative examples follows. Every clause carries information an agent would otherwise have to infer.

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 three-optional-parameter read tool with no output schema, the description covers what the tool returns conceptually (entities with Factbook/GEC codes and regions) and what the entity universe contains, which is enough to call it correctly. Minor gap: nothing on ordering or how `limit` interacts with large regions, though the schema documents the limit defaults.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns above that by explaining the practical semantics of `query`: it is an alias-resolution tool because the Factbook uses names like "Burma" and "DRC" that differ from common usage. The region example ("africa or central-america-n-caribbean") mirrors the enum but reinforces the exact value format.

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?

States a specific verb and resource ("List or search the 261 entities in the CIA World Factbook") and immediately scopes the entity universe to countries, dependencies, territories, oceans, the EU and the World. It is easy to tell apart from a country-detail tool in practice, but the description never names or contrasts a sibling such as factbook_country or factbook_fields, so it stops short of a 5.

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

Usage Guidelines4/5

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

Gives two concrete use cases: resolving how the Factbook names a place ("Burma", "Congo (Brazzaville)", "DRC") and listing every entity in a region. That is clear positive guidance, but there is no explicit when-not or pointer to an alternative tool for retrieving a single entity's data.

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.