Skip to main content
Glama

cse__UpdateGovernancePolicy

Modify an existing CSE governance policy to adjust microservice routing, rate limiting, or fault tolerance rules by updating its definition and scope.

Instructions

[CSE] 修改治理策略。

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": {
      "kind": "<kind>",
      "policy_id": "<policy_id>",
      "project_id": "<project_id>"
    },
    "name": "cse__UpdateGovernancePolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes治理策略类型
nameNo治理策略名称
specNo治理策略定义内容
selectorNo治理策略下发范围
policy_idYes治理策略id
project_idYes租户子项目的唯一标识。字符长度为1~64。

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 behavioral burden, and it discloses almost nothing beyond the bare fact of mutation. It does not say whether this is a full replace or a partial patch (critical given the optional 'name', 'spec', and 'selector' fields), whether unspecified fields are cleared, what permissions or state the policy must be in, or whether the change is reversible.

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 short sentence is free of filler and front-loads the verb, so there is no wasted wording. The problem is under-specification rather than verbosity: the extreme brevity leaves no room for the update semantics an agent actually needs.

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 mutation tool with six parameters, one of them a nested object ('selector') and another a free-form object ('spec'), with no annotations and no output schema. For that complexity, a one-sentence description is not sufficient: update semantics, required preconditions, and any partial-update behavior are all absent.

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 every parameter, including the nested selector properties, is already documented in the schema and the description adds no semantics on top. Baseline 3 applies because the schema is doing all the work, not because the description contributes anything.

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 states a specific verb and resource ('修改治理策略' / modify governance policy), which is enough to know it mutates an existing policy rather than creating or deleting one. However, it stops there: it says nothing about what part of the policy is being modified (name, spec, selector, or all of them) or what scope the update applies to, so the agent must open the schema to learn the tool's actual reach.

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 tool versus siblings like CreateGovernancePolicy, DeleteGovernancePolicy, or ListGovernancePolicy, and no prerequisites or preconditions are mentioned. The agent can infer from the verb that this is the update path, but nothing in the definition confirms or excludes any usage scenario.

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