Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_functions_create_package

Create or update a Cloud Functions package by name; set description, platform, and default parameters, or preview changes with dry-run.

Instructions

Create or update a Cloud Functions package (PUT — idempotent). Name: 1-50 chars of letters, digits, '-' and '_', must not start with '-', and must be unique across packages/actions/triggers.

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_create_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview the request without calling the API
platformNoPlatform (default: vpc). Singapore/Japan regions support vpc only.vpc
parametersNoDefault parameters as a {key: value} JSON object. Lowest precedence: runtime params > trigger params > action params > package params.
descriptionNoDescription (0-3000 bytes)
packageNameYesName of the package to create or update

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / parameters / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed7 schema fields changedv1.15.0
    • changedInput schema / properties / description / description
      Previous value: -"Description of the package"New value: +"Description (0-3000 bytes)"
    • addedInput schema / properties / description / maxLength
      Added value: +3000
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "default": false,
      +  "description": "Preview the request without calling the API",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / packageName / maxLength
      Added value: +50
    • addedInput schema / properties / packageName / minLength
      Added value: +1
    • changedInput schema / properties / parameters / description
      Previous value: -"Default parameters for the package as a JSON object"New value: +"Default parameters as a {key: value} JSON object. Lowest precedence: runtime params > trigger params > action params > package params."
    • 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

A3.9/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, so the description carries most of the behavioral load and does so well: it discloses idempotency (PUT semantics) and the uniqueness constraint spanning packages, actions and triggers, which prevents failed calls. It does not address permissions, what fields get overwritten on update, or what the response contains.

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 sentences, both essential: the first establishes action and idempotency, the second front-loads the validation rules an agent needs before calling. No redundant restatement of the tool name or schema fields.

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 mutation tool with no output schema, the definition covers the critical pre-call knowledge: idempotency and naming/uniqueness validation. Gaps remain around permission requirements and update-overwrite behavior, but the supplied annotations plus a fully documented schema keep it close to complete.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds meaning beyond the schema by stating the name character set restriction 'must not start with -' and the cross-resource uniqueness requirement, neither of which appears in the schema constraints. It says nothing extra about parameters, platform, or the nested parameters object precedence rules.

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 states a specific verb and resource ('Create or update a Cloud Functions package') and clarifies the upsert semantics via 'PUT — idempotent'. It does not explicitly name the sibling tools (get/delete/list_package, create_action, create_trigger), so differentiation is implied by resource type rather than stated.

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 rather than spelled out: the idempotent PUT framing tells an agent it can re-call this to update an existing package rather than needing a separate update path. There is no explicit when-to-use versus when-not, and no stated prerequisites such as permissions or parent resource context.

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