Skip to main content
Glama

Outline of a page

page_outline
Read-onlyIdempotent

Get a page's outline with headings, section IDs, and sizes to quickly locate and read specific parts, avoiding full-page reading.

Instructions

The headings of a page or PDF with section ids and sizes, plus title, site, date and length, to read one part with read_page section instead of the whole page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYeshttp(s) URL
depthNodeepest heading level, default all

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
charsYes
sectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already establish that this is read-only, idempotent, and non-destructive, so the description does not need to repeat that. It adds useful context by specifying that the input can be a page or PDF and by enumerating the returned metadata, going beyond what annotations alone provide.

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 a single efficient sentence that packs in the output contents, supported input types, and the read_page relationship. It is slightly dense and grammatically awkward near the end, but every phrase 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?

With an output schema, 100% schema parameter coverage, and safety annotations, nothing essential is missing. The description explains what data is returned and how to use it with read_page, making the tool fully callable.

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?

Schema coverage is 100%: both url and depth have descriptions. The tool description adds no extra parameter-level meaning, so the baseline of 3 applies.

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 identifies the tool's output: headings of a page or PDF with section ids, sizes, title, site, date, and length. It distinguishes itself from read_page by presenting itself as the outline rather than the full page content.

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 gives an explicit workflow: use page_outline to locate a section, then call read_page with that section instead of reading the whole page. This tells the agent when this tool is the right choice and when read_page is the alternative.

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

Deploy Server

Other Tools