Skip to main content
Glama

config__ShowAggregateDiscoveredResourceCounts

Counts discovered resources for an account within an aggregator, supporting filters and GroupByKey to report resource statistics.

Instructions

[CONFIG] 查询聚合器中帐号资源的计数,支持通过过滤器和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": "config__ShowAggregateDiscoveredResourceCounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID

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 provided, so the description carries full behavioral burden. It discloses only that the result is a count and that grouping/filtering is possible when counting; it says nothing about permissions, aggregation scope, or what the response looks like. For a read/aggregation tool without annotations, that is a real gap.

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?

It is a single, front-loaded sentence that puts the verb and resource first and then adds the counting/grouping capability. There is no filler or repetition, though the mention of unsupported parameters is wasted wording rather than conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple one-parameter read tool and there is no output schema, so the definition is close to adequate. It still leaves the return shape undescribed and advertises filter/GroupByKey capabilities that the schema does not expose, which leaves an agent unsure about how to actually narrow the count.

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% and there is only one parameter (domain_id, already described as the account ID), so the baseline is 3. However, the description names "过滤器和GroupByKey" as inputs even though the schema exposes neither, which can mislead an agent into trying to pass filters or group-by keys. That mismatch pulls the score below the baseline.

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?

"[CONFIG] 查询聚合器中帐号资源的计数" states a specific verb (query count) and resource (aggregated account resources), which distinguishes it from the List* siblings that return resources rather than counts. It stops short of naming a sibling or the scope boundary explicitly, so it is clear but not maximally differentiated.

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?

The description gives no when-to-use / when-not-to-use guidance and never points to an alternative such as ListAggregateDiscoveredResources or RunAggregateResourceQuery. At best, "支持通过过滤器和GroupByKey来统计资源数量" hints at a counting use case, but it gives no condition for choosing this tool over its siblings.

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