Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_get_rules_by_metrics_group

Read-only

Retrieve Cloud Insight event rules tied to specific rule template (metrics group) IDs. Query event rules by product key and one or more metrics group IDs.

Instructions

Get Cloud Insight event rules associated with specific rule template (metrics group) IDs.

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": {
      "prodKey": "<prodKey>",
      "metricsGroupIds": "<metricsGroupIds>"
    },
    "name": "ncloud_get_rules_by_metrics_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
prodKeyYesProduct key (cw_key)
metricsGroupIdsYesMetrics group IDs to query

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed4 schema fields changedv2.0.1
    • changedInput schema / properties / metricsGroupIds / description
      Previous value: -"Array of metrics group IDs to query"New value: +"Metrics group IDs to query"
    • addedInput schema / properties / metricsGroupIds / minItems
      Added value: +1
    • addedInput schema / properties / prodKey
      Added value: +{
      +  "description": "Product key (cw_key)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "metricsGroupIds"
      -]New value: +[
      +  "prodKey",
      +  "metricsGroupIds"
      +]
  3. First observedv1.10.1

TDQS

B3.4/5.0
Behavior3/5

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

With readOnlyHint=true already declaring the safety profile, the description's only added behavioral value is equating 'metrics group' with 'rule template', which disambiguates the domain term. It says nothing about result volume, whether all matching rules are returned, or whether unknown IDs error out.

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 front-loaded sentence with no filler. It is efficient, though the parenthetical terminology note could be integrated more cleanly and the sentence could carry one more clause of practical guidance at no cost.

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?

This is a two-parameter read-only lookup with full schema description coverage and no output schema to explain. The description states the resource and the filtering key, which is sufficient for an agent to call it correctly; remaining gaps are behavioral niceties rather than blockers.

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 coverage is 100%, so both prodKey and metricsGroupIds are already documented in the schema; the description adds only the note that these IDs correspond to rule templates. No format, count limits, or combined-filter semantics are explained beyond what the schema provides.

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 uses a specific verb ('Get') plus a specific resource ('Cloud Insight event rules') and a scoping qualifier ('associated with specific rule template (metrics group) IDs'). It is clearly distinguishable from the analogous ncloud_get_rules_by_monitor_group in that it keys off metrics group IDs, though it never names that sibling 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 guidance on when to use this tool versus ncloud_get_rules_by_monitor_group, ncloud_get_rule_group, or ncloud_get_metrics_group. The agent must infer the use case from the nouns alone; no prerequisites or exclusions are stated.

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