Skip to main content
Glama
Ringer

warp-mcp

by Ringer

Update a custom role

team_update_role
Idempotent

Update a role's display name, description, or scope set. Changing scopes invalidates all user sessions holding that role.

Instructions

Update the display name, description, and/or scope set of a customer-owned role. System roles are immutable. HIGH IMPACT when changing scopes: session invalidation fans out to every user holding the role. Only provided fields are changed. Use acct_list_scopes to discover valid scopes. Requires the team:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopesNoReplacement scope set, e.g. ['team:read', 'billing:read']. Replaces the role's entire scope list and invalidates sessions of affected users.
role_idYesRole UUID (find it via team_list_roles)
customer_idYesYour customer UUID (shown in the WARP portal under Settings)
descriptionNoNew free-text description of the role's purpose
display_nameNoNew human-readable role name
Behavior5/5

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

The description goes beyond annotations by warning of high impact when changing scopes: session invalidation fans out to all users holding the role. This adds important behavioral context that the annotations (idempotentHint=true, destructiveHint=false) do not fully capture.

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 at 5 sentences, each adding value. It front-loads the main purpose, then covers constraints and impact. Could be slightly more concise, but no 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?

The description covers the tool's purpose, constraints, and behavioral impacts adequately. No output schema exists, but the description doesn't need to detail return values as the context is clear for an update operation.

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?

All 5 parameters have schema descriptions (100% coverage), so the description adds only marginal value, e.g., noting that only provided fields are changed and that scopes replaces the entire list. Baseline score of 3 is appropriate.

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 verb 'Update' and the resource 'customer-owned role', and distinguishes from sibling tools like team_create_role and team_delete_role by specifying the scope of update (display name, description, scope set).

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 provides key usage guidance: it notes that system roles are immutable (when not to use), advises using acct_list_scopes to discover valid scopes, and specifies the required team:write scope. However, it does not explicitly contrast with alternatives like team_duplicate_role or team_get_role.

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/Ringer/warp-mcp'

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