Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEVD_EMBEDDING_MODELNoOverride the default embedding model

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_docsA

List all available documentation sources with optional filtering.

Args: source_type: Filter by 'devdocs', 'local', or None for all include_large: Include docs larger than 50 MB (default: False = exclude large) downloaded_only: only include downloaded docs (default: True = only show downloaded docs) query: Optional fuzzy text filter on doc metadata (slug, name, type, release, alias) Case-insensitive substring match. Does NOT search document content.

search_docsA

Search documentation using semantic similarity.

Args: query: Natural language search query (e.g. "how to make HTTP requests") top_k: Number of results to return (default: 10) min_score: Minimum vector-similarity score 0.0-1.0 (default: 0.3). Applies to the semantic/vector search leg only — keyword/BM25 matches (e.g. exact title matches for bare-word queries) can still surface in results even with low semantic similarity. slugs: Optional list of doc slugs to filter by (e.g. ['javascript', 'python']) source_type: Optional source type filter ('devdocs' or 'local')

get_documentA

Get full document content by document ID from search results.

Use this to retrieve the complete content of a document after finding it via search_docs. The doc_id can be found in search results (typically shown in the path or title).

Args: doc_id: Document ID from search results (e.g. "python~3.13/library/functions#print")

download_docA

Download one or more documentation bundles from devdocs.io.

Args: slugs: Single slug string or list of documentation slugs (e.g. 'javascript' or ['javascript', 'python', 'react']) version: Optional version specifier for single slug (ignored for multiple slugs, uses latest)

rebuild_indexA

Rebuild the embedding index from downloaded documentation.

By default, only indexes newly downloaded documentation that hasn't been indexed yet. Use clean=True to rebuild everything from scratch.

Args: clean: If True, rebuild entire index from scratch. If False (default), only index missing documents. slugs: Optional list of specific doc slugs to re-index (e.g., ['vulkan', 'python']). If provided, only these docs will be processed. Ignores already-indexed status and re-indexes them.

remove_docA

Remove documentation by slug, regardless of source type.

Works for downloaded devdocs.io bundles, local sources, and web sources.

Args: slug: Documentation slug to remove (e.g. 'async')

add_local_sourceA

Add a local directory as a documentation source.

The directory should contain HTML files that will be indexed for search.

Args: path: Absolute filesystem path to the docs directory slug: Unique identifier for this local source

add_web_sourceA

Fetch documentation from a web URL (or re-download existing source).

If url is not provided, re-downloads an existing web source by slug.

By default, only fetches URLs in the same directory or below the initial URL. For example, fetching https://example.com/docs/api/index.html will only fetch files under https://example.com/docs/api/ and not https://example.com/docs/other/.

Only HTML files (.html, .htm, or no extension) are fetched and followed. Non-HTML files (CSS, JS, images, fonts, etc.) are automatically skipped.

Args: slug: Unique identifier for this web source url: Base URL to fetch from (optional for re-download) name: Display name (defaults to slug) max_depth: Recursion depth for crawling (default: 2) pattern: Regex pattern for URLs to fetch (default: .*.html?$) url_prefix: Optional URL prefix to restrict crawling (default: directory of initial URL)

doc_infoB

Get detailed information about a specific documentation.

Args: slug: Documentation slug (e.g. 'javascript', 'async')

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/HellButcher/devdocs-mcp'

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