Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_query_monitoring_data

Read-only

Queries Cloud Insight time-series metric data for a specific product, metric, and resource dimensions over a time range, with configurable interval and aggregation.

Instructions

Query time-series monitoring data from Cloud Insight. Returns metric data for a specific product and metric. The aggregation must match one configured in the product schema.

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>",
      "metric": "<metric>",
      "timeStart": "<timeStart>",
      "timeEnd": "<timeEnd>",
      "dimensions": "<dimensions>"
    },
    "name": "ncloud_query_monitoring_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
cw_keyYesProduct key (cw_key) identifying the service (see Cloud Insight metrics)
metricYesMetric name to query (e.g., "avg_cpu_used_rto", "mem_usert")
timeEndYesEnd time in Unix epoch milliseconds
intervalNoAggregation interval (default: Min1)
timeStartYesStart time in Unix epoch milliseconds
dimensionsYesDimensions identifying the resource as key-value pairs (required, e.g., {"instanceNo": "12345"})
aggregationNoAggregation type (default: AVG)
productNameNoProduct name (e.g., "System/Server(VPC)")
queryAggregationNoHow to aggregate query results when the query interval is coarser than stored data (default: AVG)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / dimensions / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / queryAggregation / $ref
      Removed value: -"#/properties/aggregation"
    • addedInput schema / properties / queryAggregation / enum
      Added value: +[
      +  "COUNT",
      +  "SUM",
      +  "MAX",
      +  "MIN",
      +  "AVG"
      +]
    • addedInput schema / properties / queryAggregation / type
      Added value: +"string"
  2. Changed7 schema fields changedv2.0.1
    • changedInput schema / properties / aggregation / enum
      Previous value: -[
      -  "AVG",
      -  "MIN",
      -  "MAX",
      -  "SUM",
      -  "COUNT"
      -]New value: +[
      +  "COUNT",
      +  "SUM",
      +  "MAX",
      +  "MIN",
      +  "AVG"
      +]
    • changedInput schema / properties / dimensions / description
      Previous value: -"Dimension filters as key-value pairs (e.g., {\"instanceNo\": \"12345\"})"New value: +"Dimensions identifying the resource as key-value pairs (required, e.g., {\"instanceNo\": \"12345\"})"
    • changedInput schema / properties / interval / description
      Previous value: -"Aggregation interval (default: Min5)"New value: +"Aggregation interval (default: Min1)"
    • removedInput schema / properties / prodName
      Removed value: -{
      -  "description": "Product name (e.g., \"System/Server(VPC)\")",
      -  "type": "string"
      -}
    • addedInput schema / properties / productName
      Added value: +{
      +  "description": "Product name (e.g., \"System/Server(VPC)\")",
      +  "type": "string"
      +}
    • addedInput schema / properties / queryAggregation
      Added value: +{
      +  "$ref": "#/properties/aggregation",
      +  "description": "How to aggregate query results when the query interval is coarser than stored data (default: AVG)"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "cw_key",
      -  "prodName",
      -  "metric",
      -  "timeStart",
      -  "timeEnd"
      -]New value: +[
      +  "cw_key",
      +  "metric",
      +  "timeStart",
      +  "timeEnd",
      +  "dimensions"
      +]
  3. First observedv1.10.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds that data is returned per product/metric and that aggregation must be pre-configured in the product schema, but says nothing about time-range limits, granularity handling, empty results, or volume of returned series.

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 with no padding, and the return behavior is front-loaded. The aggregation constraint is placed last, which is defensible since it refines invocation rather than purpose.

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 9-parameter, 5-required tool with nested dimensions and no output schema, the description leaves the aggregation vs queryAggregation relationship, dimension requirements, and result shape unexplained. Annotations cover safety but not these invocation details, so the definition is adequate but with clear gaps.

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%, so the schema already explains cw_key, metric, dimensions, enums and defaults. The description adds only the meaningful constraint that aggregation must match the product schema's configured aggregation; it does not clarify the distinction between the two similar parameters 'aggregation' and 'queryAggregation', which is the biggest semantic risk here.

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: 'Query time-series monitoring data from Cloud Insight', plus the scope 'for a specific product and metric'. It does not differentiate from the obvious sibling ncloud_query_monitoring_data_multiple, so an agent cannot tell from the description alone which of the two to pick.

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 when-to-use guidance and no mention of the _multiple sibling as an alternative. The only constraint offered is that 'the aggregation must match one configured in the product schema', which is a validity rule rather than a routing rule.

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