Skip to main content
Glama
datadog-docs-mcp

datadog-docs-mcp

by onodera-yu

search_documents

Search Datadog documentation by keyword to find relevant pages ranked by matching title and section terms.

Instructions

Search Datadog documentation index by keyword.

Searches document titles and section names. Results are ranked by the number of matching keywords (best matches first). At least one keyword must match.

Args: query: Search query in English (case-insensitive). Multiple words are scored individually. limit: Maximum number of results to return (default 20).

Returns: A formatted list of matching documents, ranked by relevance.

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": {
      "query": "<query>"
    },
    "name": "search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose real behavioral detail: matching is case-insensitive, keywords are scored individually, results are ranked best-first, and at least one match is required. It omits what happens on zero matches (empty list vs. error), any result-size or truncation behavior, and any statement of read-only safety, which leaves meaningful gaps for an unannotated tool.

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?

Front-loaded with the purpose, then structured Args/Returns sections that are easy to scan. There is minor redundancy between the opening sentence and the following line about searching titles and section names, and the Returns block partly duplicates the output schema, but nothing is padded.

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 two-parameter, single-purpose search tool with an output schema and no annotations, this covers purpose, matching semantics, ranking, and both parameters adequately. The remaining gaps are edge-case behavior (no-match result, truncation) and sibling routing rather than anything required to invoke the tool 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 description coverage is 0%, so the description must compensate, and it does: query is described as an English, case-insensitive string whose words are scored individually, and limit is described as the maximum number of results with a stated default of 20. It does not give a valid range or explain whether limit truncates ranked results, but both parameters are given meaning the schema does not provide.

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 states a specific verb and resource ("Search Datadog documentation index by keyword") and narrows the search scope to titles and section names, which meaningfully separates it from a full-text or document-read tool. It never names a sibling such as list_documents or read_document, so the differentiation is implicit rather than explicit.

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 context is implied by the scope statement (title/section keyword lookup) and one hard constraint is given ("At least one keyword must match"), but there is no explicit when-to-use/when-not-to-use guidance and no routing to alternatives like list_documents for enumeration or read_document for retrieving content.

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