Skip to main content
Glama
datadog-docs-mcp

datadog-docs-mcp

by onodera-yu

read_document

Fetch the markdown content of a specific Datadog documentation page by URL, with character limits and pagination for reading large pages in chunks.

Instructions

Fetch and return the content of a specific Datadog documentation page.

Args: url: The full URL of the markdown document (e.g. https://docs.datadoghq.com/all_guides.md). max_chars: Maximum characters to return (default 50000). Use with start_index for pagination.

Returns: The markdown content of the document.

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": {
      "url": "<url>"
    },
    "name": "read_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
max_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the entire behavioral burden. It does disclose the return format (markdown) and a default size cap of 50000 chars, which is useful, but it never says what happens on invalid/404 URLs, whether truncation is signaled, or whether network/rate limits apply. Worse, it instructs the agent to "use with start_index for pagination" even though no such parameter exists in the schema, which is actively misleading about how to page through content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The Args/Returns layout is easy to scan and the purpose sentence is front-loaded with no filler. One sentence — the start_index pagination hint — earns negative value because it references a nonexistent argument.

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?

This is a simple two-parameter read tool with an output schema, so the description needn't explain return values and is broadly adequate. The unexplained pagination mechanism and absent error/truncation behavior leave an agent uncertain about what happens with large documents or bad URLs.

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 0%, so the description must supply meaning, and it does reasonably well for both parameters: url is defined as the full markdown URL with a concrete example, and max_chars gets a default and a purpose. However, the phantom start_index reference adds false parameter semantics that the schema does not support, muddying rather than clarifying pagination.

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 opens with a specific verb+resource ("Fetch and return the content of a specific Datadog documentation page") that clearly distinguishes a whole-document read from search/list siblings. It stops short of naming read_document_chunk as the alternative for partial reads, so sibling differentiation is implied rather than stated.

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?

Usage is implied: you supply the full markdown URL of the page you want, and max_chars controls size. There is no explicit when-to-use versus read_document_chunk, search_documents, or get_index_sections, nor any exclusion guidance.

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