Skip to main content
Glama

section_text

Read a single section of a Wikipedia article as plain text. Specify a section number or heading to get only that part, avoiding the full article extract.

Instructions

Read ONE section of a Wikipedia article as plain text — the targeted-reading companion to article_sections. Pass a section number exactly as shown by article_sections (e.g. 2 or '2.1'; 0 reads the lead/intro), or a heading name (case-insensitive, e.g. 'Life and career'); misspelled names get close-match suggestions. Renders the section via the read-only parse API and returns clean text with paragraph structure — no need to pull the whole 50KB+ article via article_extract when you only want one part of it. Follows redirects; the link at the bottom deep-links to the section on the article page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoWikipedia language code (default 'en')en
titleYesArticle title (e.g. 'Albert Einstein' or 'Paris')
sectionYesSection to read: number as shown by `article_sections` (e.g. 2 or '2.1'; 0 = lead/intro), or heading text (e.g. 'Life and career')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.23

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description must carry the behavioral burden. It does this well by disclosing the read-only parse API, redirect-following, close-match suggestions for misspelled headings, return structure ('clean text with paragraph structure'), and the deep-link at the bottom. It does not mention error cases or rate limits, but the disclosed behaviors go well beyond a minimal description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but well-organized, front-loading the core purpose and then explaining arguments, output, and redirect behavior. Every sentence contributes useful information, though the deep-link sentence is slightly peripheral and could be considered extra detail.

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?

Given no output schema and no annotations, the description covers what the tool returns (clean text with paragraph structure), how to identify a section, what happens with misspellings, how redirects are handled, and when this tool beats its siblings. An agent has enough to select and call the tool correctly.

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?

The input schema already documents all parameters with descriptions, giving 100% coverageوط; however, the description adds valuable semantics beyond the schema: section numbers are exactly as shown by `article_sections`, 0 reads the lead/intro, headings are case-insensitive, and misspelled headings get close-match suggestions. This meaningfully helps an agent construct correct arguments.

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 opens with a specific verb and resource: 'Read ONE section of a Wikipedia article as plain text'. It distinguishes itself from siblings by naming `article_sections` and `article_extract`, making its scope immediately clear.

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?

The description explicitly says when to use this tool instead of `article_extract` ('no need to pull the whole 50KB+ article') and positions it as the targeted-reading companion to `article_sections`. It also gives concrete argument-passing guidance, so an agent knows exactly how to invoke it.

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