Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_functions_get_action

Read-only

Retrieves an action's full definition and source code, redacting detected secrets by default; pass includeSecrets=true only when raw values are needed.

Instructions

Get an action's full definition including its source code. Secrets found in the code (hard-coded access/secret keys, passwords, tokens, PEM keys) are REDACTED by default and the response carries secretsRedacted=true with the count; pass includeSecrets=true only if you genuinely need the raw values.

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": {
      "actionName": "<actionName>"
    },
    "name": "ncloud_functions_get_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoPlatform (default: vpc). Singapore/Japan regions support vpc only.vpc
actionNameYesName of the action to retrieve
packageNameNoPackage name ('-' = unpackaged action)-
includeSecretsNoReturn source code unredacted (default false). Even when true, the response still reports how many secret-like values were detected.

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 changedv1.15.0
    • addedInput schema / properties / includeSecrets
      Added value: +{
      +  "default": false,
      +  "description": "Return source code unredacted (default false). Even when true, the response still reports how many secret-like values were detected.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / packageName / default
      Added value: +"-"
    • changedInput schema / properties / packageName / description
      Previous value: -"Package name containing the action"New value: +"Package name ('-' = unpackaged action)"
    • changedInput schema / properties / platform / description
      Previous value: -"Platform type (default: vpc)"New value: +"Platform (default: vpc). Singapore/Japan regions support vpc only."
    • changedInput schema / required
      Previous value: -[
      -  "packageName",
      -  "actionName"
      -]New value: +[
      +  "actionName"
      +]
  3. First observedv1.10.1

TDQS

A3.8/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses a real behavioral trait: secrets are redacted by default, and the response reports secretsRedacted=true plus a count, and includeSecrets changes that behavior. It does not state permission requirements or error behavior for missing actions, but the redaction contract is the most important non-obvious behavior for this tool.

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 compact sentences with no wasted words: the primary action is front-loaded and the redaction/default caveat follows immediately. Parenthetical examples of secret types add precision without bloating the text.

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 read-only 4-parameter tool with no output schema, the description covers purpose, the key response field (secretsRedacted), and the override parameter adequately. Minor gaps remain around failure modes and response shape, but the redaction behavior—the riskiest aspect—is fully explained.

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 includeSecrets already documented in the schema as 'Return source code unredacted (default false)', plus the note that the count is still reported. The description restates that parameter semantics but adds no new syntax, constraints, or meaning for platform, actionName, or packageName, so the baseline of 3 applies.

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 uses a specific verb and resource ('Get an action's full definition including its source code'), so the agent knows exactly which object it retrieves and what data it gets back, not just metadata. It does not explicitly distinguish itself from siblings such as ncloud_functions_list_actions or ncloud_functions_get_package, but the framing as a single-action full definition is clear enough to set it apart.

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?

The only usage guidance is conditional: pass includeSecrets=true only when raw values are genuinely needed, which steers the agent to the safe default. There is no explicit guidance on when to use this tool instead of list_actions, get_package, or the activation-detail siblings, so the usage context is implied rather than stated.

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