Skip to main content
Glama

ces__CreateMetricData

Add one or more metric monitoring data points to Huawei Cloud CES for a project, enabling custom metrics to be recorded and tracked.

Instructions

[CES] 添加一条或多条指标监控数据。

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": {
      "project_id": "<project_id>"
    },
    "name": "ces__CreateMetricData"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目编号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It implies a write/mutation but says nothing about required permissions, whether repeated submissions duplicate data, whether ingestion is asynchronous, or how failures are reported. Only the bare operation type is disclosed.

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 the operation front-loaded and no filler. Its brevity is efficient, though it is terse to the point of leaving gaps addressed in other dimensions.

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 mutation tool with no annotations, no output schema, and a schema that does not visibly accept the metric payload described, the definition is materially incomplete. An agent cannot determine from this text how to actually submit metric data or what the call returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is nominally 100%, but the sole documented parameter is project_id, while the description promises adding 'one or more metric data' items — no payload parameter exists to carry that data. The description therefore adds no usable detail and even creates confusion about how the metric values are supplied.

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 gives a specific verb plus resource (添加 = add, 指标监控数据 = metric monitoring data), and 'one or more' signals batching. It is distinguishable from read-oriented siblings such as ces__ShowMetricData and ces__BatchListMetricData, though it never names them 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, or prerequisite guidance. The agent must infer that this is the write counterpart to the CES metric-data read tools, and nothing indicates when to prefer it over ces__BatchCreateResources or aom__AddMetricData.

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