Skip to main content
Glama

config__DeleteStoredQuery

Deletes a stored advanced query from Huawei Cloud config by specifying the account ID and query ID, helping remove obsolete saved queries.

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

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 supplied, so the description carries the full disclosure burden, yet it says nothing about the consequences of a delete (permanence, whether dependent or scheduled queries are affected), required permissions, or the behavior when the query_id is not found. It conveys only the mutation intent implied by "删除" and adds no context beyond that.

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 sentence is front-loaded and free of waste, but it is also under-sized for a destructive operation; being short is not the same as being appropriately sized. A single bracketed tag plus a verb phrase leaves no room for the safety or scoping information a delete tool needs.

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 destructive mutation with no annotations, no output schema, and no error semantics, the description is too thin. The one thing an agent most needs for a delete call, namely what happens on success or failure and whether the action is recoverable, is entirely absent.

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 both required parameters (query_id and domain_id) carry their own descriptions and patterns, so the schema already does the heavy lifting. The description adds no extra meaning about the ID formats, scoping across accounts, or how the domain_id constrains the target query, which matches the baseline 3.

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 and resource ("删除单个高级查询" / delete a single advanced query), which clearly distinguishes it from the Create/Update/ShowStoredQuery siblings listed. The only shortfall is that it does not explain what an "advanced query" (存储查询/高级查询) is or how config__ scoping differs from the rms__ counterpart.

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 guidance on when to use this tool versus alternatives, no preconditions (for example, whether the query must exist or be unreferenced), and no warning about irreversibility. The word "单个" weakly implies single-resource deletion rather than batch deletion, but the description leaves the agent to 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