Skip to main content
Glama
contextqmd-mcp

contextqmd-mcp

by darkamenosa

Add Local Docs

add_local_docs

Index local files or directories as a searchable documentation package so project docs, READMEs, and markdown files can be queried with search_docs.

Instructions

Index local files or directories as a searchable documentation package. Use this to make project docs, READMEs, or any local markdown files searchable via search_docs.

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": {
      "paths": "<paths>"
    },
    "name": "add_local_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the local docs package (auto-derived from path if omitted)
pathsYesAbsolute paths to local files or directories containing docs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.9

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it never says whether files are copied into a package or merely referenced, whether indexing is idempotent/re-runnable, whether it recurses into directories, or what permissions/limits apply. The only behavioral disclosure is that the result becomes searchable via search_docs, which is useful but far from complete for a state-changing indexing operation.

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?

Two sentences, no filler, with the action stated first and the usage rationale second. Nothing redundant or buried.

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?

Given no annotations and no output schema, the description is adequate on the surface but thin for a tool that creates and persists a package: it omits whether indexing copies content, what happens on duplicate or invalid paths, and whether the result is a persistent artifact the user must later remove or update.

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 both parameters are already documented by the schema. The description reinforces paths by mentioning local files or directories, but adds nothing about the optional name parameter (e.g., how auto-derivation works or uniqueness constraints), so baseline 3 applies.

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?

Uses a specific verb (index) and resource (local files or directories as a searchable documentation package), and names the consuming sibling search_docs, which makes the tool's role distinct from install_docs or search_libraries. An agent can tell what this does without opening the schema.

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?

The second sentence gives clear context for use: making project docs, READMEs, or local markdown files searchable via search_docs. It does not discuss when not to use it (e.g., versus install_docs for remote/packaged docs, or re-using an existing package instead of re-indexing).

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