Skip to main content
Glama

esxi_permissions_manage

Destructive

Manage ESXi roles and permissions: create, update, or remove roles and set or remove permissions, with dry-run previews and expected-host checks.

Instructions

专用 permissions 管理:role_create, role_update, role_remove, permission_set, permission_remove。先 resource_schema/get 和默认预览;实际执行精确 expected_host、写开关与依赖确认,支持 request_id 防止重复执行。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
dry_runNo
argumentsNo
request_idNo
expected_hostNo
allow_disruptionNo
acknowledged_vm_idsNo
allow_unknown_impactNo
allow_protected_impactNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the mutation risk is declared. The description adds real behavioral context beyond that: a default dry-run preview step, exact expected_host pinning, write-switch and dependency confirmation, and request_id for deduplication. These are meaningful operational traits (idempotency, guardrails) not present in the annotations, though it doesn't spell out what gets destroyed.

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's a single dense sentence covering actions and workflow, appropriately brief. But the mixed Chinese/English phrasing and run-on structure reduce readability, and the most important safety info (irreversibility) is buried rather than front-loaded.

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?

For a destructive, 9-parameter permission-management tool with an output schema present, the description is thin. It never explains the multi-parameter safety flags, the containment relationship between preview and execution, or how request_id interacts with the already-defaulted dry_run. An output schema exists, so return values needn't be explained, but the input contract is largely missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, so the description must carry the load. It explains request_id's dedup purpose, expected_host pinning, and the write/dependency confirmation implied by the allow_* flags, but never addresses dry_run, arguments, acknowledged_vm_ids, allow_disruption, allow_unknown_impact, or allow_protected_impact. Most parameters remain undocumented.

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 names a specific resource (permissions) and lists the sub-actions (role_create, role_update, role_remove, permission_set, permission_remove), which tells an agent what domain this covers. However, it's opaque about what a 'permissions manage' operation actually does at the call level and doesn't differentiate clearly from siblings like esxi_account_manage. The mix of Chinese and English also hurts clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It hints at a workflow ('先 resource_schema/get 和默认预览' – first call resource_schema/get and default preview), which implies when to use this tool versus raw esxi_api_invoke. But it gives no explicit when-not guidance or alternative comparison against the many sibling *_manage tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.