Skip to main content
Glama

config__UpdateStoredQuery

Update an existing custom query in Huawei Cloud Config by specifying the account/domain ID and query ID, enabling stored query definitions to be revised.

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>",
      "query_id": "<query_id>"
    },
    "name": "config__UpdateStoredQuery"
  }
}

Input Schema

NameRequiredDescriptionDefault
query_idYes查询ID
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 the full behavioral burden, yet it only implies mutation via '更新'. It does not say what fields are modifiable, whether the update is partial or full replacement, whether it is reversible, or what permissions are required. For an unannotated write tool, this is a substantial gap.

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?

The description is a single short phrase with no wasted words, but it is under-specified rather than concise. There is no structure to front-load because there is essentially no content beyond the tool name restated.

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?

The schema exposes only two identifier parameters and no field for the updated query body, so the description is the only place that could explain what an update actually changes. It does not, and with no annotations or output schema, an agent cannot determine the effect of the 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 both domain_id and query_id documented inline as identifiers with pattern and length constraints. The description adds no meaning beyond those identifiers, which is acceptable at full coverage but earns only 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?

The description pairs a specific verb ('更新') with a specific resource ('自定义查询'), and the '[CONFIG]' prefix marks the service namespace. An agent can tell this is an update operation on a stored/custom query. However, it offers no differentiation from the sibling rms__UpdateStoredQuery, which appears to operate on the same resource in another namespace.

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 guidance on when to use this tool versus CreateStoredQuery, DeleteStoredQuery, or the rms__ counterpart. It also omits prerequisites such as whether the query must already exist or whether the caller needs ownership of the domain.

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