Skip to main content
Glama

aom__UpdateEnv

Update an AOM environment's name, type, OS, region, description, and component link by environment ID. Use it to change existing environment settings.

Instructions

[AOM] 该接口用于修改环境。

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": {
      "component_id": "<component_id>",
      "env_name": "<env_name>",
      "env_type": "<env_type>",
      "environment_id": "<environment_id>",
      "os_type": "<os_type>"
    },
    "name": "aom__UpdateEnv"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo环境关联region。创建环境必传,不可修改
os_typeYesOS类型,取值:LINUX、WINDOWS。创建环境必传,不可修改
env_nameYes环境名称
env_typeYes环境类型,取值:DEV、TEST、PRE、ONLINE,不区分大小写
descriptionNo描述
component_idYes环境关联组件id;id长度不能超过36位,由大小写字母、数字组成。创建环境必传,修改环境时非必选
register_typeNo注册类型,取值:API、SERVICE_DISCOVERY、CONSOLE,默认值:API
environment_idYes环境id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 disclosure burden, yet it only says the tool modifies an environment. It does not mention permissions, whether changes are destructive or reversible, which fields are immutable after creation, or what the response contains. The word "修改" at least implies a mutation, but nothing beyond that is disclosed.

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 description is a single short sentence with no wasted words, but it reads as under-specification rather than deliberate brevity. Nothing is front-loaded beyond the bare action, leaving no structure for the agent to work from.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with eight parameters, five of them required, no annotations, and no output schema, a one-line description of "modify environment" is completely inadequate. It omits the identity of the target (environment_id), required versus optional fields on update, and the effect of the call.

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 the immutability notes on region and os_type around creation, are already documented in the schema. The description adds no additional meaning about how the parameters interact or which subset matters on update, so the baseline of 3 is appropriate.

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 a resource ("修改环境" / modify environment), so the basic action is identifiable. However, it offers nothing to distinguish this from sibling mutation tools such as aom__UpdateComponent or aom__UpdateApp, and it does not say what aspects of the environment can be modified.

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 alternatives such as CreateEnv or DeleteEnv. The agent must infer from the name alone that this is the update path for an existing environment.

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