Skip to main content
Glama

Get Wikipedia pages by title

get_pages
Read-only

Look up up to 20 English Wikipedia pages by exact title in one call. Follows redirects ("JFK" gives "John F. Kennedy") and ignores case. Returns each page's opening paragraph with link, revision and license, or found: false. Use it when you already know the names; use search_wikipedia when you don't.

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": {
      "titles": "<titles>"
    },
    "name": "get_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
titlesYesPage titles, e.g. ["Ada Lovelace", "JFK"]. Each counts as one search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description goes further by disclosing redirect following ('JFK' → 'John F. Kennedy'), case-insensitive matching, the returned opening paragraph with link/revision/license, and the found: false partial-result case. It stops short of stating rate limits or quota consumption (the 'each counts as one search' note lives in the schema, not the description), so it is very good but not exhaustive.

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 tight sentences: capability and limit first, matching behavior second, return shape third, routing guidance last. Every clause carries information; nothing is boilerplate.

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-parameter read tool with no output schema, the description covers inputs, matching behavior, return values and failure signaling. An agent has everything needed to call it correctly or to route elsewhere.

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; the description earns above that by clarifying matching semantics beyond the schema — titles are 'exact' yet redirect-resolved and case-insensitive, which materially changes what an agent should pass in. It still adds no per-element format detail beyond the schema's own example.

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?

Names a specific verb and resource ('look up ... English Wikipedia pages by exact title') plus the hard scope limit of 20 per call, and explicitly contrasts itself with search_wikipedia. An agent can distinguish it from every sibling 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 Guidelines5/5

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

Gives an explicit selection rule: 'Use it when you already know the names; use search_wikipedia when you don't.' That names the alternative and the condition that selects it, leaving nothing to inference.

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.

Resources