Skip to main content
Glama

config__CreateStoredQuery

Creates a new advanced stored query in Huawei Cloud Config for a specified account ID, enabling you to save and reuse resource compliance 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>"
    },
    "name": "config__CreateStoredQuery"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes帐号ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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, and it discloses essentially nothing beyond the bare action. It does not say whether creation is idempotent, whether names must be unique, what permissions are required, or that the operation mutates persistent state. For an unannotated create operation this is a significant gap.

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?

The description is a single short phrase with a category tag, front-loaded and free of filler. It is efficient, though its brevity stems from under-specification rather than disciplined editing.

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?

This is a create/mutation tool with no annotations and no output schema, and the schema exposes only domain_id with no field for the query body itself, which is confusing and unexplained. The description does nothing to resolve where the query definition comes from or what is returned. Given the tool's complexity, the definition is not complete enough for confident invocation.

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?

There is only one parameter (domain_id) and schema description coverage is 100%, so the schema already explains it as the account ID with a pattern and max length. The description adds no additional meaning about the parameter, which is acceptable at this coverage level but is the baseline rather than added value.

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 gives a verb+resource ("创建新的高级查询" / create a new advanced query) with a [CONFIG] prefix, so the basic action is identifiable. However, it says "advanced query" rather than "stored query" (the resource in the tool name), and it never distinguishes this from the many sibling creators such as rms__CreateStoredQuery or config__CreateConfigurationAggregator. The purpose is understandable but not precise about what object is being persisted.

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 at all: no prerequisites, no mention of when to prefer this over rms__CreateStoredQuery or config__RunQuery, and no statement about whether the query must exist first or be supplied elsewhere. The agent must infer everything from the name and sibling list.

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