Skip to main content
Glama
vmware-skills

vmware-vdi

add_entitlement

Idempotent

Grant AD user or group SIDs access to a VMware Horizon desktop pool; preview the blast radius first, then confirm to apply.

Instructions

[WRITE] Grant desktop-pool access to AD user/group SID(s).

Get SIDs from search_ad_users. A bare call returns blast_radius (pool identity, which principals are already entitled and which are new) and grants nothing; confirm=True grants. Refused when the pool's current entitlements cannot be read. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. Audited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoHorizon target from config.yaml; omit to use the default.
confirmNoFalse (default) returns the blast radius and changes nothing. True grants.
pool_idYesThe desktop-pool id (from list_desktop_pools).
ad_user_or_group_idsYesAD SIDs to entitle (from search_ad_users).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, idempotent=true, openWorld=true), and the description adds substantial context beyond them: the no-op default call, the exact blast_radius contents, the refusal condition when entitlements can't be read, and that actions are audited. Nothing contradicts the idempotentHint.

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?

Front-loaded with tag, purpose, workflow, then guardrail; most sentences earn their place. The 'do not set confirm=True on your own' sentence is slightly redundant with the following clause, but the emphasis is warranted for a destructive-adjacent workflow.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still explains what the default call returns (blast_radius: pool identity, existing vs new principals), the failure mode, and the audit trail. An agent has everything needed to invoke it safely and interpret the result.

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

Parameters4/5

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

Schema coverage is 100%, so all four parameters are already documented, setting the baseline at 3. The description adds meaning to confirm by framing it as the deliberate second step in a reviewed workflow, which is more than the schema's terse 'True grants'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a bracketed [WRITE] tag plus a specific verb and resource ('Grant desktop-pool access to AD user/group SID(s)'), immediately distinguishing it from remove_entitlement and the read-only list_* siblings. An agent knows exactly what the tool does without opening the schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to search_ad_users for SIDs and to the two-phase workflow (bare call = blast radius, confirm=True = grant). It also names a when-not condition ('do not set confirm=True on your own... they have not seen the blast radius yet') and the refusal case, which is unusually complete guidance.

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