Skip to main content
Glama

pbi_add_role_member

Add or update a user or group as a member of a Power BI role, with support for external and Windows identity types. Option to overwrite existing members or detect duplicates.

Instructions

Add (or update) a member (user/group) on a role.

member_type: 'external' (default, ExternalModelRoleMember — recommended for Power BI service) 'windows' (WindowsModelRoleMember — domain principal SID)

With overwrite=False (default), raises PowerBIDuplicateError if a member with the same member_name already exists on the role. With overwrite=True the existing member's identity_provider is refreshed (when external) and the response carries action="updated".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYes
overwriteNo
member_nameYes
member_typeNoexternal
identity_providerNoAzureAD

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully carries the burden. It details the behavior for add/update, duplicate handling, identity_provider refresh, and response action, providing complete transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with bullet points and front-loaded. It is clear and informative, though could be slightly more concise without losing detail.

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

Completeness5/5

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

Given the presence of an output schema, the description adequately covers all essential aspects: parameters, behavior, error handling, and use cases. It is complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description compensates by explaining member_type, overwrite, and identity_provider behavior. It does not describe role and member_name, but those are self-explanatory. The description adds significant value 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 the tool adds or updates a member on a role, specifying the resource (role) and action (add/update). It distinguishes from sibling tools like pbi_remove_role_member and pbi_create_role.

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 explains when to use overwrite and different member types, and describes error behavior. While it doesn't explicitly state when not to use the tool, the context is clear enough for selection.

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/imnotStealthy/powerbi-mcp-local'

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