Skip to main content
Glama

list_docs

List, search, or read local documentation files to find answers without fetching from the web.

Instructions

Browse and search the local docs/ folder. Three modes: (1) no args = list all saved docs, (2) { query } = keyword search across docs/, (3) { path } = read the full body of a specific doc by relative path or slug. Use this BEFORE going to the web — your project may already have the docs you need.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
limitNo
queryNo
subdirNo
Behavior4/5

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

The description discloses three behavioral modes and states that path 'read the full body' of a doc. It does not mention effects of limit or subdir, but the read-only nature is implied. No annotations are provided, so this description carries the burden and mostly succeeds.

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?

The description is two sentences, front-loaded with purpose and modes. The first sentence is dense but efficient; the second adds practical guidance. Every sentence earns its place, though the structure could be slightly clearer.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the core functionality and gives usage guidance, but lacks explanation for limit and subdir parameters, and does not position itself relative to search_docs. For a 4-param tool with no output schema and no annotations, this is a notable gap.

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 description coverage is 0%. The description explains 'query' and 'path' parameters but omits 'limit' and 'subdir', leaving their semantics unresolved. It partially compensates for the missing schema documentation.

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 description clearly states the tool browses and searches the local docs/ folder and enumerates three distinct modes (list all, keyword search, read by path). It differentiates from web tools with 'before going to the web', but does not explicitly distinguish it from the sibling search_docs.

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?

Explicitly instructs to use this before going to the web, implying local docs should be checked first. However, it does not mention when not to use it or how it compares to sibling search_docs, leaving some ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aleksandrr/web-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server