Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_cdss_change_kafka_config

Idempotent

Replaces a Kafka Config Group's entire custom configuration, silently reverting omitted settings to defaults. Resend all values to keep, then re-apply the group to a cluster.

Instructions

⚠️ Replaces the Config Group's ENTIRE custom configuration. Any setting you omit loses its custom value and reverts to the default — the API reports SUCCESS either way, so the revert is silent. Read the current values with ncloud_cdss_get_kafka_config and send EVERY value you want to keep, not just the ones you are changing. Named settings are typed parameters; anything without one goes in additionalSettings. range in the read response gives each setting's valid bounds (the server enforces them), and modifyYn: false marks settings the server silently discards rather than rejecting (authorizer.class.name is one). The group must be re-applied to a cluster with ncloud_cdss_apply_config_group for a change to take effect.

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": {
      "configGroupNo": "<configGroupNo>",
      "kafkaVersionCode": "<kafkaVersionCode>"
    },
    "name": "ncloud_cdss_change_kafka_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
numIoThreadsNonum.io.threads
configGroupNoYesConfig group number (from ncloud_cdss_list_config_groups)
numPartitionsNonum.partitions
logSegmentBytesNolog.segment.bytes (e.g. 1073741824)
kafkaVersionCodeYesKafka version code of the group (from ncloud_cdss_get_kafka_versions)
logCleanerEnableNolog.cleaner.enable
logCleanupPolicyNolog.cleanup.policy (e.g. 'delete', 'compact')
deleteTopicEnableNodelete.topic.enable
logCleanerThreadsNolog.cleaner.threads
logRetentionBytesNolog.retention.bytes (-1 for unlimited)
logRetentionHoursNolog.retention.hours (e.g. 168)
numNetworkThreadsNonum.network.threads
additionalSettingsNoSettings without a named parameter above — sent as additionalKafkaConfigGroupDetailList
authorizerClassNameNoauthorizer.class.name. ⚠️ Read-only in practice: the server accepts this, answers SUCCESS, and discards it (modifyYn=false)
autoCreateTopicsEnableNoauto.create.topics.enable
logFlushIntervalMessagesNolog.flush.interval.messages
allowEveryoneIfNoAclFoundNoallow.everyone.if.no.acl.found
offsetsTopicReplicationFactorNooffsets.topic.replication.factor

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / additionalSettings / items / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv2.2.0
    • changedInput schema / properties / additionalSettings / description
      Previous value: -"Settings without a named parameter above — sent as additionalKafkaConfigGroupDetailList. ⚠️ Value application is unverified: an earlier attempt registered the entry with an empty value"New value: +"Settings without a named parameter above — sent as additionalKafkaConfigGroupDetailList"
  3. Changed20 schema fields changedv1.15.0
    • addedInput schema / properties / additionalSettings
      Added value: +{
      +  "description": "Settings without a named parameter above — sent as additionalKafkaConfigGroupDetailList. ⚠️ Value application is unverified: an earlier attempt registered the entry with an empty value",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "configName": {
      +        "description": "Kafka setting name (e.g. 'compression.type')",
      +        "type": "string"
      +      },
      +      "configValue": {
      +        "description": "Value to set, as a string",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "configName",
      +      "configValue"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / allowEveryoneIfNoAclFound
      Added value: +{
      +  "description": "allow.everyone.if.no.acl.found",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / authorizerClassName
      Added value: +{
      +  "description": "authorizer.class.name. ⚠️ Read-only in practice: the server accepts this, answers SUCCESS, and discards it (modifyYn=false)",
      +  "type": "string"
      +}
    • addedInput schema / properties / autoCreateTopicsEnable
      Added value: +{
      +  "description": "auto.create.topics.enable",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / configGroupNo / description
      Previous value: -"Config group number"New value: +"Config group number (from ncloud_cdss_list_config_groups)"
    • addedInput schema / properties / deleteTopicEnable
      Added value: +{
      +  "description": "delete.topic.enable",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / kafkaConfig
      Removed value: -{
      -  "additionalProperties": {
      -    "type": "string"
      -  },
      -  "description": "Kafka config key-value pairs to change",
      -  "type": "object"
      -}
    • addedInput schema / properties / kafkaVersionCode
      Added value: +{
      +  "description": "Kafka version code of the group (from ncloud_cdss_get_kafka_versions)",
      +  "type": "number"
      +}
    • addedInput schema / properties / logCleanerEnable
      Added value: +{
      +  "description": "log.cleaner.enable",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / logCleanerThreads
      Added value: +{
      +  "description": "log.cleaner.threads",
      +  "type": "number"
      +}
    • addedInput schema / properties / logCleanupPolicy
      Added value: +{
      +  "description": "log.cleanup.policy (e.g. 'delete', 'compact')",
      +  "type": "string"
      +}
    • addedInput schema / properties / logFlushIntervalMessages
      Added value: +{
      +  "description": "log.flush.interval.messages",
      +  "type": "number"
      +}
    • addedInput schema / properties / logRetentionBytes
      Added value: +{
      +  "description": "log.retention.bytes (-1 for unlimited)",
      +  "type": "number"
      +}
    • addedInput schema / properties / logRetentionHours
      Added value: +{
      +  "description": "log.retention.hours (e.g. 168)",
      +  "type": "number"
      +}
    • addedInput schema / properties / logSegmentBytes
      Added value: +{
      +  "description": "log.segment.bytes (e.g. 1073741824)",
      +  "type": "number"
      +}
    • addedInput schema / properties / numIoThreads
      Added value: +{
      +  "description": "num.io.threads",
      +  "type": "number"
      +}
    • addedInput schema / properties / numNetworkThreads
      Added value: +{
      +  "description": "num.network.threads",
      +  "type": "number"
      +}
    • addedInput schema / properties / numPartitions
      Added value: +{
      +  "description": "num.partitions",
      +  "type": "number"
      +}
    • addedInput schema / properties / offsetsTopicReplicationFactor
      Added value: +{
      +  "description": "offsets.topic.replication.factor",
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "configGroupNo",
      -  "kafkaConfig"
      -]New value: +[
      +  "configGroupNo",
      +  "kafkaVersionCode"
      +]
  4. First observedv1.10.1

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the supplied annotations: it discloses that SUCCESS is returned even on silent reversion, that the server silently discards modifyYn=false settings rather than rejecting them, and names a concrete example (authorizer.class.name). The annotations only say idempotentHint=true and destructiveHint=false; the description supplies the operational hazard that the annotations understate, which is a strength 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?

Front-loaded with the most consequential warning and every sentence carries distinct information with no restatement of the name or title. It is a dense single block of backtick-marked fragments, though, and would scan faster as a short sequence of labelled points.

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

Completeness5/5

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

For an 18-parameter mutation tool with no output schema and thin annotations, the description covers everything that would otherwise cause silent data loss: replace semantics, read-first workflow, where bounds are validated, which settings are silently dropped, and the apply step. Nothing an agent needs in order to call it safely is missing.

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 nonetheless adds routing semantics that the schema cannot express — named settings are typed parameters, and anything without one must be placed in additionalSettings. It also tells the agent where validation bounds come from (`range` in the read response) and how the modifyYn flag governs acceptance. The only gap is that no concrete example is given for how a complex value should be stringified in additionalSettings.

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?

Opening clause states a specific verb and resource ('Replaces the Config Group's ENTIRE custom configuration') and its replace-not-merge scope, which immediately separates it from the read sibling ncloud_cdss_get_kafka_config and the apply sibling ncloud_cdss_apply_config_group. The agent can classify the operation without opening the schema.

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 read-before-write instruction ('Read the current values with ncloud_cdss_get_kafka_config and send EVERY value you want to keep'), plus an explicit post-condition ('The group must be re-applied to a cluster with ncloud_cdss_apply_config_group for a change to take effect'). It names both alternatives and the condition that selects each.

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