Skip to main content
Glama
dreamiurg

Datadog MCP Server

by dreamiurg

get-host-tags

Retrieve all tags assigned to hosts. Use to filter hosts by tag, understand tag-to-host mappings, or identify hosts with a specific tag.

Instructions

Get all tags associated with hosts. Use for 'what tags are on my hosts', 'which hosts have team:platform tag', or to understand host groupings. Returns a map of tag names to host lists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_nameYesHost name to get tags for
sourceNoTag source filter (e.g., 'datadog-agent', 'users', 'chef')
Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions the return format ('map of tag names to host lists') but does not explicitly state if the operation is read-only or discuss authentication needs, which is a minor gap.

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?

The description is concise: two sentences. The first sentence states the core action, and the second provides usage examples and output details. No redundant or unnecessary content.

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

Completeness4/5

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

For a simple tag retrieval tool with two parameters and no output schema, the description covers the purpose, usage, and return format adequately. It could mention edge cases like non-existent hosts, but overall it is sufficiently complete.

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?

The input schema already provides descriptions for both parameters ('host_name' and 'source'). The tool description does not add meaningful parameter-level details beyond what the schema offers, so a baseline score of 3 is 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?

The description clearly states it retrieves all tags associated with hosts, provides example queries, and specifies the return format. It distinguishes itself from sibling tools like 'get-hosts' by focusing specifically on tags.

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?

The description gives explicit usage examples (e.g., 'which hosts have team:platform tag') and explains the purpose. It does not explicitly exclude alternative tools, but the context is sufficient for most use cases.

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/dreamiurg/datadog-mcp'

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