Skip to main content
Glama

Invite organization member

invite_org_member
Destructive

Invite someone to the organization by email. Clerk sends the email. Default role is org:member; org:gig_coordinator is allowed; org:admin and org:finance are owner-only. Writes to a real person. Confirmation-gated. Requires an owner, admin or gig coordinator, or a member with staffing access; gig coordinators and members with staffing access can invite as org:member only.

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": "invite_org_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoorg:member (default), org:gig_coordinator, or org:admin or org:finance (owner-only)
emailYesinvitee email address
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { invitation } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / email / minLength
      Added value: +1
    • changedInput schema / properties / organization_id / description
      Previous value: -"defaults to your active organization"New value: +"organization to act in, an id from get_me; omit to use your active organization"
    • changedInput schema / properties / role / description
      Previous value: -"org:member (default), org:gig_coordinator, or org:admin (owner-only)"New value: +"org:member (default), org:gig_coordinator, or org:admin or org:finance (owner-only)"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / properties / data / description
      Previous value: -"tool payload (API/composite/confirmation object); object, array, or primitive JSON"New value: +"when the tool asks first: { status: \"confirmation_required\", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { invitation } }"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: 'Clerk sends the email' discloses the external side effect, 'Writes to a real person' grounds the destructiveHint in real-world consequence, and 'Confirmation-gated' pre-announces the two-step token flow. It also states the permission tiers and the privilege-escalation ceiling on roles, which the 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, then role rules, then side effects and authorization. Every sentence carries information, though the final permission sentence is a dense run-on that could be split for easier parsing.

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?

An output schema exists so return values need not be explained, and the description covers the gaps that matter for a destructive, non-idempotent invite: real-person side effect, confirmation gating, allowed roles, and caller authorization. An agent has enough to decide and invoke correctly.

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; the description earns extra by linking caller identity to permissible role values (owner-only for org:admin/org:finance, member-only for gig coordinators and staffing-access members), a constraint not encoded in the schema. It does not elaborate on organization_id or the confirmation_token beyond what the schema already says.

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?

States a specific verb and resource: 'Invite someone to the organization by email', plus the delivery mechanism (Clerk sends the email). It is clearly a membership-invite action, distinguishable from list/remove siblings. It does not explicitly contrast with the sibling 'invite_customer_contact_to_portal', so an agent must infer the member-vs-portal distinction.

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 concrete authorization context ('Requires an owner, admin or gig coordinator, or a member with staffing access') and the resulting role restriction ('gig coordinators and members with staffing access can invite as org:member only'), which tells the agent when a call will succeed. It stops short of naming alternatives or stating when not to use this tool at all.

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.