Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_functions_delete_package

DestructiveIdempotent

Permanently deletes a Cloud Functions package once all actions are removed; fails with 409 if the package is not empty. Set confirm=true to execute the destructive removal.

Instructions

⚠️ Destructive: Permanently delete a Cloud Functions package. Fails with 409 PACKAGE_NOT_EMPTY while the package still contains actions — delete those first. Set confirm=true to execute.

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": {
      "packageName": "<packageName>"
    },
    "name": "ncloud_functions_delete_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to actually execute the destructive operation
platformNoPlatform (default: vpc). Singapore/Japan regions support vpc only.vpc
packageNameYesName of the package to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv1.15.0
    • changedInput schema / properties / platform / description
      Previous value: -"Platform type (default: vpc)"New value: +"Platform (default: vpc). Singapore/Japan regions support vpc only."
  3. First observedv1.10.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description still adds real context beyond them: permanence, the exact 409 PACKAGE_NOT_EMPTY failure mode, and the confirm=true execution gate. It does not mention permission requirements or what happens to linked triggers, which keeps it from a 5.

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?

Two tight sentences, with the destructive warning and the resource front-loaded before the precondition and the confirm requirement. No filler.

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 destructive mutation with full annotation coverage, no output schema, and 100% documented params, the description covers what an agent needs to avoid a failed call. The only gap is any mention of the platform parameter's relevance, which the schema handles.

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 all three parameters are already documented, and the description only restates confirm=true. It adds nothing about the platform enum (vpc vs classic) or region constraints, so the baseline 3 applies.

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?

States a specific verb and resource — 'Permanently delete a Cloud Functions package' — and the word 'package' cleanly separates it from the sibling delete_action and delete_trigger tools. The emptiness precondition further pins down exactly which resource is being removed.

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?

Gives a concrete ordering rule: the call fails with 409 PACKAGE_NOT_EMPTY while actions remain, so those must be deleted first. That effectively routes the agent to delete actions before this tool, though it never names the alternative tool or states when not to use this one.

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