Skip to main content
Glama

rms__ShowStoredQuery

Retrieve a stored Resource Query Language (RQL) query by account ID and query ID to inspect saved Huawei Cloud resource queries.

Instructions

[RMS] Show Resource Query Language

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": "rms__ShowStoredQuery"
  }
}

Input Schema

NameRequiredDescriptionDefault
query_idYes查询ID
domain_idYes帐号ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and provides almost nothing. "Show" weakly implies a read, but there is no disclosure of whether it errors on a missing query, what scope the domain_id constrains, or whether the response includes the query's KQL text versus metadata.

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 text is short and front-loaded, but brevity here comes from under-specification rather than efficiency. There is no wasted wording because there is almost no wording.

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 simple two-parameter read tool this could be adequate with minor gaps, but the description omits the core fact an agent needs: that it returns a single stored query's definition, and how that differs from the listing and execution siblings. With no annotations and no output schema, the description should do more.

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%, so both query_id and domain_id are already documented in the schema (as 查询ID and 帐号ID). The description adds no extra meaning or format hints beyond that, which matches the baseline of 3 when the schema does the work.

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

Purpose2/5

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

"[RMS] Show Resource Query Language" essentially restates the tool name plus a namespace tag. It never says that this retrieves a stored Resource Query Language query definition by domain and query ID, nor does it distinguish itself from siblings like rms__ShowQueryDetail, rms__RunQuery, or rms__ListStoredQueries.

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 statement that it requires an existing query_id, no mention of how it differs from listing or running stored queries, and no indication that a create/update sibling should be used for writes. The agent must infer everything from the name.

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