Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_functions_invoke_action

Invoke a serverless action synchronously and return its result; if it exceeds the timeout, receive the activation ID to fetch the outcome later.

Instructions

Invoke an action synchronously and return its result (activationId, duration, response.result). If the action runs longer than timeout, only the activationId is returned — fetch the outcome later with ncloud_functions_get_action_activation_detail. web/sequence-web actions cannot handle raw HTTP here; use an API Gateway trigger for that.

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

Input Schema

NameRequiredDescriptionDefault
paramsNoRuntime parameters passed to the action (highest precedence)
timeoutNoMax time to wait for the response in ms (0-60000, default 60000)
platformNoPlatform (default: vpc). Singapore/Japan regions support vpc only.vpc
actionNameYesName of the action to invoke
packageNameNoPackage name ('-' = unpackaged action)-

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / params / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed7 schema fields changedv1.15.0
    • 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 / params / description
      Previous value: -"Runtime parameters to pass to the action"New value: +"Runtime parameters passed to the action (highest precedence)"
    • changedInput schema / properties / platform / description
      Previous value: -"Platform type (default: vpc)"New value: +"Platform (default: vpc). Singapore/Japan regions support vpc only."
    • changedInput schema / properties / timeout / description
      Previous value: -"Invocation timeout in milliseconds (0~60000, default: 60000)"New value: +"Max time to wait for the response in ms (0-60000, default 60000)"
    • changedInput schema / properties / timeout / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / required
      Previous value: -[
      -  "packageName",
      -  "actionName"
      -]New value: +[
      +  "actionName"
      +]
  3. First observedv1.10.1

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the disclosure burden and does well: it explains synchronous semantics, what is returned on success, and the degraded partial-result behavior when `timeout` elapses. It omits permission/auth requirements and error/failure behavior, which would matter for an invocation 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?

Three sentences, all front-loaded with the core behavior first, then the timeout fallback, then the limitation. No restatement of the tool name and 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?

There is no output schema, and the description compensates by naming the returned fields; the timeout fallback path is fully closed with a follow-up tool. Missing only operational context such as authentication or how failures surface, which is a modest gap for a 5-parameter invocation tool.

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, but the description adds real meaning beyond the schema by explaining the consequence of exceeding `timeout` (only activationId returned). It says nothing additional about `platform` or `packageName`, and only implicitly covers `params`.

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+resource ('Invoke an action synchronously') and even enumerates the return shape (activationId, duration, response.result), which lets an agent distinguish it from read-only siblings like ncloud_functions_get_action_activation_detail or ncloud_functions_get_action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit conditions: use this for synchronous invocation, fall back to ncloud_functions_get_action_activation_detail when the timeout is exceeded, and do not use it for web/sequence-web actions — instead use an API Gateway trigger. Both the alternative and the exclusion are named.

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