Skip to main content
Glama

List folder documents

get_index
Read-onlyIdempotent

When to use: list docs in one known folder (or unfiled). Not for folder tree (list_collections), not for keyword search across folders (search_docs), not for a workset id (get_workset). Table of contents for one folder: only docs with visible_to_agent=true (hidden cards do not appear even by title). Each row: id, effective title, short brief (prefers TL;DR; else ai_md → agent_summary → clean_md excerpt, ≤~400 chars), brief_source, ref (silvalabs:doc/…), and agent_runbook (true = needs permission link to execute). This is a light index — do NOT open every doc; if short brief answers the question, skip get_doc; otherwise pick 1–2 by brief, then get_doc. Pass collection as folder name (e.g. backend), UUID, silvalabs:folder//, or unfiled / '-' / «без папки» for cards without a folder (a real folder with the same name wins over the unfiled token — prefer UUID if unsure). Use ids (or ref) from this list in get_doc — never ask the user for ids. Paginate with cursor when next_cursor is present (≤50 per page).

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": {
      "collection": "<collection>"
    },
    "name": "get_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor from previous next_cursor
collectionYesFolder name, UUID, or silvalabs:folder/<uuid>/<name>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real behavioral context beyond that: only visible_to_agent=true docs appear, hidden cards are excluded even by title, a light index rather than full bodies, and a ≤50-per-page cursor limit. Useful, but it does not disclose error behavior or what happens on an ambiguous or nonexistent folder token.

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 when-to-use clause and structured as routing → contents → workflow → parameter rules, which is easy to scan. It is dense and a single long paragraph, with the field enumeration and the collection-token enumeration both fairly verbose, so a small amount of trimming is possible.

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?

No output schema exists, and the description compensates by enumerating the returned row fields (id, effective title, brief, brief_source, ref, agent_runbook), including brief fallback order and the ~400-char cap. Combined with pagination and id-source guidance ('use ids from this list in get_doc'), an agent has everything needed to call and consume the result.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description goes well beyond it by enumerating the accepted forms for collection (folder name, UUID, silvalabs:folder/<uuid>/<name>, and the unfiled aliases '-', 'unfiled', «без папки»), stating the precedence rule when a real folder shares the unfiled name, recommending UUID when unsure, and explaining that cursor comes from a previous next_cursor.

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 concrete verb and resource ('list docs in one known folder (or unfiled)') and immediately distinguishes itself from three named siblings: list_collections (folder tree), search_docs (keyword search), and get_workset (workset id). An agent can route correctly 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?

Opens with an explicit 'When to use' clause, follows with three explicit 'not for' exclusions naming the correct alternatives, and adds workflow guidance (do not open every doc; skip get_doc if the brief answers; otherwise pick 1–2 by brief). Both the selection condition and the downstream step are spelled out.

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.

Resources