Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_send_monitoring_data

Send custom JSON metric and dimension records to Cloud Insight for a user-defined schema (cw_key), enabling monitoring of application-specific data.

Instructions

Send custom JSON monitoring data to Cloud Insight for a user-defined schema (cw_key). Each record holds the schema's metric and dimension fields as key-value pairs. (SGN region additionally requires header X-NCP-REGION_NO=7.)

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": {
      "cw_key": "<cw_key>",
      "data": "<data>"
    },
    "name": "ncloud_send_monitoring_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesData record (object) or records (array) with the schema's metric/dimension fields, e.g. {"cpu": 1.5, "instanceId": "i-1"}
cw_keyYesProduct key (cw_key) of the custom schema

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  },
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +]
  2. Changed7 schema fields changedv2.0.1
    • addedInput schema / properties / cw_key
      Added value: +{
      +  "description": "Product key (cw_key) of the custom schema",
      +  "type": "string"
      +}
    • addedInput schema / properties / data / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / data / description
      Previous value: -"Array of data entries to send"New value: +"Data record (object) or records (array) with the schema's metric/dimension fields, e.g. {\"cpu\": 1.5, \"instanceId\": \"i-1\"}"
    • removedInput schema / properties / data / items
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "dimensions": {
      -      "additionalProperties": {
      -        "type": "string"
      -      },
      -      "description": "Dimension key-value pairs identifying the resource",
      -      "type": "object"
      -    },
      -    "metrics": {
      -      "description": "Array of metric data points",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "metricGroupId": {
      -            "description": "Metric group ID",
      -            "type": "string"
      -          },
      -          "metricGroupItemId": {
      -            "description": "Metric group item ID",
      -            "type": "string"
      -          },
      -          "timestamp": {
      -            "description": "Timestamp in Unix epoch milliseconds (default: current time)",
      -            "type": "number"
      -          },
      -          "value": {
      -            "description": "Metric value",
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "metricGroupId",
      -          "metricGroupItemId",
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "dimensions",
      -    "metrics"
      -  ],
      -  "type": "object"
      -}
    • removedInput schema / properties / data / type
      Removed value: -"array"
    • removedInput schema / properties / prodKey
      Removed value: -{
      -  "description": "Product key (cw_key) for the custom schema",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "prodKey",
      -  "data"
      -]New value: +[
      +  "cw_key",
      +  "data"
      +]
  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?

With an empty annotation block the description carries the full behavioral burden, and it is thin. 'Send' implies a write, but nothing is said about what the response looks like, quotas/rate limits, error behavior on schema mismatch, or whether data is validated against cw_key before acceptance. The SGN region header note is a genuine operational detail worth credit, which keeps this above a 1.

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?

Three short sentences, front-loaded with the action and resource, then the record semantics, then the regional caveat. The parenthetical header note is slightly buried but nothing is redundant or wasted.

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

Completeness3/5

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

For a 2-parameter write tool with no annotations and no output schema, the description explains the payload concept and one regional quirk but leaves the agent guessing about the result of the call (success token, errors on invalid metric fields) and any preconditions on cw_key existing.

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% and both parameters are already documented there, including the object-or-array shape of `data` and the example payload. The description largely restates that ('each record holds the schema's metric and dimension fields as key-value pairs'), adding only the framing of cw_key as a user-defined schema; baseline 3 fits.

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+resource: 'Send custom JSON monitoring data to Cloud Insight', scoped to a user-defined schema identified by cw_key. The write/send verb naturally separates it from the query_monitoring siblings, but the description never names or contrasts those alternatives explicitly.

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 / when-not-to-use guidance and no mention of alternatives such as the query tools or the datastream send tool. The only operational hint is the parenthetical SGN region header requirement, which is a prerequisite rather than usage routing.

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