Skip to main content
Glama

Factbook Fields

factbook_fields
Read-onlyIdempotent

List the sections and field names the CIA World Factbook carries for a country (e.g. Economy -> "Real GDP per capita", "Inflation rate (consumer prices)", "Exports - partners"). Use before factbook_compare to find the exact field to ask for. Defaults to the United States profile, which carries the full field set.

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": {
      "country": "Kenya"
    },
    "name": "factbook_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoCountry name or ISO code. Default "United States".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety and mutability need no prose. The description adds value beyond that by stating the default scope ('Defaults to the United States profile, which carries the full field set'), which tells the agent what happens with zero arguments and why the default is useful.

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?

Three short sentences, front-loaded with the purpose, then the workflow pointer, then the default behavior. Nothing is redundant and no sentence could be dropped without losing information.

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?

For a single-optional-parameter read-only lookup with no output schema, the description supplies everything needed: what it returns (sections and field names) with illustrative examples, what the default target is, and how the result is consumed downstream. Nothing an agent needs in order to call it correctly is missing.

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% and the single 'country' parameter already documents 'Country name or ISO code. Default "United States".' The description still contributes by explaining that the US profile carries the full field set, giving the agent a reason to omit the parameter rather than passing it.

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 and resource: 'List the sections and field names the CIA World Factbook carries for a country,' and immediately grounds it with concrete field examples (Economy -> "Real GDP per capita", "Exports - partners"). This is clearly a discovery/lookup tool and is distinguishable from factbook_compare, which it names.

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?

Explicitly gives the workflow condition: 'Use before factbook_compare to find the exact field to ask for,' which tells the agent both when to call it and which sibling it feeds. It also discloses the default, but stops short of any when-not-to-use or exclusion guidance.

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.