Skip to main content
Glama
matt-coppinger

Horizon MCP Server

set_pool_entitlements

Add, replace, or remove user/group entitlements to grant or revoke access to desktop or application pools.

Instructions

Add, replace, or remove entitlements for a desktop or application pool.

CAUTION: action='replace' removes any existing entitlements not in the provided list. CAUTION: action='remove' immediately revokes access for the specified principals. Always confirm with the user before using replace or remove.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesadd: merge with existing entitlements. replace: overwrite all existing entitlements with this list. remove: revoke access for the specified users/groups.
pool_idYesPool ID to modify entitlements for
pool_typeYesType of pool
ad_user_or_group_idsYesAD user or group IDs. Use search_ad_users_or_groups to find IDs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly warns that replace removes existing entitlements not in the list and that remove immediately revokes access, which are critical side effects. It also adds a user-confirmation requirement for destructive actions. This goes beyond a generic mutation description and adequately discloses the main risks, though it does not cover all edge cases (e.g., partial failures, idempotency).

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 two sentences plus two caution lines, all front-loaded with the core purpose. Every sentence earns its place: the main verb phrase, then explicit destructive-action warnings. There is no fluff, and the structure directs attention to the most important safety information immediately.

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?

Given the presence of a detailed input schema, an output schema, and the safety cautions in the description, the definition covers the essential context for calling this tool correctly. It explains the destructive actions, requires user confirmation, and the schema already documents how to find IDs (via search_ad_users_or_groups). It lacks a few niceties like mentioning that this is a mutation tool or that listing current entitlements first may be prudent, but it is complete enough for an agent to execute correctly.

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?

The input schema has 100% parameter description coverage, including detailed explanations for the action enum values. The description adds only marginal context by repeating the caution about replace/remove, which is already implied in the schema. It does not introduce new parameter semantics beyond what the schema provides, so a baseline score of 3 is appropriate.

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 specific verb and resource: 'Add, replace, or remove entitlements for a desktop or application pool.' This clearly states the operation and target, distinguishing it from read-only siblings like list_pool_entitlements and get_pool_entitlement. The purpose is unambiguous and action-oriented.

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?

The description provides safety cautions for the destructive actions (replace and remove) and instructs to confirm with the user, which is a usage guideline for those specific actions. However, it does not explicitly state when to use this tool versus read-only alternatives (e.g., list_pool_entitlements) or other modification tools. The guidance is implicit from the verb 'set' but not explicit, so it falls short of a clear 'use this when X, use that when Y' structure.

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