Skip to main content
Glama

List the public documentation pages

list_pages
Read-onlyIdempotent

The public documentation's table of contents: for each page its section, title, path, URL and a one-line description, in the order the site shows them, with the list of sections, showing what the documentation covers. Optional section (one of the returned sections, matched without regard to case) narrows the list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many pages.
sectionNoA section name from `sections`; omit for every page.

Output Schema

NameRequiredDescriptionDefault
siteYes
pagesYes
totalYesHow many pages matched, before the limit.
built_atYes
sectionsYes
docs_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / PageEntry / properties / path / description
      Previous value: -"The page's path; pass it to read_page."New value: +"The page's path on the documentation site."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds a genuine behavioral guarantee beyond that: results come back in the site's own display order and include a companion list of sections. It does not say what happens when the page count exceeds `limit` (truncation vs. pagination), which is the remaining behavioral unknown.

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?

Two sentences, front-loaded with the core purpose and result shape, with the filter note last where it belongs. The middle clause ('with the list of sections, showing what the documentation covers') is slightly convoluted but still short and free of filler.

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?

With an output schema present and full schema coverage on both parameters, the description only needs to supply purpose, ordering, and filter semantics — and it does all three. The only omission is truncation/limit behavior when the catalog is larger than the requested limit.

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, and the description earns an extra point by specifying that `section` must be one of the values in the returned `sections` list and is matched case-insensitively — matching semantics the schema does not state. It also clarifies that omitting `section` returns every page.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource (the public documentation's table of contents) and enumerates exactly what each entry contains: section, title, path, URL, and one-line description. It is clear this is an enumeration/TOC tool rather than a page reader or a search tool, though it never explicitly contrasts itself with read_page or search_docs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the shape of the result ('the order the site shows them') and by the note that `section` narrows the list, so an agent can infer this is the browse-everything entry point. However, there is no explicit statement of when to prefer this over search_docs or search_published_knowledge, and no exclusion guidance.

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.