Skip to main content
Glama
contextqmd-mcp

contextqmd-mcp

by darkamenosa

Install Docs

install_docs

Installs or refreshes library documentation for a specified version, using registry bundles or page fetches, then indexes it locally for search.

Instructions

Install or refresh documentation for a library. This is idempotent: if the requested library/version is already installed with the same manifest checksum, it is a no-op. Otherwise it prefers a registry bundle, falls back to page fetches, and indexes everything locally for search.

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": {
      "library": "<library>"
    },
    "name": "install_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
libraryYesLibrary query, alias, or canonical slug (e.g., 'next', 'kamal', or 'nextjs')
versionNoVersion to install: exact version, 'stable', 'latest', or omit for default

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.9

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does substantial work: it discloses idempotency keyed on a manifest checksum, a source preference order (registry bundle before page fetches), and local indexing for search. It stops short of stating network/permission requirements, failure behavior, or latency, which is why it is not a 5.

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 tight sentences, front-loaded with the action and immediately followed by the two facts an agent most needs (idempotency and fetch strategy). No filler, no restatement of the title.

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?

For a tool that performs network retrieval, fallback, and local indexing, the description covers the mechanics that affect call decisions. Since there is no output schema, it could say more about what the caller gets back or what errors look like, but nothing essential to invoking it is missing.

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 100%, so both parameters are already documented with examples and accepted values. The description only refers generically to 'the requested library/version', adding no format or resolution detail beyond the schema; baseline 3 applies.

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 gives a specific verb and resource: 'Install or refresh documentation for a library.' That is clearly distinguishable from remove_docs or search_docs by action type, but it never names a sibling or draws the boundary with update_docs, which the 'refresh' framing partially overlaps.

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 idempotency note implicitly tells an agent it is safe to call even when the library may already be installed, which is real usage signal. However, there is no explicit guidance on when to prefer update_docs, add_local_docs, or list_installed_docs first, so the when-to-use-vs-alternative decision 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.