Skip to main content
Glama

create_invitation

Invite an email address into a workspace. Caller must be owner or admin in the org. Writes a PENDING invitation: no membership and no billable seat exist until the invitee accepts. Re-inviting a still-pending address resends and rotates the token (the previous link stops working); inviting somebody who is already a member is a no-op that returns their existing membership. Mirrors POST /v1/orgs/{id}/invitations.

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": {
      "org_id": "<org_id>",
      "email": "<email>"
    },
    "name": "create_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNomember
emailYes
org_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it discloses the authorization requirement, that the write lands in a PENDING state with no seat consumed, that re-invites rotate the token and invalidate the prior link, and that already-member invites are idempotent no-ops. These are exactly the side effects and non-obvious semantics an agent would otherwise get wrong.

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 action, then prerequisites, then state semantics, then the endpoint mirror — a sensible order with no filler sentences. Slightly dense in the third sentence, where two distinct edge cases (re-invite vs already-member) are packed together, but nothing is redundant.

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?

Output schema exists, so return-value explanation is not owed, and the description still volunteers that an already-member invite returns the existing membership. The missing piece is any documentation of the role parameter, which is the one substantive gap 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.

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate, but it never mentions the role parameter at all — its default ('member'), its accepted values, or what an elevated role grants. Email and org are only obliquely implied by 'invite an email address' and the owner/admin requirement; no format or scoping detail is added.

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 and resource ('Invite an email address into a workspace') and pins the effect: a PENDING invitation that creates no membership or billable seat until acceptance. That effect clause is what separates it from a direct add-member action among the siblings. The only wrinkle is the workspace/org wording versus the org_id parameter and the /v1/orgs/{id}/invitations endpoint, but the endpoint reference resolves it.

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?

Gives a hard prerequisite (caller must be owner or admin in the org) and clear edge-case routing: re-inviting a pending address resends, inviting an existing member is a no-op. It stops short of naming alternative tools such as a direct member-add or revoke_invitation, so the agent must infer the when-not from the described behavior rather than from an explicit pointer.

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