Skip to main content
Glama

servicestage__ShowEnvironments

Retrieves all created ServiceStage environments for a project with optional filters by name, environment ID, enterprise project, and pagination, enabling users to list and inspect available deployment environments.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 behavioral burden and largely fails it. It does not disclose pagination behavior (the schema's limit description reveals a 1000-record cap when unpaged, but the description says nothing), default sort order, required tenant/project permissions, or whether results are summaries or full environment objects. Only the read-only nature is implied by '获取'.

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?

It is a single front-loaded sentence with zero wasted wording, and the resource is stated first. Its brevity is efficient rather than padded, though it tips into under-specification for an eight-parameter listing tool.

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 eight parameters, one required path parameter, and no output schema or annotations, the description is far too thin. An agent would not know whether returned environments are summarized or detailed, how pagination interacts with the 'all' claim, or how this differs from the sibling ListEnvironments.

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 all eight parameters — including name, limit, offset, order, order_by, environment_id, enterprise_project_id and project_id — are already documented in the schema, and the baseline of 3 applies. The description adds no filtering, sorting, or pagination meaning beyond what the schema provides.

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 gives a specific verb plus resource: 获取 (retrieve) + 环境 (environments), scoped to 所有已经创建环境 (all created environments). That is enough for an agent to know what it returns. It does not, however, distinguish this tool from the similarly named sibling servicestage__ListEnvironments, nor from ShowEnvironmentDetail/ShowEnvironmentInfo, so the name-level ambiguity between 'Show' and 'List' is left unresolved.

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 when-not-to-use, and no mention of the closely related siblings (ListEnvironments, ShowEnvironmentDetail, ShowEnvironmentInfo) that an agent must choose between. The only implicit cue is 'all created environments', which hints at a bulk listing but never states when a bulk listing is preferable to fetching a single environment's detail.

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