list-logs-metrics
List all configured log-based metrics with definitions to review log metric configurations.
Instructions
List all configured log-based metrics with their definitions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
List all configured log-based metrics with definitions to review log metric configurations.
List all configured log-based metrics with their definitions
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already state readOnlyHint=true and openWorldHint=true, covering safety and result volatility. The description adds that each metric includes its definition, which is useful behavior context. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of 8 words, directly stating the purpose. No unnecessary information, front-loaded verb and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list tool with no parameters and no output schema, the description is complete: it specifies the resource type (log-based metrics) and what is returned (definitions). Annotations handle safety and open-world behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has no parameters, so schema description coverage is trivially 100%. The description correctly adds no parameter info, as none exist. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists all configured log-based metrics with their definitions. It uses a specific verb 'list' and resource 'log-based metrics', distinguishing it from sibling tools like 'get-logs-metric' (single) and 'list-active-metrics' (all metrics).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is used to retrieve log-based metrics but provides no explicit guidance on when to use it vs alternatives like 'list-metric-tags' or 'get-logs-metric'. No when-not-to-use or prerequisite information is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/us-all/datadog-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server