Skip to main content
Glama
jsdelivr-mcp
by anvme

jsdelivr_network_stats

Compare CDN delivery traffic by retrieving network-wide hits and bandwidth per provider, with filters for time period, country, and continent.

Instructions

Get network-wide hits/bandwidth by CDN provider (BN=Bunny, CF=Cloudflare, FY=Fastly, GC=Gcore, MX=StackPath, QT=Quantil).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jsdelivr_network_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoTime period: floating (day|week|month|quarter|year), static (s-month|s-quarter|s-year), or date (YYYY-MM|YYYY-Qq|YYYY). Default: month
countryNoISO 3166-1 alpha-2 country code, e.g. US, DE
continentNoContinent filter (ISO code)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the metric scope (hits and bandwidth, network-wide) and provides a provider-code legend, but says nothing about the return shape, whether values are time series, aggregation behavior across filters, or rate limits/auth.

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?

A single sentence that front-loads the operation and scope, then appends a compact legend for the abbreviated provider codes. Every clause earns its place; no filler.

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?

No output schema exists, so the description should hint at what the response contains (per-provider rows of hits/bandwidth over the chosen period). It gestures at that with 'hits/bandwidth by CDN provider' but leaves aggregation and response structure implicit, which is only marginally complete for an analytics tool.

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?

Schema description coverage is 100%, so period, country, and continent are already well documented with examples and an enum. The description adds no parameter-level meaning beyond that baseline, which is acceptable given the schema does the work.

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 specific verb and resource ('Get network-wide hits/bandwidth by CDN provider') and explicitly says the breakdown dimension is CDN provider, which distinguishes it from siblings like jsdelivr_network_countries or jsdelivr_network_content. Slightly short of 5 because 'network-wide' versus the filtered variants is not contrasted explicitly.

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 guidance on when to choose this over jsdelivr_network_countries, jsdelivr_network_content, or jsdelivr_proxy_stats, nor any note that filters (country/continent) still apply. The agent must infer the tool's role purely from the phrase 'by CDN provider'.

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