Skip to main content
Glama

workspaceapp__UpdateApp

Updates Huawei Cloud Workspace App details—name, state, version, paths, and sandbox mode—for a specified app group and project.

Instructions

[WORKSPACEAPP] 编辑修改应用信息。

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": {
      "app_group_id": "<app_group_id>",
      "app_id": "<app_id>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__UpdateApp"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo应用名称,名称需满足如下规则:
stateNo应用状态:
app_idYes应用ID。
versionNo应用版本号。
work_pathNo应用工作目录。
project_idYes项目ID。
descriptionNo应用描述。
app_group_idYes应用组ID。
execute_pathNo执行路径。
command_paramNo启动命令行参数。
sandbox_enableNo是否使用沙箱模式运行,取值为:

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, yet it only restates that information is edited. It does not say whether this is a full replace or a partial update, what happens to fields omitted from the payload, whether permission or ownership checks apply, or whether changes are reversible — all critical for a mutation with three required path identifiers.

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 short and non-redundant in structure, but the leading "[WORKSPACEAPP]" tag consumes part of an already minimal text and the sentence conveys only the bare minimum. Brevity here comes at the cost of substance rather than from tight editing.

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?

With eleven parameters, three required path identifiers, an enum field, nested object typing, no output schema and no annotations, this is a fairly involved mutation tool. A one-line restatement of the title leaves the agent without the update semantics, prerequisite lookups, or safety context it would need to call the tool correctly.

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 eleven parameters, including the path parameters app_group_id, app_id and project_id plus fields like state, work_path and command_param, are already documented in the schema. The description adds no extra meaning such as format rules, defaults, or which fields are optional in practice, so the baseline of 3 applies.

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 names a concrete verb+resource ("编辑修改应用信息" = edit/modify application information), so the general intent is recognizable. However it gives no indication of scope or of what makes it different from the closely named siblings UpdateAppGroup and UpdateWarehouseApp, leaving an agent to infer the distinction from tool names alone.

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 guidance on when this tool should be used versus alternatives, and no prerequisites or preconditions are stated. An agent must guess whether an app must already exist, whether the caller needs to fetch details via ShowAppDetail first, or how this differs from the group- or warehouse-level update variants.

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