Skip to main content
Glama

Invite User

invite_user

Invite a person into a tenant (a customer workspace) by email: Bridge creates the user and sends the invitation. Arguments: tenantName (the tenant NAME from list_tenants, like the other user tools) or tenantId (its id, e.g. from create_tenant), email (the invitee), role (a role KEY from list_roles, e.g. "ADMIN"), firstName, lastName. The role is the developer's decision: without it the tool invites nobody and returns DECISION_NEEDED offering the app's role keys, never the app's default role silently. Returns the new user. Use create_tenant first when the tenant does not exist yet, and update_user to change the role of someone already in it. Before writing app code that consumes this, call get_integration_guide with topic=team and the framework the app uses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoId of the Bridge app to act on for this call (see list_apps). Omit to use the current app.
roleNoRole KEY from list_roles. Ask the developer which role invitees get.
emailYesEmail address of the person to invite.
lastNameNoThe invitee's last name.
tenantIdNoTenant id, e.g. from create_tenant. Pass this or tenantName.
firstNameNoThe invitee's first name, shown in the invitation.
tenantNameNoTenant NAME from list_tenants. Pass this or tenantId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it creates the user AND sends an invitation, returns the new user, and discloses a notable quirk (role missing means no invite and a DECISION_NEEDED response listing role keys rather than silently applying a default). It doesn't discuss auth requirements or idempotency, but the annotation already covers idempotentHint.

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?

Dense but front-loaded: the core action leads, followed by argument intent, then prerequisite/follow-up guidance. Nearly every sentence earns its place, though the argument-list and next-step guidance could be tightened slightly.

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?

For a 7-param mutation tool with no output schema, it covers the key parameters, prerequisite (create_tenant), alternative (update_user), and return value ('Returns the new user'). The unmentioned 'app' parameter and absence of auth/permission notes are minor gaps.

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 100%, so the baseline is 3, but the description adds meaning: role is a KEY from list_roles and must be the developer's explicit choice, tenantName is the NAME from list_tenants while tenantId comes from create_tenant, and firstName/lastName appear in the invitation. Only the 'app' parameter is left unexplained.

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?

States a specific verb (invite) and resource (person into a tenant/customer workspace) and clarifies that Bridge creates the user and sends the invitation. It explicitly distinguishes itself from create_tenant and update_user, so an agent can route correctly without opening a schema.

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?

Explicit when/when-not and alternative routing: use create_tenant first when the tenant doesn't exist, update_user to change an existing member's role, and get_integration_guide before writing consuming code. This is exactly the routing guidance an agent needs.

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.