Skip to main content
Glama

get_user_entitlements

Read-only

Retrieve a user's roles, groups, and active status to determine their access entitlements.

Instructions

Summarize what a user can access: their roles, groups, and active status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesUser sys_id, user_name, or email

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.15.1

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, covering safety and result volatility. The description adds specific output fields (roles, groups, active status) but does not disclose additional behaviors like output format or aggregation logic. Given the annotations, this is adequate but not rich.

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 a single sentence that front-loads the core purpose ('Summarize what a user can access') and lists the key output fields. There is zero redundant content.

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 tool with one parameter, an output-less schema, and readOnly/openWorld annotations, the description sufficiently conveys what the tool does and what it returns. It does not specify the return format, but the term 'summarize' and the listed fields give enough context for an agent to invoke it 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?

Schema description coverage is 100% and the single parameter (user) is fully documented in the schema as accepting sys_id, user_name, or email. The description does not add any further semantic detail beyond the schema, so the baseline of 3 applies.

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 clearly states the tool summarizes user access (roles, groups, active status), which is a specific verb-resource combination. It distinguishes itself from sibling tools like get_user or list_user_roles by focusing on a consolidated summary of entitlements.

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 implies usage when a consolidated summary of user entitlements is needed, which provides clear context. However, it does not explicitly mention alternatives or when not to use it, so it stops short of a full 5.

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

Deploy Server

Other Tools