Skip to main content
Glama

workspaceapp__CreateOrUpdateStoragePolicyStatement

Creates or updates a custom storage access policy statement for a project, defining allowed client and cloud storage actions to control directory permissions.

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": {
      "project_id": "<project_id>",
      "roam_actions": "<roam_actions>"
    },
    "name": "workspaceapp__CreateOrUpdateStoragePolicyStatement"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsNo客户端访问存储可操作的权限合集
project_idYes项目ID。
roam_actionsYes云端访问存储可操作的权限合集,不允许为空。

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, the description carries the full behavioral burden. It does disclose the important upsert trait (an existing custom policy will be updated), which is genuine value beyond the schema. However it does not say whether existing action lists are replaced or merged, what permissions are required, or whether the change is reversible, leaving a significant mutation-safety gap.

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?

A single front-loaded sentence that states the action and the upsert condition with no filler. It is efficient, though it could have used the remaining space for usage or parameter guidance.

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 three-parameter mutation tool with no annotations and no output schema, the description covers the what and the upsert condition but omits prerequisites, permission requirements, and overwrite semantics. It is minimally adequate rather than complete.

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 the schema already explains project_id, actions (client access actions) and roam_actions (cloud access actions, must be non-empty). The description adds no parameter meaning beyond that, which is acceptable at baseline 3 but not more.

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 names a specific verb pair (create or update) and a specific resource (storage directory access permission custom policy), so an agent can tell what the tool does. It does not explicitly distinguish itself from sibling tools such as ListStoragePolicyStatement or UpdatePolicyTemplate, which keeps it from 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 when-to-use guidance: no preconditions, no indication of which sibling to prefer for listing or inspecting existing policies, and no note about when the create path versus the update path applies beyond the generic upsert note. The agent must infer all usage context.

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