Skip to main content
Glama

update_invitation

Change the role assigned to a pending invitation in a workspace. Specify the invitation and hub profile IDs to update the access level.

Instructions

Update the role assigned to a pending invitation.

workspace_id: target workspace ID — get available IDs from list_workspaces()
role_id: 1 = Admin, 2 = Editor, 3 = Viewer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_idYes
workspace_idYes
invitation_idYes
hub_profile_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.18

TDQS

B3.1/5.0
Behavior3/5

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

Annotations indicate readOnly=false and destructive=false, and the description matches by stating it updates a role. No additional side effects, permissions, or consequences are disclosed, but the annotation coverage keeps this adequate.

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 brief and well organized, with param guidance in a bullet-like second line. No redundant or filler content appears.

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

Completeness3/5

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

Since an output schema exists, return details are not necessary. However, the description omits key contextual guidance such as the distinction between hub-profile and workspace invitations and the effect of changing a role on an existing invitation.

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

Parameters2/5

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

Schema description coverage is 0%, and the description compensates only for workspace_id and role_id, including role value mapping. hub_profile_id and invitation_id are left unexplained, leaving half the required parameters without added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Update the role assigned to a pending invitation') and identifies the target resource clearly. It does not explicitly differentiate from the sibling 'update_workspace_invitation', but the invitation resource is obvious from the tool name and context.

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

Usage Guidelines2/5

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

The description gives param sourcing guidance for workspace_id and role_id values, but does not explain when to use this tool versus update_workspace_invitation or other invitation-related tools. It lacks explicit conditions or exclusions to guide tool selection.

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

Deploy Server

Other Tools