Skip to main content
Glama
us-all

datadog-mcp-server

by us-all

aggregate-logs

Aggregate Datadog logs using statistical functions like count, avg, sum, and percentiles, with optional grouping by fields such as service or status.

Instructions

Aggregate Datadog logs with statistical computations (count, avg, sum, percentiles) and grouping

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesLog filter query. Example: service:api-server status:error
fromYesStart time (ISO 8601). Example: 2026-02-26T00:00:00Z
toYesEnd time (ISO 8601). Example: 2026-02-26T23:59:59Z
aggregationYesAggregation function. Example: count
metricNoMetric field for non-count aggregations. Example: @duration or @http.response_time
groupByNoField to group by. Example: service or status or @http.status_code
Behavior2/5

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

No annotations provided, and the description does not disclose read-only nature, performance implications, pagination, or result format, leaving behavioral gaps.

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?

Single succinct sentence front-loads key terms (aggregate, logs, statistical computations, grouping); no wasted words but could benefit from slight expansion.

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?

No output schema, missing return format; description implies grouped results but doesn't specify response structure or limits, leaving gaps for a statistical aggregation tool.

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 coverage is 100%, baseline 3; description adds that aggregation includes count, avg, sum, percentiles (already in enum) and grouping, but no extra meaning beyond schema.

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 clearly states the tool aggregates Datadog logs using statistical computations and grouping, distinguishing it from sibling aggregate tools (e.g., aggregate-ci-pipelines) and search-logs.

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 explicit guidance on when to use this tool versus alternatives like search-logs or other aggregates; the description lacks context for selective usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/us-all/datadog-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server