Skip to main content
Glama
ClaudioLazaro

MCP Datadog Server

get_usage_monthly_attributions

Retrieve monthly usage attribution data from Datadog, including multi-region information, with pagination support for complete record access.

Instructions

Get monthly usage attribution. Multi-region data is available starting March 1, 2023.

This API endpoint is paginated. To make sure you receive all records, check if the value of next_record_id is set in the response. If it is, make another request and pass next_record_id as a parameter. Pseudo code example:

response := GetMonthlyUsageAttribution(start_month)
cursor := response.metadata.pagination.next_record_id
WHILE cursor != null BEGIN
  sleep(5 seconds)  # Avoid running into rate limit
  response := GetMonthlyUsageAttribution(start_month, next_record_id=cursor)
  cursor := response.metadata.pagination.next_record_id
END

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does an excellent job describing pagination behavior, including how to handle the 'next_record_id' and even provides pseudo-code with rate limiting guidance (sleep 5 seconds). It also mentions the multi-region data availability constraint. However, it doesn't cover authentication requirements, error conditions, or response format details.

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?

The description is front-loaded with the core purpose, but the pagination explanation and pseudo-code example are quite lengthy. While the pagination information is valuable, it could be more concise. The multi-region data availability note is appropriately brief. Overall, the description is somewhat verbose for a tool with no parameters.

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?

For a read-only tool with no parameters and no output schema, the description provides good behavioral context about pagination and data availability. However, it lacks information about what the attribution data actually contains, typical use cases, or what format/fields to expect in the response. Without an output schema, the description should ideally give more guidance about the return value structure.

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?

The input schema has 0 parameters with 100% description coverage, so the baseline would be 4 even with no parameter information. The description doesn't need to add parameter semantics since there are no parameters to document. The mention of 'start_month' in the pseudo-code is helpful context but not a formal parameter.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Get monthly usage attribution' which is a specific verb+resource combination. It also adds important scope information about multi-region data availability. However, it doesn't explicitly differentiate from sibling usage tools like 'get_usage_hourly_attributions' or 'get_usage_billable_summaries'.

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?

The description provides no guidance on when to use this tool versus alternatives. While it mentions pagination behavior, it doesn't explain the use case for monthly attribution data compared to hourly attribution or other usage tools in the sibling list. There's no mention of prerequisites, typical scenarios, or when-not-to-use guidance.

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

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