Skip to main content
Glama

Browse documentation

list_pages
Read-onlyIdempotent

Use when you do not know the topic keywords. Browse page identities and URLs, optionally within a section; then get_page to read one. Pages are sorted by URL. Use offset plus limit for the next slice of this static index.

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
limitNoMaximum pages, default 30, maximum 100.
offsetNoZero-based index offset; add the previous limit for the next slice. Restart after a deployment.
sectionNoOptional top-level docs section, for example discovery, mcp-servers or retrievability; root is the docs index page. Unknown sections return no matches.

Output Schema

NameRequiredDescriptionDefault
pagesYes
has_moreYes
next_offsetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / section / description
      Previous value: -"Optional top-level docs section, for example discovery, mcp-servers or retrievability. Unknown sections return no matches."New value: +"Optional top-level docs section, for example discovery, mcp-servers or retrievability; root is the docs index page. Unknown sections return no matches."
  2. Changed4 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 30,
      +  "description": "Maximum pages, default 30, maximum 100.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Zero-based index offset; add the previous limit for the next slice. Restart after a deployment.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "Optional top-level docs section, for example discovery, mcp-servers or retrievability. Unknown sections return no matches.",
      +  "pattern": "^[a-z0-9-]+$",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "has_more": {
      +      "type": "boolean"
      +    },
      +    "next_offset": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "pages": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "description": {
      +            "description": "Published page summary.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Stable documentation path, independent of rank.",
      +            "type": "string"
      +          },
      +          "slug": {
      +            "description": "Slash-separated docs slug for /api/md; index identifies the docs home.",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Published page title.",
      +            "type": "string"
      +          },
      +          "updated_at": {
      +            "description": "Content revision time, or last verification date where a revision time is unavailable.",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Canonical source URL; pass this to get_page.",
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "title",
      +          "description",
      +          "url",
      +          "slug"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "pages",
      +    "has_more",
      +    "next_offset"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile needs no restating. The description adds real context beyond them: results are URL-sorted, the index is static, and pagination is offset+limit slices. Missing only a note on how the deployment reset interacts with stored offsets beyond the schema's own warning.

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?

Three short sentences, front-loaded with the triggering condition, then what is returned, then the pagination mechanic. Nothing is redundant and no sentence could be dropped without losing selection or invocation guidance.

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?

An output schema exists, so return values need no prose explanation. For a read-only paginated index with full schema coverage, the description supplies selection criteria, follow-up routing, sort order, and pagination approach — everything needed to call it 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?

Schema coverage is 100%, so the schema already defines all three parameters including defaults, bounds, and section naming. The description contributes the composition rule ('offset plus limit for the next slice') and the static-index framing that makes offset pagination meaningful, which is a small but genuine addition over the 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?

States a specific verb and resource ('Browse page identities and URLs'), plus the scope modifier 'optionally within a section'. It is clearly separable from siblings: this lists identities only, while 'get_page' reads a page's 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?

Gives an explicit triggering condition ('Use when you do not know the topic keywords'), which implicitly excludes keyword-search usage, and routes the agent forward to 'get_page' to read a result. An agent knows both when to call this and which sibling to call next.

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.