Skip to main content
Glama
peterlozano

Datadog MCP Server

by peterlozano

query_metrics

Retrieve Datadog timeseries metrics and get avg, min, max, and latest stats per series. Set time ranges and filters to analyze trends.

Instructions

Query Datadog timeseries metrics. Returns summary statistics (avg, min, max, latest) per series.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd time: relative or ISO 8601 or 'now'now
fromNoStart time: relative (15m, 1h, 1d) or ISO 86011h
queryYesDatadog metric query. E.g. 'avg:system.cpu.user{env:prod} by {host}'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the return shape (summary statistics per series: avg, min, max, latest), which is useful since there's no output schema. However, it omits safety profile (read-only by nature of 'query' but not stated), rate limits, or auth requirements.

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?

Two concise sentences with zero waste, front-loading the purpose and then the return format. No unnecessary detail.

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?

For a read-only query tool with full schema descriptions, the purpose and return shape are covered. But the absence of any usage context relative to siblings and lack of behavioral notes leaves it adequate but with clear gaps for a tool in a crowded namespace.

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 100%, so the schema already documents all three parameters including examples. The description adds no extra parameter guidance beyond what's in the schema, making baseline 3 appropriate.

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 (Query) and resource (Datadog timeseries metrics), and the second sentence clarifies the output shape. Easily distinguished from siblings like list_metrics or search_traces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no mention of alternatives despite many sibling tools, and no note that this is for numeric timeseries rather than metadata listing. The agent must infer usage entirely.

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