Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind address.0.0.0.0
PORTNoHTTP port.3000
MCP_PATHNoHTTP MCP endpoint path./mcp
DOCS_BASE_URLNoDocs site (or your own mirror) to read.https://orm.drizzle.team
MCP_TRANSPORTNoTransport to use: "stdio" or "http" (same as --http).stdio
DOCS_CACHE_TTL_MSNoHow long a page/index stays cached, in milliseconds.3600000

Instructions

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

Read-only access to the official Drizzle ORM documentation (orm.drizzle.team). Nothing here writes, changes or executes anything — every answer comes from the live docs.

Typical flow:

  1. search_docs to find the page: depth "index" when you just need the right page, depth "full" when you need the actual content (it returns a snippet).

  2. fetch_page with that slug to read the whole page as Markdown (use sections/maxLength to keep it small).

  3. list_topics when the user asks what documentation exists — no arguments gives the dialect + section map, a dialect/section gives the pages in it.

Slugs look like "docs/pg/select". Dialects: pg, mysql, sqlite, mssql, cockroach, singlestore.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_topicsA

Browse the Drizzle ORM documentation catalogue (source: /llms.txt — about 450 pages). Call it with NO arguments first to get the map: every SQL dialect, every section, and how many pages each one holds. Then add dialect (pg, mysql, sqlite, mssql, cockroach, singlestore) and/or section (for example "Migrations", "Access your data", "Validations") to list the pages inside that slice — page the result with limit/offset. Each topic has a slug (like "docs/pg/select") to pass to fetch_page.

search_docsA

Search the Drizzle ORM documentation. depth "index" (default) fuzzy-searches titles, slugs and sections from /llms.txt — instant, use it to pick the right page. depth "full" downloads /llms-full.txt once (a few MB) and searches the actual page text, returning a snippet around every match — use it when you need the answer, not just a link. Filter with dialect (pg, mysql, sqlite, mssql, cockroach, singlestore) and/or section. Tolerates typos: "migraton" still finds Migrations.

fetch_pageA

Fetch one Drizzle ORM documentation page as clean Markdown (navigation, sidebars and footers are stripped). slug is a page slug such as "docs/pg/select", or a full https URL. Keep context small with sections (return only the headings whose names match, e.g. ["Examples"]) and maxLength (truncate). Use format for json/plaintext shapes, and fresh: true to bypass the one-hour cache. Discover slugs with list_topics or search_docs.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool occupies a distinct step of the docs workflow: list_topics browses the catalogue, search_docs finds matches, fetch_page retrieves a page. The descriptions explicitly state the handoff (list_topics/search_docs produce slugs for fetch_page), leaving no realistic chance of misselection.

Naming Consistency5/5

All three names follow a strict verb_noun snake_case pattern (list_topics, search_docs, fetch_page). The verbs are also semantically accurate to the actions performed.

Tool Count5/5

Three tools is the minimum viable surface for document discovery, retrieval and search, and each earns its place without redundancy. Nothing feels missing or bolted on for a documentation-lookup server.

Completeness4/5

The discover → search → fetch lifecycle is fully covered, including pagination, dialect/section filtering, section-level extraction and cache bypass. Minor gaps remain, such as no batch multi-page fetch and no direct way to enumerate a single page's full heading tree before fetching.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues