Skip to main content
Glama
LLLeoLi
by LLLeoLi

wikipedia_summarize_article_for_query

Read-onlyIdempotent

Retrieve a focused summary from a Wikipedia article tailored to your query. The tool returns a snippet around the query, with adjustable length to suit your needs.

Instructions

Get a summary of a Wikipedia article tailored to a specific query.

The summary is a snippet around the query within the article text or summary. The max_length parameter controls the length of the snippet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
titleYes
max_lengthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
titleYes
summaryYes
Behavior4/5

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

Annotations already declare read-only and idempotent behavior. The description adds useful context: the output is a snippet around the query, and max_length controls snippet length. No contradictions with annotations.

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 front-load the purpose and add one functional detail. Every sentence earns its place with no redundancy.

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 read-only tool with output schema and good annotations, the description covers purpose, snippet mechanics, and the length control. It doesn't address edge cases like missing articles, but that is not critical given the annotations.

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?

With 0% schema description coverage, the description compensates by explaining max_length explicitly and clarifying that title identifies the article and query determines the snippet location. This goes beyond the raw schema.

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?

The description clearly states the tool's function: 'Get a summary of a Wikipedia article tailored to a specific query.' This specifies a concrete verb, resource, and distinguishes it from siblings like get_summary by emphasizing query-tailored output.

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?

The description implies when to use the tool: when a query-specific summary or snippet is needed. It explains the snippet behavior but does not explicitly name alternatives or exclusions, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LLLeoLi/wikipedia-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server