Skip to main content
Glama
michsob

PowerPlatform MCP

Get Security Roles

get-security-roles

Retrieve unmanaged and customizable security roles from PowerPlatform environments. Filter by solution, exclude system roles, and include privilege details to audit permissions and manage access configurations.

Instructions

Get security roles in the PowerPlatform environment, filtered to unmanaged or customizable roles. Supports solution scoping and optional privilege details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
solutionUniqueNameNoFilter to roles in a specific solution
excludeSystemRolesNoExclude system roles like System Administrator (default: true)
maxRecordsNoMaximum number of records to return (default: 100)
includePrivilegesNoInclude privilege details for each role (default: false)
environmentNoEnvironment name (e.g. DEV, UAT). Uses default if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rolesYes
Behavior3/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 successfully communicates the filtering behavior (unmanaged/customizable roles) and optional inclusion of privilege details. However, it fails to explicitly state the read-only/safe nature of the operation or mention pagination behavior despite the maxRecords parameter.

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 consists of two efficiently structured sentences with zero waste. The first sentence front-loads the core action and scope, while the second sentence concisely lists key capabilities (solution scoping, privilege details) without redundancy.

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 5 optional parameters and existence of an output schema, the description adequately covers the tool's purpose and key behavioral distinctions (filtering, scoping). It appropriately omits return value details (handled by output schema) but could be improved by noting the read-only nature given the lack of safety annotations.

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?

With 100% schema description coverage, the baseline is appropriately 3. The description adds conceptual value by mapping 'solution scoping' to solutionUniqueName and 'optional privilege details' to includePrivileges, but does not elaborate on parameter interactions or provide examples beyond what the schema already documents.

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

Purpose4/5

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

The description clearly states the verb (Get), resource (security roles), and scope (PowerPlatform environment), while specifying the unique filtering behavior (unmanaged or customizable roles). However, it could more explicitly differentiate from the sibling 'get-security-role-privileges' tool, though 'optional privilege details' implies this tool focuses on the roles themselves.

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 implied usage guidance by noting the tool retrieves 'unmanaged or customizable roles' and supports 'solution scoping,' suggesting when to use these features. However, it lacks explicit when-to-use/when-not-to-use guidance or direct comparison to sibling alternatives like 'get-security-role-privileges'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michsob/powerplatform-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server