Skip to main content
Glama

List folder indexes

list_indexes
Read-only

List the folders indexed for local semantic search, showing passage counts, disk size, embedding model, and last update time. Flags folders that no longer exist.

Instructions

List the folders search_folder has indexed on this machine. Returns each folder with its passage count, size on disk, embedding model and when it was last updated, most recent first, and marks folders that no longer exist. Reads nothing but the index cache. To delete one use forget_folder; to search one use search_folder.

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_indexes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.5

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces this with "Reads nothing but the index cache," plus useful extras: most-recent-first ordering and marking of folders that no longer exist. It stops short of stating whether the listing is paginated or bounded, which matters for an index that could hold many folders.

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 sentences: identification, return shape, then sibling routing. It is front-loaded with the core purpose and contains no restated or filler text.

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?

With no parameters and no output schema, the description must carry the return-value burden, and it does: passage count, size on disk, embedding model, last-updated timestamp, ordering, and staleness flags. That is enough for an agent to decide whether to call it and how to read the result.

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?

The tool takes zero parameters, so the baseline of 4 applies; the description correctly adds no parameter discussion and instead spends its words on output shape and routing.

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?

"List the folders search_folder has indexed on this machine" gives a specific verb, resource, and scope, and explicitly ties the listing to a particular producer (search_folder's index). An agent can distinguish it from forget_folder and search_folder without opening any schema.

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?

The closing sentence routes the agent precisely: "To delete one use forget_folder; to search one use search_folder." This names both alternatives and the condition that selects each, leaving nothing to inference for a zero-parameter list tool.

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