Skip to main content
Glama

Send gig invitations

send_event_invitations
Destructive

Send a gig's unsent (draft) invitations — the ones created with send_invitation=false — by email/SMS/push. Pass invitation_ids from list_event_invitations to send a subset, or omit the field entirely to send every unsent invitation on the event — those are resolved when you call and the confirmation token binds exactly that list, so a draft added afterwards needs its own approval (an empty list is rejected, never treated as send-all). Already-sent invitations are not re-sent (use send_reminder kind=invitation for that). The event must be ACTIVE: on a DRAFT gig nothing is sent and results comes back empty, because invitations go out when the gig is published with publish_event or the Soundcheck app — never report them as sent. Messages real people, so it is confirmation-gated.

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

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig whose invitations to send
invitation_idsNosubset from list_event_invitations; omit to send all pending
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: { event_id, results } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 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 / event_id / minLength
      Added value: +1
    • 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: { event_id, results } }"
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare a destructive, non-idempotent, open-world write, and the description adds real context beyond them: confirmation gating with a token bound to the exact resolved list, empty-list rejection rather than implicit send-all, drafts added after the call requiring their own approval, no re-sends of already-sent invitations, and empty results on a DRAFT event with an instruction not to report those as sent.

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?

Dense single paragraph that front-loads the core action and then layers constraints in a logical order (subset vs all, token binding, no re-sends, ACTIVE requirement, safety note). Every clause carries operational information, though the heavy parenthetical nesting makes it harder to scan than it could be.

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, confirmation-gated send tool this covers everything an agent needs: preconditions, parameter sourcing, the two-step confirmation protocol, idempotency/duplicate-send hazards, and the specific case where results come back empty. Return values are covered by the output schema, so nothing essential 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 already 100%, so the baseline is 3, but the description adds genuine meaning: invitation_ids should come from list_event_invitations, omission means send-all, an empty list is rejected and never treated as send-all, and the list is resolved at call time and bound by the confirmation token. Only the confirmation_token mechanics are largely restated from the schema.

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?

A specific verb (send) plus resource (a gig's unsent draft invitations) with the channel enumerated (email/SMS/push). It also explicitly delimits scope against siblings: 'Already-sent invitations are not re-sent (use send_reminder kind=invitation for that)' and the DRAFT-event case that routes to publish_event.

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?

Gives explicit when-to-use conditions (event must be ACTIVE; invitations must have been created with send_invitation=false), two invocation modes (subset via invitation_ids from list_event_invitations, or omit to send all), and names the alternative for re-sends. Even the failure mode on a DRAFT gig and the confirmation-gated flow are spelled out.

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.