Skip to main content
Glama

config__RunEvaluationByPolicyAssignmentId

Triggers evaluation of a Huawei Cloud Config rule by domain ID and policy assignment ID to check resource compliance against that rule.

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

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.5/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden, and it discloses almost nothing: it does not say the call starts an evaluation job (a side-effecting operation), whether it is synchronous or asynchronous, whether it returns a task/job identifier, or what permissions are required. The only behavior conveyed is the implicit trigger implied by the verb 评估.

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?

It is a single short sentence with no padding, so nothing is wasted, but the "[CONFIG]" tag is a naming artifact rather than information that helps selection. Brevity here reflects under-specification rather than disciplined front-loading.

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 side-effecting evaluation trigger with no annotations and no output schema, the description should explain what the evaluation does, whether it is async, and how the result is retrieved. None of that is present, leaving an agent unable to predict the effect or the follow-up call.

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%, with domain_id (帐号ID) and policy_assignment_id (规则ID) both documented in the schema, so the baseline is 3. The description's mention of "by rule ID" corresponds to policy_assignment_id but adds no format, validation, or cross-parameter semantics beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a verb (评估 / evaluate) with a resource (规则 / rule), so the basic action is identifiable, but it is phrased in terms of "rule ID" and never names the policy-assignment resource or scope. It also fails to distinguish this tool from the near-identical sibling rms__RunEvaluationByPolicyAssignmentId or from config__ShowEvaluationStateByAssignmentId.

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 when-to-use guidance, no mention of prerequisites (an existing assignment, permissions), and no pointer to the state/compliance siblings that an agent would need after triggering an evaluation. The agent must infer the workflow 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