Skip to main content
Glama

servicestage__ShowComponents

Retrieves all components in a Huawei Cloud ServiceStage project, with optional filters for application name, component name, sorting, and pagination.

Instructions

[SERVICESTAGE] 此API用来获取所有组件

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": {
      "project_id": "<project_id>"
    },
    "name": "servicestage__ShowComponents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo指定个数,明确指定的时候用于分页,取值[0, 100]。不指定的时候表示不分页,最多查询1000条记录。
orderNodesc/asc,默认desc。
offsetNo指定查询偏移量,默认偏移量为0.
order_byNo排序字段,默认按创建时间排序。
project_idYes租户项目ID。
component_nameNo组件名称
application_nameNo应用名称

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?

No annotations are supplied, so the description carries the full disclosure burden, and it adds essentially nothing: no permission requirements, no note that results are capped (the schema mentions a 1000-record ceiling), and no indication of what is returned. A single sentence that restates the title leaves the agent without behavioral context for a 7-parameter read operation.

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 single sentence is front-loaded and free of filler, which is good, but it is under-specified rather than appropriately concise. The bracket tag consumes part of the text without adding information the tool name does not already convey.

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 tool with seven parameters, no annotations and no output schema, the description is far too thin — it omits pagination behavior, filter semantics and result shape. Nothing compensates for the absence of structured behavioral metadata.

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 limit, offset, order, order_by, project_id, component_name and application_name all documented in the schema, so the baseline is 3. The description contributes no additional parameter meaning or interaction guidance (e.g., that limit/offset trigger paging) 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 states a verb and resource ("获取所有组件" / get all components), so the general intent is readable. However, it never clarifies the scope of "all" — whether it is project-wide, cross-project, or filtered — and it gives no hint of how it differs from siblings such as servicestage__ListComponents or servicestage__ShowComponentsInApplication.

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 prerequisites, and no mention of any alternative tool. An agent must guess whether this is the right call versus the several other component-listing siblings.

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