Skip to main content
Glama

workspace__UpdateAccessPolicyObjects

Updates the application objects assigned to a specified Workspace access policy, letting you change which users or user groups the policy applies to.

Instructions

[WORKSPACE] 该接口用于更新指定接入策略的应用对象。

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": {
      "access_policy_id": "<access_policy_id>",
      "project_id": "<project_id>"
    },
    "name": "workspace__UpdateAccessPolicyObjects"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
access_policy_idYes接入策略id。
policy_objects_listNo更新策略应用对象列表请求。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 behavioral burden for a write operation, yet it only restates the operation. It does not say whether policy_objects_list replaces the existing object list or merges into it, whether existing objects are removed (destructive), or what permissions are required. For a mutation tool with zero annotation coverage this is a meaningful 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 with no filler, and the '[WORKSPACE]' tag plus the operation statement come first. It is efficient, though the tag is largely redundant with the tool namespace.

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 is a bulk mutation of a nested object list (up to 2000 items) with no output schema and no annotations, so the description should explain replacement semantics and side effects. It does not, leaving the most consequential behavior of the call undocumented.

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, access_policy_id and the nested object list fields are already documented in the schema. The description adds no meaning beyond that, which is the expected baseline 3 when the schema does the heavy lifting.

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 and resource: updating the application objects belonging to a given access policy (更新指定接入策略的应用对象). This is enough to distinguish it in spirit from workspace__UpdateAccessPolicy (which edits the policy itself), but the sibling is never named, so differentiation is only implicit.

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 when to prefer this over workspace__UpdateAccessPolicy or workspace__BatchUpdateTargetOfPolicyGroup. The agent must infer the call context entirely from the tool name and schema.

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