Skip to main content
Glama
vmware-skills

vmware-vdi

ad_user_search

Read-onlyIdempotent

Resolve Active Directory users or groups by name to their SIDs for Horizon pool entitlement assignments.

Instructions

[READ] Resolve AD users/groups by name to their SIDs — needed to entitle a pool (entitlement_add).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName substring to search for.
limitNoMax principals to return (default 25).
targetNoHorizon target from config.yaml; omit to use the default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.1.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / limit / description
      Added value: +"Max principals to return (default 25)."
    • addedInput schema / properties / name / description
      Added value: +"Name substring to search for."
    • addedInput schema / properties / target / description
      Added value: +"Horizon target from config.yaml; omit to use the default."
  2. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior. The description adds useful behavioral context by specifying the output concept (SIDs) and the integration purpose. It does not contradict annotations and adds value beyond them.

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?

A single sentence with no filler. The READ tag and core purpose are front-loaded, and the downstream consumer (entitlement_add) is named efficiently without waste.

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

Completeness4/5

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

For a simple read-only search tool, the description plus annotations and full schema coverage are nearly complete. The description states the output goal (SIDs) even though no output schema exists. It could specify response shape or pagination behavior, but the current definition is adequate for correct selection and invocation.

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 all three parameters (name, limit, target) are already documented. The description adds no extra parameter-level detail beyond the schema. Baseline 3 is appropriate because the schema carries the full burden.

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 states a specific verb ('Resolve'), a specific resource ('AD users/groups'), and a concrete outcome ('to their SIDs'). It also distinguishes itself from the sibling tools by tying its purpose to entitlement_add, so an agent can tell what this tool does at a glance.

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 clear contextual usage by explicitly saying this is needed to entitle a pool via entitlement_add. It does not list exclusions or alternatives, but there is no close sibling search tool to differentiate from, so the downstream pointer is sufficient.

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