Skip to main content
Glama

list_folder_page

Page through a folder listing by path, offset, and limit when an initial result is insufficient, staying read-only within approved Owner read roots.

Instructions

Continue a bounded listing without widening Owner read roots.

Use to page a folder listing when list_folder's output is insufficient. Provide the same path, entry offset and limit. Read-only and confined to Owner read roots.

A nonzero omitted_entries counts immediate entries the tool cannot show in the whole folder before pagination; ask the Owner to check locally if they matter and avoid guessing names.

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": {
      "path": "<path>"
    },
    "name": "list_folder_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesSame existing directory for next listing page; must remain inside approved roots.
limitNoMaximum number of returned entries, 1 to 200; default 100.
offsetNoEntry offset for pagination, 0 to 10000; default 0.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does so: it declares read-only behavior, the Owner-read-root confinement, and a non-obvious silent-truncation trait via omitted_entries, warning the agent not to guess hidden names. It does not describe error behavior for out-of-range offsets, which keeps it short of a 5.

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?

Front-loaded with the core purpose and the key caveat about omitted_entries, with the pagination instruction in between. The omitted_entries sentence is dense and grammatically tangled ('counts immediate entries the tool cannot show'), but every sentence carries information.

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?

For a three-parameter pagination tool with an output schema, the description covers the chaining requirement, the safety boundary, and the one surprising field an agent must not misinterpret. Left unstated are behavior at offset exhaustion and whether results are ordered consistently across pages.

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% and already documents path, limit (1-200, default 100) and offset (0-10000, default 0), so the schema does the heavy lifting. The description only adds the relational constraint that path must be the same directory as the prior page, which is useful but marginal.

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 opening line names the action (continue a bounded listing) and the constraint (without widening Owner read roots), and the second sentence ties it to a concrete resource: a folder listing page. It is clearly distinct from the sibling list_folder, though the verb 'continue' is slightly abstract until the body clarifies it pages a listing.

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?

Explicit trigger given: 'Use to page a folder listing when list_folder's output is insufficient,' plus the requirement to reuse the same path with an entry offset and limit. It states when to use and how to chain, though it does not state what to do if the offset is already at the end of the listing.

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