Skip to main content
Glama

drs__UpdateAgencyPolicy

Update an agency’s permission policies by binding and unbinding role names in a specified project. Use it to manage delegated access for DRS operations.

Instructions

[DRS] 更新委托权限策略

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": {
      "agency_name": "<agency_name>",
      "bind_role_names": "<bind_role_names>",
      "project_id": "<project_id>",
      "unbind_role_names": "<unbind_role_names>"
    },
    "name": "drs__UpdateAgencyPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一Region下的project ID。
agency_nameYes委托名称。
bind_role_namesYes委托绑定的权限策略集合。
unbind_role_namesYes委托解绑的权限策略集合。

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 provided, so the description carries the full behavioral burden, yet it only says "update". It does not state that this is a mutation with permission implications, whether prior bindings are preserved or replaced, whether it requires elevated authorization, or how bind/unbind sets interact — a significant gap for a write tool.

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?

It is a single short phrase with a bracketed service tag, so there is no wasted wording. But the brevity is under-specification rather than disciplined conciseness; a sentence or two of operational context would earn its place.

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?

This is a four-required-parameter mutation tool with no annotations, no output schema, and a terse non-English description. An agent has no information about effects, idempotency, authorization, or the relationship between the bind and unbind lists, which is inadequate for the complexity.

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%, with each of the four parameters documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond the schema — for example, no explanation of what happens when a role appears in both bind_role_names and unbind_role_names.

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 phrase "更新委托权限策略" names a verb (更新/update) and a resource (委托权限策略/agency permission policy), so the general intent is graspable. However, it does not say what aspect of the policy changes — the schema reveals it is bind/unbind of role names — and it does nothing to distinguish this from siblings like iam__UpdateAgencyCustomPolicy or drs__BatchSetPolicy.

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 another policy tool (e.g. iam__UpdateAgencyCustomPolicy, drs__BatchSetPolicy) would be preferred. The agent must infer the invocation context entirely from the 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