Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_edge_purge

DestructiveIdempotent

Purges cached content from a Global Edge CDN edge by all content, directory, pattern, or specific URLs, returning a purge request ID for status tracking.

Instructions

Run a cache purge (invalidation) on a Global Edge CDN edge. Supports purging all content, by directory, pattern, or specific URLs. Returns a purge request ID (check with ncloud_edge_get_purge_request).

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": {
      "edgeId": "<edgeId>",
      "purgeType": "<purgeType>"
    },
    "name": "ncloud_edge_purge"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgeIdYesEdge ID to purge cache for
purgeTypeYesPurge type: ALL (purge everything), DIRECTORY (by directory path), PATTERN (directory + extension), URL (specific files)
purgeTargetNoPurge target list (omit for ALL type). DIRECTORY: /path/*, PATTERN: /path/*.ext, URL: /path/file.ext

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.10.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value by stating the return value (a purge request ID) in the absence of an output schema, but it says nothing about propagation delay, irreversibility of purged content, or any rate limits — context that matters for a destructive operation.

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?

Three sentences, front-loaded with the action and scope, followed by supported modes and the follow-up tool. Every sentence carries distinct information and there is no redundant wording.

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?

For a three-parameter mutation tool with no output schema, the description covers purpose, purge modes, and the return value plus next step. It is nearly complete; only operational expectations such as purge propagation timing are left implicit.

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 coverage is 100% and the purgeType enum already documents ALL/DIRECTORY/PATTERN/URL with target formats, so the schema does the heavy lifting. The description restates the same four modes at a high level without adding syntax or format detail beyond what the schema provides — the baseline for full coverage.

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 gives a specific verb and resource ('Run a cache purge (invalidation) on a Global Edge CDN edge') and enumerates the four supported purge scopes. It also names the companion tool for checking results, so an agent can separate this from ncloud_edge_get_purge_request without opening either schema.

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?

It clearly establishes the context of use (purging cached content on an edge) and routes the agent to ncloud_edge_get_purge_request for status checks, which is the natural follow-up path. It stops short of explicit when-not-to-use guidance, such as warning against ALL purges when a narrower type suffices.

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