Skip to main content
Glama

ccm__CountCertResourceInstances

Count Huawei Cloud CCM certificate instances by tags to determine how many resources match specific tag keys and values.

Instructions

[CCM] 根据标签查询证书数量。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ccm__CountCertResourceInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo标签列表。
limitNo每页条目数量,取值如下:
offsetNo索引位置,偏移量,从offset指定的下一条数据开始查询。
matchesNo搜索字段。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing beyond the one-line purpose. It does not state that this is a read-only operation, what happens with missing tags, or how the presence of limit/offset parameters interacts with a counting operation, which is a genuinely surprising combination for a count tool.

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 or redundancy. It is efficient, though the terseness borders on under-specification for a four-parameter tool.

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?

With no annotations and no output schema, the definition should explain what the count result looks like and why pagination parameters exist on a count operation. Neither is addressed, so an agent cannot predict the return value or the effect of limit/offset.

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 all four parameters (tags, limit, offset, matches) are documented in the schema itself, establishing the baseline of 3. The description adds no additional meaning, and notably does not explain the non-obvious role of limit/offset on a counting query.

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 names a specific verb+resource combination ('根据标签查询证书数量' – query the number of certificate instances by tags), which is clear and actionable. It does not, however, distinguish itself from the sibling ccm__ListCertResourceInstances, leaving the count-vs-list distinction implicit.

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 rather than ListCertResourceInstances or CountCaResourceInstances, nor any stated preconditions. The only implied usage is 'when you want a count instead of a list', which the agent must infer.

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