Skip to main content
Glama
Datadog MCP Server

Datadog MCP Server

by abhi276k

get_hosts

Retrieve a filtered, sortable list of Datadog hosts and their metadata to inspect infrastructure and support monitoring analysis.

Instructions

Get list of hosts and their metadata

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_hosts"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNo
filterNo
sortDirNo
sortFieldNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Get" implies a read, but nothing is said about pagination, default time window, result limits, or what happens when filter/sort are omitted — all material for a list endpoint with five optional parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single grammatical sentence with no filler, so nothing is wasted. However, the brevity comes from under-specification rather than efficient communication — the one sentence conveys only the resource name.

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 five undocumented optional parameters, no annotations, and no output schema, the description is far too thin. An agent cannot determine the expected time-range format, filter semantics, or return shape from this definition.

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?

All five parameters (start, end, filter, sortDir, sortField) have 0% schema description coverage, and the description adds no meaning: it never mentions time range, filter syntax, or sortable fields. The one enum (sortDir) is self-explanatory, but nothing compensates for the documentation gap.

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?

"Get list of hosts and their metadata" names a concrete verb and resource, so the agent knows it retrieves host inventory. It does not distinguish this from sibling list tools such as get_containers or get_monitors, nor does it state what "metadata" includes or the scope of the list.

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, no mention of alternatives for filtered or aggregated host data, and no stated preconditions. 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.