Skip to main content
Glama
mcp-server-docs-search

mcp-server-docs-search

list_docs

List every indexed Markdown document with its section headings to discover what documentation exists, optionally filtered by a path glob such as 'guides/*'.

Instructions

List every indexed doc with its section headings, to see what documentation exists.

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

Input Schema

NameRequiredDescriptionDefault
path_globNoOnly list docs matching this glob, e.g. 'guides/*'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose that the operation is a bulk read across all indexed docs and that section headings are included in the result, which implies read-only behavior. It says nothing about result size, pagination, or whether listing is expensive on large corpora.

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?

One sentence with the enumeration scope front-loaded and the return content trailing. No filler, though the closing purpose clause is mildly redundant with 'List every indexed doc'.

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?

A simple read-only list tool with one optional parameter and no output schema; the description covers what is enumerated and what is returned. Only the default behavior when path_glob is omitted is left unstated.

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?

There is a single optional parameter at 100% schema description coverage, including an inline glob example, so the schema already does the work. The description adds no further semantics about path_glob behavior (e.g. recursive matching or default scope when omitted).

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 and resource ("List every indexed doc") and adds scope plus return content ("with its section headings"). An agent can distinguish it from search_docs/read_doc by the 'every indexed doc' enumeration framing, though it never names those siblings explicitly.

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 phrase "to see what documentation exists" implies a discovery/orientation use case, which is genuine guidance. However, there is no explicit when-not clause and no named alternative for narrower lookups (e.g. searching for a specific topic), so routing is left to inference.

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