Skip to main content
Glama

ccm__CountCaResourceInstances

Counts CA resource instances that match specified tags, enabling tag-based inventory queries and filtered resource counts.

Instructions

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

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__CountCaResourceInstances"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 behavioral burden, yet it only restates the purpose. It does not say whether the operation is read-only, whether the count reflects all matching CAs or only the current page window (it exposes limit/offset, which is unusual for a count), or what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with a bracketed service prefix is front-loaded and free of waste, but it is under-specified rather than genuinely concise. There is no wasted wording, yet the space saved is not used for anything helpful.

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 tool with four parameters (including a pagination pair and two overlapping tag filters), no annotations, and no output schema, the description is too thin. It does not explain what the returned count represents or how the two tag-filter parameters interact, leaving an agent to guess at call semantics.

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 tags, limit, offset, and matches are already documented in the schema, and the description adding only 'by tags' is consistent with the baseline. However, it does not clarify the semantic difference between the 'tags' (key/values) and 'matches' (key/value) filters, which is the one place a description could add real value.

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 states a specific verb (count/query) and resource (CA) plus the filter dimension (tags), so an agent knows this returns a count rather than a listing. It does not explicitly name the sibling ccm__ListCaResourceInstances as the alternative for full records, so it lands at clear-but-undifferentiated.

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 choose counting over ccm__ListCaResourceInstances, no note that the count ignores pagination (or that limit/offset still apply), and no prerequisites such as required permissions. The agent must infer usage entirely.

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