Skip to main content
Glama
BrianDeacon

azure-utils-mcp

by BrianDeacon

authorization_activate_role

Activate an eligible Azure PIM role assignment by providing role, scope, and justification. Returns activation status and request ID.

Instructions

Activate an eligible Azure PIM role assignment.

role: the role name exactly as returned by authorization_list_eligible_roles (e.g. 'Contributor') scope: the scope to activate on, exactly as returned by authorization_list_eligible_roles justification: reason for activation (required by Azure PIM) duration: optional ISO 8601 duration string (e.g. 'PT4H', 'PT30M'). Defaults to the maximum duration allowed by the role's policy. Capped at the policy maximum if exceeded.

Returns the activation status and request ID. Status 'Provisioned' means immediately active. Status 'PendingApproval' or 'PendingApprovalProvisioning' means an approver must act first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYes
scopeYes
justificationYes
durationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It describes activation outcomes and statuses, but does not disclose side effects, idempotency, or required permissions. The behavior is partially transparent.

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 concise and well-structured, with the purpose front-loaded. Each sentence adds value, covering parameter details and return statuses without unnecessary 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 the tool's complexity and the presence of an output schema (not shown but indicated), the description covers parameter semantics and return statuses adequately. It could mention error handling or side effects, but is mostly complete.

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?

With 0% schema description coverage, the description adds significant meaning: role and scope must be exact from list_eligible, justification is required by Azure PIM, duration is ISO 8601 with default and cap. This compensates well for the schema's lack of detail.

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 activates an eligible Azure PIM role assignment, specifying the verb 'activate' and the resource 'Azure PIM role assignment'. It distinguishes itself from the sibling 'authorization_list_eligible_roles' by focusing on activation.

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 explicitly ties parameter values to the output of 'authorization_list_eligible_roles', provides context for justification (required by Azure PIM), and explains duration defaults and caps. It lacks explicit when-not guidance but the prerequisite is clear.

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/BrianDeacon/azure-utils-mcp'

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