Skip to main content
Glama

retrieve_image_analytics

Read-onlyIdempotent

This endpoint helps you get image analytics data like bandwidth consumption, request count, CDN hit ratio, etc.

Input Schema

NameRequiredDescriptionDefault
filtersNo
metricsNoDefine the metric you need the data for. Supported values: `bandwidth_consumption`, `requests_count`, `transformations_count`, `bandwidth_savings`, `origin_hit_rate`, `avg_transformation_response_time`, `status_4xx`, `status_5xx`, `cdn_hit_rate`, `content_type`, `status_2xx`, `avg_response_time`, `top_assets`, `bandwidth_consumption_by_source`, and `ai_credit_usage`.
group_byNodaily
date_rangeNoThe timeframe to get the data for. Currently we only support a maximum of 30 days between `start_at` and `end_at`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / date_range / properties / end_at / description
      Previous value: -"The ending date to consider"New value: +"Date in yyyy-MM-dd format"
    • changedInput schema / properties / date_range / properties / start_at / description
      Previous value: -"The starting date to consider"New value: +"Date in yyyy-MM-dd format"
    • changedInput schema / properties / metrics / description
      Previous value: -"Define the metric you need the data for. Currently we support `bandwidth_consumption`, `requests_count`, `status_4xx`, `status_5xx`, and `avg_response_time`."New value: +"Define the metric you need the data for. Supported values: `bandwidth_consumption`, `requests_count`, `transformations_count`, `bandwidth_savings`, `origin_hit_rate`, `avg_transformation_response_time`, `status_4xx`, `status_5xx`, `cdn_hit_rate`, `content_type`, `status_2xx`, `avg_response_time`, `top_assets`, `bandwidth_consumption_by_source`, and `ai_credit_usage`."
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds nothing behavioral — no note on the 30-day query window, the daily grouping default, rate limits, or pagination/response shape — so it earns little credit beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no padding, which is appropriate for its length. The trailing 'etc.' undercuts it slightly by signalling deliberately incomplete enumeration.

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

Completeness2/5

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

For a 4-parameter tool with a nested date_range, an enum-bearing metrics array, and outputs supplied by an output schema, the description omits the critical 30-day cap and the fact that metrics drives the report, and gives no routing against sibling analytics tools. It leaves real decision-making gaps for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, with group_by and the filters object effectively undocumented in the schema. The description's 'bandwidth consumption, request count, CDN hit ratio' loosely echoes three metrics enum values but adds no syntax, required-vs-optional guidance, or explanation of how metrics, group_by, and date_range combine.

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?

States a clear verb+resource ('get image analytics data') and lists example metrics, so an agent knows it returns image CDN/reporting data. It does not, however, distinguish itself from the many analytics siblings (analytics_aggregated_data, asset_analytics, insights_chart_data, retrieve_analytics), leaving the image/ad-hoc distinction to inference.

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?

There is no when-to-use guidance and no alternatives named, despite a crowded analytics sibling set where an agent must choose between image, asset, live-usage, and insights analytics. The description only says what the endpoint does, never when to prefer it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources