Skip to main content
Glama
log-10x

Log10x MCP Server

Official

Datadog change report and spike monitors

log10x_datadog_change_report
Read-onlyIdempotent

Generate a weekly Datadog change report listing new log statements per service with daily volume, estimated monthly indexing cost, and the rule that held them. Optionally render monitor definitions for tier down or offload.

Instructions

Weekly change report for a Datadog install, read from the per-pattern series the engine's Datadog metric output publishes (emitted_events_summaryVolume, tagged message_pattern, tenx_hash, k8s_container, tenx_user_service, routeState, and tenx_team once the team label ships). Lists the statements new in a service since since (a duration like 7d or a date; stateless, so pass the previous report's next_since to continue), each with lines a day, estimated Standard indexing cost a month at Datadog list price, whether a rule held it, and the rule that did (the container's row and action in caps.csv / actions.csv, read from the gitops repo or the policy ConfigMap). Ends with proposed per-service rows in the plan's form: ": any statement above N lines a day goes to Flex. Today that is these K statements, about $X a month." view: "monitors" instead renders two Datadog monitor definitions as JSON for the account owner to apply: a metric monitor that fires when a statement's route turns tier_down or offload, and an anomaly monitor with weekly seasonality that fires when a statement's volume rises above its weekly baseline. Read-only: Datadog's query API with DD_API_KEY / DD_APP_KEY / DD_SITE (GET only), and the engine files. Writes nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoDatadog site (e.g. `us5.datadoghq.com`). Defaults to DD_SITE, then `datadoghq.com`.
viewNo`markdown` (default): the weekly change report. `summary`: the same data without the rendered page. `monitors`: two Datadog monitor definitions as JSON (a statement turning tier_down or offload; a statement above its weekly baseline), for the account owner to apply. `monitors` reads nothing.markdown
limitNoMost new statements listed. Default 25.
sinceNoStart of the report: a duration back from now (`7d`, `36h`) or a date or ISO timestamp (`2026-10-06`). A statement is new when it had no line in its service in the `lookback` before this point. Pass the previous report's `next_since` to continue where it ended. Default `7d`.7d
actionNoWhere a proposed row sends a statement: `tier_down` (Flex, the default) or `offload` (S3) for an account without Flex.tier_down
notifyNoNotification handles for the monitors view (e.g. `@slack-log-cost`).
headroomNoMultiplier on the fleet's largest kept statement, for a service with no history of its own. Default 2.
lookbackNoHow far before `since` to look for earlier lines of a statement. Default `28d`, at most `90d`.28d
team_tagNoTeam tag key on the series (e.g. `tenx_team`). Omit to detect `tenx_team` on the series; the team is shown only when present.
tenx_envNo`tenx_env` tag value to scope the series to. Omit for every environment.
environmentNoMCP environment nickname, used to find the gitops repo holding caps.csv and actions.csv.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
toolYes
viewNosummary
imagesNo
actionsNo
summaryYes
warningsNo
truncatedNo
next_cursorNo
render_hintNo
generated_atYes
schema_epochYes
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.30.8

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/openWorldHint, yet the description adds real operational context: the Datadog query API is GET-only with DD_API_KEY/DD_APP_KEY/DD_SITE, the engine files are also read, nothing is written, and the tool is stateless so `next_since` carries continuity. It also discloses the source series' tag set and notes the team label appears only once shipped.

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?

Purpose and modes are front-loaded, and the closing sentence covers auth and safety. The middle is a dense, heavily parenthesized run-on describing fields and data sources that takes effort to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, zero-required, multi-mode tool with an output schema, the description covers mode selection, the parameter interactions that matter (since/lookback, team_tag detection, environment for gitops lookup), data provenance, and auth. Return values are delegated correctly to the output schema.

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 coverage is 100%, so the baseline is 3, but the description adds semantics the schema does not: the exact definition of 'new' relative to `lookback`, the continuation contract for `since`/`next_since`, and the meaning of `view: "monitors"` as producing applyable definitions. This meaningfully exceeds the schema text.

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 and resource up front: a weekly change report read from the engine's Datadog metric output, plus a `view: "monitors"` mode that emits two Datadog monitor definitions as JSON. The three output modes and the fields each statement carries are spelled out, so an agent can tell this apart from reporting siblings like log10x_commitment_report or log10x_whats_changing.

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?

Gives clear when-to-use context: continuation via the previous report's `next_since`, `view: "monitors"` for the account owner to apply, and `monitors` reading nothing. It does not, however, name or exclude any sibling tool, so the agent must infer which of the many reporting tools to prefer.

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