Skip to main content
Glama

roma__UpdateEnvironmentV2

Updates the name and remark of a specified ROMA environment; use it to change environment metadata while leaving immutable properties unchanged.

Instructions

[ROMA] 修改指定环境的信息。其中可修改的属性为:name、remark,其它属性不可修改。

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": {
      "env_id": "<env_id>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "roma__UpdateEnvironmentV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes环境的名称,支持英文,数字,下划线,且只能以英文字母开头。
env_idYes环境的ID
remarkNo描述信息
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses the mutation boundary ('other attributes cannot be modified'), which is real context, but omits whether the call requires specific permissions, whether omitted optional fields (remark) are preserved or cleared, and what the operation returns or how failures surface.

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?

Two short sentences, front-loaded with the action and immediately followed by the mutable-field list. Nothing is redundant, though the '[ROMA]' tag adds no semantic information for an agent.

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

Completeness3/5

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

For a five-parameter mutation tool with no annotations and no output schema, the definition covers the core question of which fields change but leaves gaps on authorization, partial-update behavior for remark, and confirmation/response expectations. Adequate to invoke, not sufficient to invoke confidently.

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 coverage is 100%, so the baseline is 3. The description adds the useful clarification that only name and remark are writable while env_id, project_id and instance_id are immutable identifiers, but it gives no extra detail on partial-update semantics or on the pattern/length constraints already documented in the schema.

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 states a specific verb+resource (modify the specified environment) and enumerates the mutable attributes (name, remark). The '[ROMA]' marker plus 'environment' distinguishes it from the numerous roma__*Update* siblings and from roma__UpdateEnvironmentVariableV2, but it never explicitly contrasts itself with the near-identically named apig__UpdateEnvironmentV2 or any alternative.

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 / when-not-to-use guidance, no prerequisite or permission context, and no named alternative. The only scoping statement is which fields may be changed, which is a constraint rather than usage guidance; the agent must infer that this is the tool for renaming or re-describing 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