Skip to main content
Glama
datadog-docs-mcp

datadog-docs-mcp

by onodera-yu

refresh_index

Forces a reload of the cached Datadog documentation index when it may be outdated, returning the count of loaded documents.

Instructions

Force refresh the cached llms.txt index.

Use this if you suspect the index is outdated.

Returns: Confirmation message with the number of documents loaded.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "refresh_index"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the core behavior (forcing a refresh of a cache) and the return value (a confirmation with document count), but it says nothing about cost, latency, whether it re-fetches over the network, whether it can fail or partially load, or whether other cached state is invalidated — important for an operation described as 'force'.

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 action, followed by the trigger condition and return summary; no filler. The 'Returns' block partially duplicates the existing output schema, which is mild redundancy rather than a real problem.

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 zero-parameter maintenance tool with a declared output schema, the description covers purpose, trigger, and outcome adequately. The remaining gap is operational context (time cost, failure behavior) rather than anything needed to invoke it 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?

The tool takes zero parameters and schema coverage is 100%, so there is nothing for the description to disambiguate. Baseline for a no-parameter tool is 4.

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?

States a specific verb ('force refresh') and a specific resource ('cached llms.txt index'), which is clearly distinct from the read/search siblings like search_documents and read_document. An agent can tell this is a cache-maintenance action, not a retrieval call, without opening any schema.

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?

'Use this if you suspect the index is outdated' gives a clear triggering condition. It does not state when not to use it (e.g. don't call it routinely before every search), but the conditional phrasing implies that reasonably well, so it falls just short of a 5.

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