Skip to main content
Glama

workspaceapp__UpdatePolicyTemplate

Updates the configuration and description of a specified WorkspaceApp policy template so administrators can revise policy group settings.

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": {
      "policy_group": "<policy_group>",
      "policy_template_id": "<policy_template_id>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__UpdatePolicyTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
policy_groupYes策略模板。
policy_template_idYes策略模板id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 behavioral burden, yet it says nothing beyond 'modify'. For a mutation tool over a very large nested policy_group object, it does not state whether the update replaces the whole template or merges fields, whether omitted fields revert to defaults, whether it is reversible, or what a successful response looks like.

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?

A single front-loaded sentence with zero filler, which is structurally clean. However, given the enormous nested schema, this brevity reflects under-specification rather than disciplined conciseness.

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?

The tool has no annotations, no output schema, and a very large nested request body, so the description should explain partial-vs-full update semantics and permission expectations. It supplies none of that, leaving an agent without the information needed to invoke it safely.

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 project_id, policy_template_id and the deeply nested policy_group are already documented inline, which sets the baseline at 3. The description adds no extra meaning about whether policy_group must be the complete template body or a partial patch — a meaningful omission but not a regression from baseline.

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 plus resource ('修改指定策略模板的信息' / modify the info of a specified policy template), which is enough to separate it from Create/Delete/List/Show siblings by verb alone. It does not explicitly name or contrast with any alternative, so it stops short of a 5.

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 to use this versus workspaceapp__UpdatePolicyGroup or the Create/Delete variants, and no prerequisites such as permissions or template state. Usage must be inferred entirely from the verb.

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