Skip to main content
Glama

config__ShowEvaluationStateByAssignmentId

Retrieves the evaluation status of a Huawei Cloud Config rule by rule ID and account domain ID, so you can check whether that rule has been evaluated.

Instructions

[CONFIG] 根据规则ID查询此规则的评估状态

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>",
      "policy_assignment_id": "<policy_assignment_id>"
    },
    "name": "config__ShowEvaluationStateByAssignmentId"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID
policy_assignment_idYes规则ID

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 of disclosure. It does not say whether the call is read-only, whether it triggers a fresh evaluation, what level the state is aggregated at, or what permissions are needed, and it gives no information about the response shape.

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 short, front-loaded sentence with zero waste. The brevity is appropriate, though it is so terse that the scope framing is the only structure present.

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 2-parameter read tool with full schema coverage and no output schema, the description is barely sufficient: the agent knows what it fetches but not what comes back or how the result is scoped. With no annotations and no output schema, it should say more about the returned evaluation state.

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%: both domain_id (帐号ID) and policy_assignment_id (规则ID) are fully documented in the schema. The description only restates the rule ID parameter and adds no format, constraint, or cross-parameter meaning beyond what the schema already provides, so the baseline 3 applies.

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) and a specific resource (the evaluation state of this rule), scoped by rule ID, so an agent can tell it apart from RunEvaluationByPolicyAssignmentId or ListPolicyStatesByAssignmentId without opening the schema. It does not explicitly name its siblings, which keeps it below a 5.

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 only implies that this is the read path for checking evaluation state; there is no statement about when to prefer it over the look-alike siblings, and no prerequisites or exclusions are given. The '[CONFIG]' prefix and '查询' hint at read-only usage, but the agent must infer everything else.

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