Skip to main content
Glama
mjendza

Entra Permissions MCP Server

by mjendza

Search app roles across Microsoft apps

search_app_roles

Search Microsoft first-party app roles by keyword to find which app exposes a given role, including owning app's AppId and display name.

Instructions

Search the app roles exposed by all Microsoft first-party apps by keyword (role Value, DisplayName, or Description). Each result includes the owning app's AppId and AppDisplayName — useful to find which app exposes a given role.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return (default 25).
queryYesRole keyword, e.g. "EventGrid" or "Policy.Read".
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the search scope (keyword in Value, DisplayName, Description) and output elements (AppId, AppDisplayName). It does not mention auth, rate limits, or edge cases, but for a search tool this is adequate and transparent.

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?

Two sentences, front-loaded with action and scope. Every word adds value. No fluff.

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 2 params and no output schema, the description explains output content (AppId, AppDisplayName) which is helpful. It covers essential context for a search tool but lacks details on error handling, pagination beyond limit, or no-result scenarios.

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 coverage is 100%, so baseline is 3. The description's example for query ('EventGrid', 'Policy.Read') adds marginal value beyond the schema description. The limit parameter is not elaborated in the description, so no additional meaning beyond schema.

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 it searches app roles by keyword across Microsoft first-party apps. It specifies the fields searched (Value, DisplayName, Description) and notes the output includes owning app's AppId and AppDisplayName. This distinguishes it from sibling tools like search_graph_application_permissions or search_microsoft_apps.

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 when to use: to find which app exposes a given role. However, it does not explicitly state when not to use this tool or compare it with alternatives like search_graph_application_permissions. It provides clear context but lacks exclusions.

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/mjendza/entra-id-permissions-mcp'

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