Skip to main content
Glama

config__ShowAggregatePolicyStateComplianceSummary

Retrieves the number of compliant and non-compliant rules for one or more accounts in an aggregator, helping assess configuration compliance status across accounts.

Instructions

[CONFIG] 查询聚合器中一个或多个帐户的合规和不合规规则数。

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

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden, and it only discloses that counts are returned. It says nothing about permissions, pagination, whether counts are aggregated across all policies in the aggregator, or how compliance vs non-compliance is tallied. It also says 'one or more accounts' while the schema accepts exactly one domain_id, leaving the aggregation semantics ambiguous.

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 scope and the returned metric front-loaded; nothing is redundant. The '[CONFIG]' server prefix is noise, but the sentence itself is efficient.

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?

For a one-parameter read tool with no output schema, the description covers what is being counted but not the shape of the result (per-policy vs total, per-account breakdown). Given the crowded sibling set, a bit more routing context would be expected.

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%, and domain_id is already documented as the account ID with a pattern and max length, so the schema does the heavy lifting. The description adds only that the account sits inside an aggregator, which is a marginal gain over the structured field.

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 (query/count) and resource (compliant and non-compliant rule counts) scoped to accounts inside an aggregator. The word '数' (counts) implicitly separates it from the many sibling tools that return details or assignments, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool for summary counts rather than per-assignment detail, but there is no explicit when-to-use, no when-not-to-use, and no mention of the near-identical rms__ShowAggregatePolicyStateComplianceSummary sibling. The agent must infer selection from the name and the word 'summary'.

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