Skip to main content
Glama

Browse folders, files and sections

browse
Read-onlyIdempotent

List indexed folders, files, or file sections to locate content and find the chunk numbers needed to read a file.

Instructions

List what's indexed: folders, the files in a folder (with type, date and size in chunks), or the sections of a file (to read one with read).

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": "browse"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoNothing: the indexed folders and indexing status. A folder's full path: its subfolders and files. A file's full path: its sections with their chunk numbers.
sortNoFiles by 'name' or by 'modified' (newest first).name
limitNoMaximum number of entries.
filterNoOnly names or section headings containing this (case is ignored).
offsetNoSkip this many entries (paging, see next_offset).

Output Schema

NameRequiredDescriptionDefault
dirsNo
fileNoFor a file: the file itself; its sections follow.
pathNo
filesNo
totalNoEntries in all (dirs + files, or sections).
foldersNoWithout `path`: the indexed folders.
indexingNoIndexing phase, e.g. 'catching_up' (results may be incomplete) or 'up_to_date'.
sectionsNo
next_offsetNoPass as `offset` to get the next entries.
search_readyNoFalse while the search model is still loading.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, so safety is covered. The description adds return-content detail (files come with type, date, and size in chunks; sections come with chunk numbers), but says nothing about pagination behavior, entry limits, or how nested folders are traversed.

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 dense sentence with no filler, with the enumeration front-loaded. The appended parenthetical '(to read one with `read`)' and the ambiguous phrase 'in chunks' cost a little immediate parsing clarity.

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?

Output schema and annotations carry the return-shape and safety burden, and the description covers mode selection plus the handoff to `read`, which is the essential workflow knowledge. Pagination and filter behavior are left entirely to the schema, which is acceptable given full schema coverage.

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%, so all five parameters including the path-mode mapping, sort enum, and paging semantics are already documented in the schema. The description restates the path branching in prose but contributes no meaning beyond what the schema provides.

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 ('what's indexed'), and enumerates the three listing modes (folders, files in a folder, sections of a file). It explicitly differentiates from the `read` sibling by naming it as the follow-up step, though it says nothing about how it differs from `search`.

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?

Provides a clear workflow context: use this to discover sections, then use `read` to read one. That gives the agent an actionable sequence, but there is no explicit guidance on when to use `search` instead or when browsing is the wrong choice.

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