Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_update_product_schema

Idempotent

Updates a user-defined custom schema in Cloud Insight by applying revised field definitions to a specified product and product key.

Instructions

Update a user-defined custom schema in Cloud Insight.

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": {
      "prodName": "<prodName>",
      "cw_key": "<cw_key>",
      "fields": "<fields>"
    },
    "name": "ncloud_update_product_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
cw_keyYesProduct key (cw_key) of the schema to update
fieldsYesUpdated schema field definitions
prodNameYesProduct name of the schema to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / fields / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / fields / items / properties / aggregations / propertyNames / type
      Added value: +"string"
  2. Changed12 schema fields changedv2.0.1
    • addedInput schema / properties / fields / items / properties / aggregations
      Added value: +{
      +  "additionalProperties": {
      +    "items": {
      +      "enum": [
      +        "COUNT",
      +        "SUM",
      +        "MAX",
      +        "MIN",
      +        "AVG"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "description": "Metric fields only: aggregation functions per interval, e.g. {\"Min1\": [\"AVG\"], \"Min5\": [\"AVG\",\"MAX\"]}",
      +  "propertyNames": {
      +    "enum": [
      +      "Min1",
      +      "Min5",
      +      "Min30",
      +      "Hour2",
      +      "Day1"
      +    ]
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / fields / items / properties / counter
      Added value: +{
      +  "description": "Counter metric (default false)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / fields / items / properties / dataType
      Added value: +{
      +  "description": "Data type (dimension fields must be STRING)",
      +  "enum": [
      +    "STRING",
      +    "INTEGER",
      +    "LONG",
      +    "FLOAT"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / fields / items / properties / desc
      Added value: +{
      +  "description": "Field description",
      +  "type": "string"
      +}
    • changedInput schema / properties / fields / items / properties / dimension / description
      Previous value: -"Whether this field is a dimension"New value: +"true if this field is a dimension (default false)"
    • removedInput schema / properties / fields / items / properties / fieldName
      Removed value: -{
      -  "description": "Field name",
      -  "type": "string"
      -}
    • removedInput schema / properties / fields / items / properties / fieldType
      Removed value: -{
      -  "description": "Field data type",
      -  "enum": [
      -    "STRING",
      -    "INTEGER",
      -    "LONG",
      -    "FLOAT"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / fields / items / properties / idDimension
      Added value: +{
      +  "description": "Dimension used to identify resources in event rules (exactly one dimension must be the idDimension)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / fields / items / properties / metric
      Added value: +{
      +  "description": "true if this field is a metric (default false)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / fields / items / properties / metricType
      Added value: +{
      +  "description": "Metric type",
      +  "enum": [
      +    "BASIC",
      +    "EXTENDED",
      +    "CUSTOM"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / fields / items / properties / name
      Added value: +{
      +  "description": "Field name",
      +  "type": "string"
      +}
    • changedInput schema / properties / fields / items / required
      Previous value: -[
      -  "fieldName",
      -  "fieldType"
      -]New value: +[
      +  "name",
      +  "dataType"
      +]
  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 safety profile is covered structurally. The description adds nothing beyond that: it does not say whether the fields array replaces the entire existing schema or merges with it, what happens to omitted fields, or what validation failures look like. For a mutation tool, the replacement-vs-merge question is the single most important behavior to disclose.

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?

A single short sentence with no filler and the verb/resource front-loaded. It is efficient but arguably too terse for the complexity of the underlying operation, so brevity here borders on under-specification rather than crispness.

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?

For a three-required-parameter mutation with nested field semantics and no output schema, the description should explain the replacement behavior, whether the product/schema must pre-exist, and any side effects on event rules referencing idDimension. None of that is present, leaving the agent to guess at consequences of the call.

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 detailed field definitions (dataType constraints, idDimension uniqueness, aggregations per interval), so the schema carries the parameter burden and a baseline 3 applies. The description does not clarify whether "fields" is a full replacement set or an incremental update, which is meaning the schema alone cannot convey.

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 ("Update") and resource ("user-defined custom schema") scoped to Cloud Insight, which distinguishes it from create/delete schema siblings by verb alone. It stops short of naming an explicit alternative, but the action is unambiguous.

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 statement of when to use this tool versus ncloud_create_custom_schema, ncloud_delete_product_schema, or the get/list schema tools, and no prerequisites (e.g., that the schema must already exist) are given. The agent must infer the context entirely from the verb.

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