Skip to main content
Glama

Get bucket metrics

get_bucket_metrics
Read-only

Retrieve usage statistics for cloud storage buckets over day, month, or year periods. Filter by bucket ID to track consumption and optimize CDN resources.

Instructions

Get usage statistics for cloud storage buckets over a period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDate inside the period, e.g. '2026-08-01'
periodYesPeriod length
bucket_idNoFilter by bucket ID
external_storage_idNoFilter by external storage ID
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the tool is known to be a safe read operation. The description adds the 'over a period' scope, but does not disclose further behavior such as how filtering works, whether statistics are aggregated, or what the response format is. It provides some added context but not rich behavioral detail.

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 a single, concise sentence that immediately states its purpose. No unnecessary words or repetition, and it is front-loaded with the key action and resource.

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 metrics tool with full schema coverage and readOnlyHint, the description is adequate, but it lacks specifics about what 'usage statistics' includes (e.g., bandwidth, operations count) and the response shape. There is no output schema, so the description could provide more detail on expected results to fully compensate.

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 has 100% description coverage for all parameters, including period, date, bucket_id, and external_storage_id. The description adds only high-level meaning ('usage statistics'), which is somewhat helpful but does not enhance the already well-documented parameter semantics. Baseline 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 the action ('Get'), the resource ('usage statistics for cloud storage buckets'), and the scope ('over a period'). It distinguishes itself from sibling metrics tools like get_cdn_metrics and get_prometheus_metrics by explicitly targeting cloud storage buckets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use the tool (for cloud storage bucket usage statistics over a period), but does not provide explicit exclusions or alternatives. With many sibling metrics tools, it would benefit from stating 'Use this for bucket metrics, not CDN or Prometheus metrics' to guide selection.

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