Skip to main content
Glama
Datadog MCP Server

Datadog MCP Server

by abhi276k

get_containers

Retrieve containers and their metrics from Datadog, with sorting, grouping, pagination, and tag filters to support targeted monitoring.

Instructions

Get list of containers and their metrics

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": "get_containers"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
groupByNo
pageSizeNo
filterTagsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does not meet it. It never states pagination behavior despite a pageSize parameter, whether results are sorted by default, whether metrics are a snapshot or aggregated over a window, or what permissions are required. Only the bare hint that metrics accompany each container is added.

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?

A single short sentence, front-loaded with the verb and resource, with no filler or redundancy. It is efficient, though the brevity is partly a symptom of under-specification rather than disciplined compression.

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

Completeness2/5

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

For a tool with four undocumented parameters, no annotations, and no output schema, the description is far too thin. It leaves pagination, sorting, grouping, filtering, and the shape of the returned metrics all unexplained, so an agent would have to call it blind to learn how it behaves.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (sort, groupBy, pageSize, filterTags), and the description mentions none of them. No formats, allowed values, or defaults (pageSize defaults to 20) are explained, so the agent has no way to know how sort and groupBy should be expressed or how filterTags is encoded.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a clear verb+resource ("Get list of containers") and adds that metrics for those containers are included, so the agent knows roughly what comes back. But "containers" is never scoped and nothing distinguishes this from sibling list tools like get_hosts or get_metrics, so the agent cannot tell which resource domain it applies to.

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?

There is no when-to-use guidance at all: no prerequisites, no indication of whether this is a discovery call versus a reporting call, and no pointer to alternatives such as query_metrics when metric time series rather than a container inventory is wanted. The agent must infer usage purely from the name.

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