Skip to main content
Glama

Get CDN metrics

get_cdn_metrics
Read-only

Get Anycast CDN metrics for your whole account or a single resource, with flexible period selection and multiple metric types like bandwidth, cache, traffic, and HTTP responses.

Instructions

Get Anycast CDN metrics for the whole account or a single resource. Select a period either with period+date (e.g. period='month', date='2026-08-01') or with from+to timestamps. Metric types: bandwidth, cache, cache_requests, responses (HTTP codes), traffic, hybrid, cloud_storage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoPeriod end (use with from)
dateNoDate inside the period, e.g. '2026-08-01'
fromNoPeriod start, e.g. '2026-08-01 00:00:00 UTC' (use with to)
typeNoMetrics type
scaleNoData point granularity. minute: period <= day; hour: period <= month.
periodNoPeriod length (use with date)
domain_idNoFilter by custom domain ID
region_idNoFilter by region ID
resource_idNoaCDN resource ID. Omit for account-wide metrics.
Behavior4/5

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

The annotations declare readOnlyHint=true and openWorldHint=true. The description adds behavioral detail beyond annotations by explaining the two time-selection modes, the ability to scope to the whole account or a single resource, and clarifying that 'responses' refers to HTTP codes. No contradiction with annotations.

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 two concise sentences that front-load the purpose and then provide essential usage details. Every sentence contributes valuable information with no redundancy or filler.

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?

Despite having no output schema and 9 parameters, the description covers the main scope, time-selection options, and metric types, which is sufficient for invoking the tool. It does not explain output structure, but the schema covers parameter constraints (like scale limits), so the description adequately complements the structured information.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by explaining the mutually exclusive time-selection modes (period+date vs from+to) and clarifying the 'responses' metric type as HTTP codes, which is not obvious from the schema alone.

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 Anycast CDN metrics for the whole account or a single resource, giving a specific verb, resource, and scope. Listing metric types further distinguishes it from sibling tools like get_prometheus_metrics and get_bucket_metrics.

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 provides clear usage context by explaining the two time-range selection methods (period+date or from+to) and enumerating metric types. It does not explicitly contrast with alternatives, but it gives enough context for when to use this tool over others.

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/BlazingCDN/BlazingCDN-MCP'

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