Skip to main content
Glama

Create gig invitations

create_event_invitations
Destructive

Invite people to a specific gig (event-scoped — NOT org membership; use invite_org_member for that). Each invitation names an org member by user_id (IN_APP) or an external person by email (EMAIL) or phone_number (SMS), optionally with org_position_id from list_org_positions, call_order (0 primary, 1+ backup), and a performance_fee. On an ACTIVE gig the person is notified immediately by email/SMS/push by default; pass send_invitation=false to store unsent drafts and send them later with send_event_invitations. On a DRAFT gig every invitation is held unsent until the gig is published with publish_event or the Soundcheck app, whatever send_invitation says, so do not tell the user anyone was notified. Gig coordinators may only invite existing members by user_id. Pass invitations:[{"email":"sam@example.com"}] (or the emails:["sam@example.com"] shorthand); this tool is event-scoped and takes no organization_id. Writes to real people, so it is confirmation-gated. Verify with list_event_invitations. In an organization that staffs gigs with crew offers, no invitation is written: each member is added as an unsent recipient on one draft shift per position (the same path as add_event_members), nobody is notified, the invitation.id in each result is the shift recipient id and converted_to_offer_id is the shift; send it with send_crew_offer and verify with list_crew_offers. Email/phone-only people and backups (call_order 1+) fail per item there.

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": {
      "event_id": "<event_id>"
    },
    "name": "create_event_invitations"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsNoshorthand for invitations:[{email}] — EMAIL invitations with no other fields
event_idYesthe gig to invite people to
invitationsNoone entry per person, e.g. [{"email":"sam@example.com"}]
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: { failed_count, results [{ email, error_message, first_name, invitation, last_name, phone_number, success, user_id }], successful_count, total_requested } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 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 / emails
      Added value: +{
      +  "description": "shorthand for invitations:[{email}] — EMAIL invitations with no other fields",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • changedInput schema / properties / invitations / description
      Previous value: -"one entry per person"New value: +"one entry per person, e.g. [{\"email\":\"sam@example.com\"}]"
    • removedInput schema / properties / invitations / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / invitations / items / properties / call_order / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / invitations / items / properties / user_id / description
      Previous value: -"user id of an org member (list_org_members / list_users); required for IN_APP"New value: +"user id of an org member (user_id from list_org_members); required for IN_APP"
    • changedInput schema / required
      Previous value: -[
      -  "event_id",
      -  "invitations"
      -]New value: +[
      +  "event_id"
      +]
    • 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: { failed_count, results [{ email, error_message, first_name, invitation, last_name, phone_number, success, user_id }], successful_count, total_requested } }"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructive, openWorld, non-idempotent), the description discloses that writes reach real people and are confirmation-gated, that DRAFT gigs silently hold every invitation regardless of send_invitation so the user must not be told anyone was notified, and that in crew-offer orgs nothing is written as an invitation but instead draft shifts are created. These are exactly the hidden behaviors an agent could otherwise misreport.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the sibling exclusion are front-loaded, but the body is a dense run-on block mixing schema restatement, edge cases, and the crew-offer branch without paragraphs or bullets. It is informative but heavier than needed, and "event-scoped / takes no organization_id" is stated twice.

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?

For a destructive, non-idempotent, multi-branch mutation tool, the description covers the confirmation-token flow, permission limits, draft vs active divergence, backup handling, and the crew-offer substitute path. With an output schema present, return values need not be explained, so nothing material is missing.

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 the schema only implies: the invitations:[{email}] vs emails:[...] shorthand equivalence, and the draft-gig override that nullifies the send_invitation default. It also restates some schema-documented details (call_order, user_id vs email), which keeps it from a 5.

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 first clause gives a specific verb and resource ("Invite people to a specific gig") plus an explicit scope negation and named alternative ("NOT org membership; use invite_org_member for that"), so an agent can distinguish it from invite_org_member and add_event_member 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?

It names the concrete alternatives and the conditions that select them: send_event_invitations for later sending, list_event_invitations to verify, publish_event for draft gigs, and the crew-offer path with send_crew_offer/list_crew_offers. It also states who may use it (gig coordinators limited to existing members by user_id), which is real when-to-use 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.