Skip to main content
Glama

Create team invitation

create_team_invitation

Invite a person into the CURRENT tenant and send the invitation mail. Only tenant admins may call it — the same rule as the team page. Registering with exactly this address then lands the person in this tenant instead of a new one of their own. If an account with the address already exists, it becomes a member right away and gets a notice instead of an invitation. An existing invitation for the same address is re-sent (and reactivated if it was revoked), never duplicated. Every call is recorded in audit_logs. No password is set and no address is confirmed on the person's behalf.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "email": "<email>"
    },
    "name": "create_team_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFor the greeting in the mail.
roleNoDefault bid_manager — edits tenders, manages no users. admin = tenant_admin, member = bid_manager.
emailYes
send_mailNoDefault true. false only records the invitation; the person then has to be told by other means.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses admin-only authorization, current-tenant scoping, behavior when an account already exists, re-send/reactivation instead of duplication, audit logging, and that no password is set or address confirmed. These are exactly the behavioral traits an agent needs before invoking a mutation with external side effects.

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 core action and tenant scoping are front-loaded, followed by distinct operational details that each earn their place. Despite covering several branches, the prose remains dense and free of filler.

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 definition covers authorization, tenant scoping, duplicate handling, audit behavior, and security expectations, which is substantial for this tool. However, with no output schema, it does not describe the return value or failure responses, leaving a minor gap for an agent expecting to know what a successful call yields.

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 coverage is 75%, and the schema already documents name, role, and send_mail semantics. The description adds context around the email address and mail-sending behavior, but it does not add parameter-level syntax, defaults, or constraints beyond what the schema provides, so the baseline 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 states a specific action: invite a person into the CURRENT tenant and send the invitation mail. It clearly distinguishes this from self-registration creating a separate tenant and makes the scope concrete enough that an agent can separate it from list/delete sibling operations.

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

Usage Guidelines3/5

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

It gives useful permission context ('Only tenant admins may call it') and explains existing-account and existing-invitation paths, but it does not explicitly say when to use this versus alternatives such as list_team_invitations or delete_team_invitation. Usage is implied by the create-oriented name rather than stated as routing guidance.

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