Skip to main content
Glama

get_page_sections

Retrieve the table of contents for a wiki page to identify sections, then fetch specific sections selectively for precise information retrieval.

Instructions

Section table-of-contents for a page; use before get_page to fetch selectively.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description must convey behavioral traits. It indicates a read-only operation returning a table of contents, but does not disclose details like authentication needs, rate limits, or what happens with invalid titles. The output schema likely covers return structure, so some transparency is deferred.

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?

The description is a single 12-word sentence that efficiently states the purpose and usage guidance. There is no wasted text; every word earns its place.

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 the tool's simplicity (one string parameter, output schema present) and the context of sibling tools, the description provides sufficient information for an AI agent to understand what the tool does and when to use it. The output schema handles return value documentation, so no further detail is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage for the parameter 'title', and the tool description does not explain it. However, the parameter name 'title' is self-explanatory (page title), so the baseline is adequate. No additional semantic value is added by the description over the schema's property name.

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 it provides a section table-of-contents for a page, using a specific verb ('table-of-contents') and resource ('page'). It distinguishes itself from the sibling tool get_page by noting it is a precursor for selective fetching.

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 gives explicit guidance to use this tool before get_page for selective fetching, which differentiates it from the sibling. However, it does not explicitly state when not to use it or mention other alternatives, but the guidance is clear and actionable.

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/yusufaf/tf2-wiki-mcp'

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