Skip to main content
Glama

Fetch a Drizzle docs page

fetch_page
Read-onlyIdempotent

Retrieve a single Drizzle ORM documentation page as clean Markdown with navigation stripped; use slug or URL and optionally filter sections or truncate to keep context small.

Instructions

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.

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": {
      "slug": "<slug>"
    },
    "name": "fetch_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPage slug ("docs/pg/select") or a full URL.
freshNoIgnore the cache and re-download the page (default false).
formatNoOutput shape: markdown (default), json, or plaintext.
sectionsNoReturn only these sections, e.g. ["Examples", "Basic usage"].
maxLengthNoTruncate the content to this many characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior, so the description doesn't need to repeat the safety profile. It does add real behavioral context the annotations lack: navigation, sidebars, and footers are stripped; there is a one-hour cache that 'fresh: true' bypasses; and 'maxLength' truncates output. It doesn't describe error behavior for an invalid slug or URL.

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?

The description is three tightly packed sentences, and it leads with what is returned before covering parameters and alternatives. Every clause carries information: output cleanliness, slug format, context control, format options, and cache behavior.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing the return value, and it does: clean Markdown by default, with json/plaintext shapes available via 'format.' Combined with the explicit cache and truncation semantics, an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds value by giving concrete examples ('docs/pg/select', sections ["Examples"]) and, importantly, by explaining that 'fresh' bypasses the one-hour cache, a semantic the schema only calls 'ignore the cache and re-download.'

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?

The description states a specific verb and resource: 'Fetch one Drizzle ORM documentation page as clean Markdown.' It also frames the tool's scope as a single-page fetch, which separates it from the sibling tools that discover slugs.

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?

It names both alternatives explicitly, saying 'Discover slugs with list_topics or search_docs,' so an agent knows where to start when it lacks a slug. It doesn't spell out when not to use this tool, such as after already holding the content, but the guidance is clear enough to act on.

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

Deploy Server

Other Tools