Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_gtm_update_policy_resource

Idempotent

Updates a resource group in a Global Traffic Manager policy, setting active, standby, or weighted resources for the specified policy and resource group.

Instructions

Update a specific resource group within a Global Traffic Manager policy

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": {
      "policyId": "<policyId>",
      "resourceGroupSid": "<resourceGroupSid>"
    },
    "name": "ncloud_gtm_update_policy_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNoActive resources
standbyNoStandby resources
policyIdYesPolicy ID
weightedNoWeight (only when lbType is WEIGHTED_ROUND_ROBIN)
geoMapDetailIdNoGeo/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
resourceGroupSidYesResource group SID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / active / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / standby / items / $ref
      Removed value: -"#/properties/active/items"
    • addedInput schema / 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 / standby / items / required
      Added value: +[
      +  "content",
      +  "healthCheckRegionId",
      +  "type"
      +]
    • addedInput schema / properties / standby / items / type
      Added value: +"object"
  2. Changed11 schema fields changedv2.2.1
    • addedInput schema / properties / active / items / properties / content / description
      Added value: +"Resource value: an IP address for PUBLIC_IP, a domain name for EXTERNAL_DOMAIN"
    • addedInput schema / properties / active / items / properties / healthCheckRegionId / description
      Added value: +"Health check region ID (see ncloud_gtm_get_health_check_regions)"
    • addedInput schema / properties / active / items / properties / type / description
      Added value: +"Resource type: PUBLIC_IP | EXTERNAL_DOMAIN (same values as ncloud_gtm_get_resource_types)"
    • addedInput schema / properties / active / items / properties / type / enum
      Added value: +[
      +  "PUBLIC_IP",
      +  "EXTERNAL_DOMAIN"
      +]
    • changedInput schema / properties / geoMapDetailId / description
      Previous value: -"Geo map detail ID"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 / standby / items / $ref
      Added value: +"#/properties/active/items"
    • removedInput schema / properties / standby / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / standby / items / properties
      Removed value: -{
      -  "content": {
      -    "type": "string"
      -  },
      -  "healthCheckRegionId": {
      -    "type": "number"
      -  },
      -  "type": {
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / standby / items / required
      Removed value: -[
      -  "content",
      -  "healthCheckRegionId",
      -  "type"
      -]
    • removedInput schema / properties / standby / items / type
      Removed value: -"object"
    • changedInput schema / 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

C2.9/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description is exempt from proving safety. It adds nothing beyond that: no mention of whether omitted fields are cleared on update, no note that 'active'/'standby' replace whole lists, and no mention of the lbType-dependent conditional fields.

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 tight sentence with no filler. It is well-formed but so short that it omits useful context rather than wasting words.

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 mutation on a nested resource structure with lbType-conditional fields and no output schema. The description never says that the active/standby arrays replace existing membership, that weighted applies only under WEIGHTED_ROUND_ROBIN, or what the update returns—gaps an agent must close by reading the schema.

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, cross-references to lookup tools, and the conditional notes on 'weighted' and 'geoMapDetailId'. The description adds nothing about parameters, which is acceptable at full schema coverage but earns only the baseline.

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?

States a specific verb and resource: update a resource group inside a GTM policy. It is clear what is being modified but gives no hint of how it differs from the plural sibling ncloud_gtm_update_policy_resources, which on name alone sounds nearly identical.

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?

No indication of when to use this versus ncloud_gtm_update_policy (the parent policy), ncloud_gtm_update_policy_resources, or ncloud_gtm_update_policy_health_check. The agent must infer the scope of 'resource group' versus whole-policy or health-check updates from the sibling names 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