Skip to main content
Glama

Create invitation

create_invitation

Invite someone to the current organization by email, as ADMIN, MANAGER, SALES or INTERVIEWER, optionally with profiles they can access on joining, and email them the link. Admin only (403), and needs a Team plan (402). Inviting the same address again replaces the earlier invitation with a new id and a fresh 7-day expiry, keeping its prepared profiles and clearing a decline, and sends another email. Refused with 409 if they are already a member and 402 if pending invitations plus members would exceed the plan's seats. Returns the created invitation with its id. To add profiles to an existing invitation use grant_profile_access_to_invitation; to give an existing member a profile use grant_profile_access.

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_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoInvitee role: ADMIN (everything, every profile), MANAGER (runs the work on assigned profiles, no people or billing), SALES (applies to jobs and does outreach) or INTERVIEWER (reads, adds notes, interview prep). Defaults to INTERVIEWER.
emailYesEmail address to invite; the invitation link is mailed here.
profileIdsNoUp to 100 profile ids (UUIDs from list_profiles) the invitee can access once they accept. Any role but ADMIN: sending any with role ADMIN is a 400, since admins see every profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / profileIds / description
      Previous value: -"Up to 100 profile ids (UUIDs from list_profiles) the invitee can access once they accept. AGENT only: sending any with role ADMIN is a 400, since admins see every profile."New value: +"Up to 100 profile ids (UUIDs from list_profiles) the invitee can access once they accept. Any role but ADMIN: sending any with role ADMIN is a 400, since admins see every profile."
    • changedInput schema / properties / role / description
      Previous value: -"Invitee role: ADMIN or AGENT. Defaults to AGENT."New value: +"Invitee role: ADMIN (everything, every profile), MANAGER (runs the work on assigned profiles, no people or billing), SALES (applies to jobs and does outreach) or INTERVIEWER (reads, adds notes, interview prep). Defaults to INTERVIEWER."
    • changedInput schema / properties / role / enum
      Previous value: -[
      -  "ADMIN",
      -  "AGENT"
      -]New value: +[
      +  "ADMIN",
      +  "MANAGER",
      +  "SALES",
      +  "INTERVIEWER"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations, which only say this is a non-read-only, non-destructive, non-idempotent write. The description discloses the replacement semantics on re-invite (new id, fresh 7-day expiry, retained prepared profiles, cleared decline, another email sent), the auth/plan prerequisites with status codes, and the seat-count failure mode. This is exactly the kind of side-effect detail annotations cannot express.

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?

Front-loaded with the core action and written as one dense paragraph where nearly every clause carries decision-relevant information. The status-code list and re-invite clause make it long, but nothing is filler; a minor deduction for being a wall of prose rather than separated beats.

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?

There is no output schema, and the description compensates by stating 'Returns the created invitation with its id.' Combined with the error codes, role/profile semantics, and re-invite behavior, an agent has everything needed to call this correctly for a three-parameter mutation tool.

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 100%, so email, role enum, and profileIds are already fully documented in the schema. The description restates the role names and the 'optionally with profiles they can access on joining' behavior but adds no new syntax or constraints beyond what the schema provides. Baseline 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?

Names a specific verb and resource ('Invite someone to the current organization by email') and enumerates the roles and optional profile grants the call accepts. An agent can distinguish it from the sibling grant tools without opening any 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?

Explicitly routes adjacent needs to alternatives: 'To add profiles to an existing invitation use grant_profile_access_to_invitation; to give an existing member a profile use grant_profile_access.' It also spells out the exact refusal conditions (403 admin-only, 402 Team plan, 409 already a member, 402 seat limit), so an agent knows when the call is legal before issuing it.

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