Skip to main content
Glama

rms__ShowAggregateDiscoveredResourceCounts

Retrieve resource counts for accounts in an aggregator, using filters and GroupByKey to summarize discovered resources.

Instructions

[RMS] 查询聚合器中帐号资源的计数,支持通过过滤器和GroupByKey来统计资源数量。

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": {
      "domain_id": "<domain_id>"
    },
    "name": "rms__ShowAggregateDiscoveredResourceCounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID

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?

No annotations are supplied, so the description carries the full disclosure burden. It says nothing about required permissions, whether the count is scoped to one aggregator versus all accounts, what happens with no matches, or what the response contains — a significant gap for a statistics tool with no structured safety metadata.

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?

One compact sentence with the core operation front-loaded, followed by the capability claim. Nothing is padded, though the '[RMS]' tag is dead weight and the second clause is wasted on parameters that aren't accepted.

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 read-only aggregation tool with no output schema and no annotations, the description should explain the shape of the returned counts and the aggregation scope. Instead it stops at a one-line summary and promises filter/group-by capabilities the schema does not support, leaving the agent under-informed on the points that matter most.

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 100% for the single domain_id parameter, so the baseline would be 3. However, the description advertises filters and a GroupByKey parameter that do not exist in the input schema at all, which actively misleads an agent about what can be passed and undermines the schema's authority.

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 and resource: counting account resources inside an aggregator ('查询聚合器中帐号资源的计数'). That is enough for an agent to understand the operation, but nothing distinguishes this from the identically named config__ShowAggregateDiscoveredResourceCounts sibling, and the '[RMS]' prefix adds no meaning.

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?

It hints that filters and GroupByKey can shape the count, which implies a use case, but it never says when to pick this over rms__ListAggregateDiscoveredResources or rms__RunAggregateResourceQuery, nor any prerequisites. The agent must infer the routing decision 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