Skip to main content
Glama

list_pages

Read-only

Retrieve links for a course or heading section, including nested subsections, to browse and navigate wiki study pages.

Instructions

List links in a course or heading section, including its nested subsections.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
refreshNo
course_idYes
section_idNo

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
metadataYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavior beyond that: results include nested subsections. It says nothing about pagination behavior despite limit/cursor being present, nor about what 'refresh' does to cached results.

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?

A single front-loaded sentence with no filler. It is efficiently written, though the brevity contributes to the gaps in pagination and parameter meaning rather than being a model of tight-but-complete phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be described, and annotations cover safety. But a 5-parameter listing tool with no schema descriptions needs the description to explain pagination (limit/cursor) and the refresh flag, and it does not.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters. The description only indirectly explains course_id and section_id via the phrase 'in a course or heading section'; limit, cursor and especially refresh (whose semantics are non-obvious) get no explanation anywhere.

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?

States a specific verb (List) and resource (links in a course or heading section), plus the recursion behavior into nested subsections. It does not explicitly differentiate itself from siblings like get_page or get_course_index, and the name says 'pages' while the description says 'links', which leaves a small ambiguity about what a returned item actually is.

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?

The phrasing 'in a course or heading section' implies the two scoping modes (course-wide vs section-scoped), which is a usable hint. However, there is no explicit statement of when to prefer this over get_page or get_course_index, and no prerequisites or exclusions are given.

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