Skip to main content
Glama

Create an access role

create_access_role

Create a named access role in a workspace you own. It starts with all eight capabilities on and every mailbox read & write; narrow it afterwards with set_access_role_capability and set_access_role_mailbox_access, then put people in it with assign_access_role. This only stages a request: the owner opens the link in their browser, reviews it, and approves it there with their agent PIN. Never ask for or accept the PIN in chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe role's name, e.g. "Support".
workspaceNoWhich workspace, by name or id. Only needed when you own more than one — list_workspaces shows them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses a critical behavioral trait: 'This only stages a request: the owner opens the link in their browser, reviews it, and approves it there with their agent PIN.' This is beyond what annotations provide (none are given), and it also includes a security-relevant instruction: 'Never ask for or accept the PIN in chat.' This is exactly the kind of behavioral context an agent needs to avoid a serious error.

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 three sentences, each earning its place: the first states the action and initial state, the second explains the follow-up workflow, and the third discloses the approval flow and PIN safety rule. It is front-loaded with the core purpose and scoping constraint, and there is zero waste.

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?

For a 2-parameter tool with no output schema, the description is complete. It covers the initial state of the role, the follow-up tools to use, the workspace ownership prerequisite, the approval flow, and the PIN safety rule. An agent has everything it needs to call this tool correctly and avoid a security mistake.

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%, so the schema already documents both parameters. The description adds context about the workspace parameter ('Only needed when you own more than one — list_workspaces shows them'), which is useful. However, it doesn't add much about the name parameter beyond what the schema provides. Baseline 3 is appropriate since the schema does the heavy lifting.

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 states a specific verb and resource: 'Create a named access role in a workspace you own.' It clearly distinguishes this from siblings like set_access_role_capability, set_access_role_mailbox_access, and assign_access_role by explaining the role starts with all capabilities and mailbox access enabled, then must be narrowed with those sibling tools. This is a clear, specific purpose that an agent can act on.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly explains the workflow: create the role, then narrow it with set_access_role_capability and set_access_role_mailbox_access, then assign people with assign_access_role. It also states the prerequisite that you must own the workspace, and that the workspace parameter is only needed when you own more than one. This is explicit when-to-use guidance with named alternatives and sequencing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources