Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_gtm_create_policy

Create a Global Traffic Manager policy with load balancing, health check monitor, and active/standby resource groups. Define routing by round robin, weight, geolocation, or CIDR to direct DNS traffic.

Instructions

Create a new Global Traffic Manager policy with load balancing, monitor, and resource groups

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": {
      "name": "<name>",
      "lbType": "<lbType>"
    },
    "name": "ncloud_gtm_create_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPolicy name
lbTypeYesLoad balancing type: ROUND_ROBIN | WEIGHTED_ROUND_ROBIN | GEOLOCATION | CIDR (same values as ncloud_gtm_get_lb_types). The legacy aliases GEO and WEIGHTED_RR are converted to GEOLOCATION and WEIGHTED_ROUND_ROBIN.
monitorNoHealth check monitor configuration
geoMapIdNoGeo/CIDR Map ID (required when lbType is GEOLOCATION or CIDR)
resourceGroupsNoResource groups with active/standby resources. For GEOLOCATION, include one group for EVERY detail of the map, including ETC (geoMapDetailId -1) — otherwise the API rejects the request with 'need all detail id'. PUBLIC_IP resources must be public IP addresses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / monitor / additionalProperties
      Removed value: -false
    • removedInput schema / properties / resourceGroups / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / resourceGroups / items / properties / active / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / resourceGroups / items / properties / standby / items / $ref
      Removed value: -"#/properties/resourceGroups/items/properties/active/items"
    • addedInput schema / properties / resourceGroups / items / properties / standby / items / properties
      Added value: +{
      +  "content": {
      +    "description": "Resource value: an IP address for PUBLIC_IP, a domain name for EXTERNAL_DOMAIN",
      +    "type": "string"
      +  },
      +  "healthCheckRegionId": {
      +    "description": "Health check region ID (see ncloud_gtm_get_health_check_regions)",
      +    "type": "number"
      +  },
      +  "type": {
      +    "description": "Resource type: PUBLIC_IP | EXTERNAL_DOMAIN (same values as ncloud_gtm_get_resource_types)",
      +    "enum": [
      +      "PUBLIC_IP",
      +      "EXTERNAL_DOMAIN"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / resourceGroups / items / properties / standby / items / required
      Added value: +[
      +  "content",
      +  "healthCheckRegionId",
      +  "type"
      +]
    • addedInput schema / properties / resourceGroups / items / properties / standby / items / type
      Added value: +"object"
  2. Changed15 schema fields changedv2.2.1
    • changedInput schema / properties / geoMapId / description
      Previous value: -"Geo/CIDR Map ID (required when lbType is GEO or CIDR)"New value: +"Geo/CIDR Map ID (required when lbType is GEOLOCATION or CIDR)"
    • changedInput schema / properties / lbType / description
      Previous value: -"Load balancing type"New value: +"Load balancing type: ROUND_ROBIN | WEIGHTED_ROUND_ROBIN | GEOLOCATION | CIDR (same values as ncloud_gtm_get_lb_types). The legacy aliases GEO and WEIGHTED_RR are converted to GEOLOCATION and WEIGHTED_ROUND_ROBIN."
    • changedInput schema / properties / lbType / enum
      Previous value: -[
      -  "ROUND_ROBIN",
      -  "WEIGHTED_RR",
      -  "FAILOVER",
      -  "GEO",
      -  "CIDR"
      -]New value: +[
      +  "ROUND_ROBIN",
      +  "WEIGHTED_ROUND_ROBIN",
      +  "GEOLOCATION",
      +  "CIDR"
      +]
    • changedInput schema / properties / resourceGroups / description
      Previous value: -"Resource groups with active/standby resources"New value: +"Resource groups with active/standby resources. For GEOLOCATION, include one group for EVERY detail of the map, including ETC (geoMapDetailId -1) — otherwise the API rejects the request with 'need all detail id'. PUBLIC_IP resources must be public IP addresses."
    • changedInput schema / properties / resourceGroups / items / properties / active / items / properties / content / description
      Previous value: -"Resource address (IP or domain)"New value: +"Resource value: an IP address for PUBLIC_IP, a domain name for EXTERNAL_DOMAIN"
    • changedInput schema / properties / resourceGroups / items / properties / active / items / properties / healthCheckRegionId / description
      Previous value: -"Health check region ID"New value: +"Health check region ID (see ncloud_gtm_get_health_check_regions)"
    • changedInput schema / properties / resourceGroups / items / properties / active / items / properties / type / description
      Previous value: -"Resource type (PUBLIC_IP or CNAME)"New value: +"Resource type: PUBLIC_IP | EXTERNAL_DOMAIN (same values as ncloud_gtm_get_resource_types)"
    • addedInput schema / properties / resourceGroups / items / properties / active / items / properties / type / enum
      Added value: +[
      +  "PUBLIC_IP",
      +  "EXTERNAL_DOMAIN"
      +]
    • changedInput schema / properties / resourceGroups / items / properties / geoMapDetailId / description
      Previous value: -"Geo map detail ID (GEO/CIDR only)"New value: +"Geo/CIDR map detail ID this group serves (only when lbType is GEOLOCATION or CIDR). IDs come from ncloud_gtm_get_geo_cidr_map_detail (detailedMapList[].id); the catch-all ETC detail is -1"
    • addedInput schema / properties / resourceGroups / items / properties / standby / items / $ref
      Added value: +"#/properties/resourceGroups/items/properties/active/items"
    • removedInput schema / properties / resourceGroups / items / properties / standby / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / resourceGroups / items / properties / standby / items / properties
      Removed value: -{
      -  "content": {
      -    "description": "Resource address",
      -    "type": "string"
      -  },
      -  "healthCheckRegionId": {
      -    "description": "Health check region ID",
      -    "type": "number"
      -  },
      -  "type": {
      -    "description": "Resource type (PUBLIC_IP or CNAME)",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / resourceGroups / items / properties / standby / items / required
      Removed value: -[
      -  "content",
      -  "healthCheckRegionId",
      -  "type"
      -]
    • removedInput schema / properties / resourceGroups / items / properties / standby / items / type
      Removed value: -"object"
    • changedInput schema / properties / resourceGroups / items / properties / weighted / description
      Previous value: -"Weight (WEIGHTED_RR only)"New value: +"Weight (only when lbType is WEIGHTED_ROUND_ROBIN)"
  3. First observedv1.10.1

TDQS

B3.1/5.0
Behavior3/5

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

The only annotation is destructiveHint=false, which is consistent with a create operation, and the description adds nothing about permissions, idempotency, or what happens on name collision. It does at least confirm the composed scope (monitor plus resource groups) so the agent knows this single call provisions a full policy rather than a bare record. With annotations covering so little, a description this thin is a missed opportunity rather than a contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; it leads with the verb and resource. Its brevity is more a symptom of under-specification than of wasted words, but nothing in the sentence is superfluous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex mutation with nested objects, conditional enum-driven requirements and no output schema, yet the description says nothing about the return value, the required ordering of lookup calls, or the failure modes documented only deep in the schema (e.g., the 'need all detail id' rejection). For a tool of this complexity the single sentence leaves real gaps in the natural-language layer.

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%, including enum values, defaults, conditional requirements (geoMapId for GEOLOCATION/CIDR) and lookup siblings for IDs, so the description is not required to compensate. It adds no parameter meaning beyond the schema, 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 states a specific verb and resource ("Create a new Global Traffic Manager policy") and enumerates the sub-configurations the tool accepts (load balancing, monitor, resource groups). It clearly distinguishes a creation operation from the update/delete siblings in the catalog, though it doesn't name them.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites (e.g., that a geo/CIDR map must exist before creating a GEOLOCATION policy), and no pointer to the get_* lookup siblings needed to fill in IDs. The agent must infer all routing decisions from the schema alone.

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