Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_edge_get_edge_stats

Read-only

Retrieve a traffic statistics summary for a Global Edge CDN edge over a specified UTC time range up to 730 days back. Use it to analyze CDN edge performance and usage trends.

Instructions

Get traffic statistics summary for a Global Edge CDN edge within a time range (UTC, up to 730 days back)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "profileId": "<profileId>",
      "edgeId": "<edgeId>",
      "dateFrom": "<dateFrom>",
      "dateTo": "<dateTo>"
    },
    "name": "ncloud_edge_get_edge_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToYesEnd date-time (ISO 8601 UTC, e.g. 2025-07-17T08:00:00Z)
edgeIdYesEdge ID to get statistics for
dateFromYesStart date-time (ISO 8601 UTC, e.g. 2025-07-17T07:00:00Z)
profileIdYesProfile ID that the edge belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed5 schema fields changedv2.0.1
    • addedInput schema / properties / dateFrom
      Added value: +{
      +  "description": "Start date-time (ISO 8601 UTC, e.g. 2025-07-17T07:00:00Z)",
      +  "type": "string"
      +}
    • addedInput schema / properties / dateTo
      Added value: +{
      +  "description": "End date-time (ISO 8601 UTC, e.g. 2025-07-17T08:00:00Z)",
      +  "type": "string"
      +}
    • removedInput schema / properties / endDateTime
      Removed value: -{
      -  "description": "End date-time for statistics (ISO 8601 format, e.g. 2024-01-02T00:00:00Z)",
      -  "type": "string"
      -}
    • removedInput schema / properties / startDateTime
      Removed value: -{
      -  "description": "Start date-time for statistics (ISO 8601 format, e.g. 2024-01-01T00:00:00Z)",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "profileId",
      -  "edgeId",
      -  "startDateTime",
      -  "endDateTime"
      -]New value: +[
      +  "profileId",
      +  "edgeId",
      +  "dateFrom",
      +  "dateTo"
      +]
  3. First observedv1.10.1

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description only needs to add context. It contributes the UTC framing and the 730-day lookback limit, which are real operational constraints not present in the annotations, but it stays silent on metric granularity, aggregation intervals, and empty-result behavior for a stats endpoint.

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 filler, putting the resource before the constraint. It is efficient, though the parenthetical stacks two separate constraints that could be split for faster scanning.

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?

With four required parameters, no output schema, and only a readOnlyHint annotation, the description should say more about what a "traffic statistics summary" returns (metrics, dimensions, aggregation) so an agent can decide whether the result answers its question. Inputs are fully covered, but the output side is left entirely to inference.

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%, with dateFrom/dateTo documented as ISO 8601 UTC with examples and edgeId/profileId tied to their parent entities, so the schema already carries parameter meaning. The description only reinforces the UTC time-range aspect and adds no format, bound, or linkage detail beyond what is already structured.

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?

The description pairs a specific verb ("Get") with a specific resource ("traffic statistics summary for a Global Edge CDN edge") and scopes it to a time range. An agent can distinguish it from sibling read tools like ncloud_edge_get_edge or ncloud_edge_get_edge_status because the payload is explicitly statistics, though no sibling is named for contrast.

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?

Usage is implied by the phrase "within a time range" plus the 730-day retention window, which tells the agent the valid operating envelope. However, there is no explicit statement of when to prefer this over ncloud_edge_get_edge_status or a purge-request lookup, and no prerequisites such as needing a valid profileId/edgeId pair.

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

Deploy Server

Other Tools