Skip to main content
Glama
vmware-skills

vmware-vdi

entitlement_add

Idempotent

Grant desktop-pool access to AD users/groups after previewing the blast radius.

Instructions

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

Get SIDs from ad_user_search. 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 pool_list).
ad_user_or_group_idsYesAD SIDs to entitle (from ad_user_search).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / confirm / description
      Previous value: -"False previews; True grants."New value: +"False (default) returns the blast radius and changes nothing. True grants."
  2. Changed5 schema fields changedv1.1.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / ad_user_or_group_ids / description
      Added value: +"AD SIDs to entitle (from ad_user_search)."
    • addedInput schema / properties / confirm / description
      Added value: +"False previews; True grants."
    • addedInput schema / properties / pool_id / description
      Added value: +"The desktop-pool id (from pool_list)."
    • addedInput schema / properties / target / description
      Added value: +"Horizon target from config.yaml; omit to use the default."
  3. First observedv1.0.1

TDQS

A4.7/5.0
Behavior5/5

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

It discloses behavior beyond annotations: a bare call returns blast_radius and grants nothing, confirm=True grants, the tool refuses when entitlements cannot be read, and it is audited. It also includes an important safety directive: do not set confirm=True on your own because the user has not yet seen the blast radius. No contradiction with the annotations is present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: the purpose appears in the first sentence, followed by essential workflow and safety guidance. Every sentence earns its place, including the final 'Audited.' There is no repetition of schema details or unnecessary elaboration.

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?

Despite having no output schema, the description explains the return behavior of a bare call (blast_radius with pool identity, existing vs new principals) and the effect of confirm=True. It covers the key prerequisites, the refusal edge case, and the required user interaction step. This is sufficient for an agent to select and invoke the tool correctly.

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?

The schema already covers all parameters at 100%, and the description adds meaningful context: ad_user_or_group_ids are SIDs from ad_user_search, pool_id comes from pool_list, and confirm=False/default returns blast_radius while confirm=True grants. The blast_radius explanation ('which principals are already entitled and which are new') adds value beyond the schema descriptions.

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?

The description opens with a clear verb and resource: 'Grant desktop-pool access to AD user/group SID(s).' It also clarifies the write nature with '[WRITE]' and names the exact entity being modified, distinguishing it naturally from entitlement_remove. The scope is specific enough that an agent can understand what this tool does without inspecting 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 Guidelines4/5

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

The description gives strong usage workflow: get SIDs from ad_user_search, call without confirm to see blast_radius, show it to the user, wait for their decision, and do not auto-confirm. It also states a refusal condition. It stops short of explicitly naming alternatives such as entitlement_remove, but the 'Grant' phrasing and sibling list make the use case clear enough.

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