Skip to main content
Glama

foreignpolicy_topic

Read-only

Returns one page of a public Foreign Policy category or tag archive (newest first). type selects the archive namespace and defaults to category; topic is the slug within it; page is 1-based. Use foreignpolicy_article to get Foreign Policy article content.

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": {
      "topic": "<topic>"
    },
    "name": "foreignpolicy_topic"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based archive page, defaults to 1
typeNoArchive namespace, defaults to category. Documented values: category, tag.
topicYesForeign Policy category or tag slug

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"1-based archive page, defaults to 1"
    • addedInput schema / properties / topic / description
      Added value: +"Foreign Policy category or tag slug"
    • addedInput schema / properties / type / description
      Added value: +"Archive namespace, defaults to category. Documented values: category, tag."
  2. 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 readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds useful behavior the annotations do not: results come back newest-first and the result is a single page, which tells the agent to paginate rather than expect a full archive; page size and out-of-range behavior remain undisclosed.

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 what is returned, then parameter roles, then the sibling routing hint. No filler and nothing 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?

An output schema exists, so return structure need not be described, and annotations cover the read-only/open-world profile. Remaining gaps are minor: items per page, max page, and behavior for a nonexistent slug or out-of-range page are not stated.

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 would be 3. The description goes slightly beyond the schema by clarifying the relationship between parameters — type selects the namespace and topic is the slug *within* it — which the schema states only as separate field descriptions, plus it restates the defaults for type and page.

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: 'Returns one page of a public Foreign Policy category or tag archive (newest first).' It also names the sibling it is not (foreignpolicy_article), so an agent can distinguish archive listing from article retrieval without opening a schema.

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?

Provides a clear routing rule: use this for archive pages, use foreignpolicy_article for article content. It does not explain when to choose type=tag over type=category, leaving that to the caller, but the primary alternative is explicitly named.

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.