Skip to main content
Glama

vpn__UpdateVpnAccessPolicy

Updates a VPN access policy for a specified VPN server and project, letting you adjust access rules by policy ID.

Instructions

[VPN] 修改VPN访问策略

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_id": "<policy_id>",
      "project_id": "<project_id>",
      "vpn_server_id": "<vpn_server_id>"
    },
    "name": "vpn__UpdateVpnAccessPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYesVPN访问策略ID
project_idYes项目id
vpn_server_idYesVPN服务端 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full behavioral disclosure, and it does not. It does not say whether the change is destructive, whether omitted fields are reset or left alone, what permissions the project or server scope requires, or whether the operation is reversible. For a mutation tool rated this way, that is a significant 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?

It is a single well-formed phrase with no filler, front-loaded with the action and the resource. Brevity here comes from under-specification rather than from trimming wording, but the structure itself is clean.

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 an unannotated mutation tool with no output schema, so the description is the only source of behavioral context, and it says nothing about what it modifies, how it behaves, or what it affects. It is not adequate for the tool's 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%, and all three path parameters (policy_id, project_id, vpn_server_id) carry their own descriptions and patterns. The description adds no extra meaning beyond the schema, which is the baseline expectation when the schema documents itself.

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 gives a verb plus resource ("修改VPN访问策略" / modify VPN access policy), so the general purpose is clear. But it never says what aspects of the policy can be modified or what the operation returns, and it does not explicitly distinguish itself from sibling tools such as CreateVpnAccessPolicy or ShowVpnAccessPolicy. That makes it a vague purpose rather than a precise one.

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?

It offers no when-to-use or when-not-to-use guidance and names no alternative. An agent must infer from the sibling names that this is the mutation counterpart to Show/Create/Delete, and nothing tells it when this tool is preferred over, say, CreateVpnAccessPolicy.

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