Skip to main content
Glama

Send gig documents

send_gig_documents
DestructiveIdempotent

Send the music schedule and/or details sheet for a gig after preview_gig_documents. Requires approved_plan_hash set to the plan_hash from that preview for these exact options. Each recipient gets the PDFs by email (and optionally text) with a private form link to confirm, and clients approve in the client portal. Who is told: every recipient the preview listed as will_send (email or text) or portal_only (client portal). If the gig or its audience changed since the plan, the send is refused and you must preview again. A retry of the same approved call returns the first send (replayed: true). Recipients confirm or respond themselves; this server cannot confirm or respond for them. Confirmation-gated only when approved_plan_hash is set. Without approved_plan_hash, this tool runs the same preview as preview_gig_documents for backward compatibility — prefer preview_gig_documents for planning. The gig must be published. Requires gig-manager 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": {
      "event_id": "<event_id>"
    },
    "name": "send_gig_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNodocuments to send: MUSIC_SCHEDULE (songs, moments and charts) and/or DETAILS_SHEET (times, venue, contacts). Defaults to both
messageNoa short message shown above the documents
send_idNopreview only: an earlier send id, to list its recipients in send_status
event_idYesthe gig (event) id, from list_events, open_gigs or my_agenda
also_textNoalso text the link to recipients with a phone number
confirm_byNolast day to confirm, in the gig's time zone
hide_surprisesNoleave run-of-show cues marked as surprises out of the documents. Omit to use the default: on when a client, gig contact or added person receives the documents, off otherwise
deemed_approvalNowhen true, recipients who have not answered by confirm_by count as approved (deemed). Needs confirm_by
document_statusNoprinted status frozen into this version: PRELIM or FINAL; omit for none
extra_recipientsNopeople outside the roster and contacts to add (for example a venue coordinator)
approved_plan_hashNoplan_hash from preview_gig_documents for these exact options; required to send
confirmation_tokenNoonly when approved_plan_hash is set: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token
recipient_overridesNoper-recipient changes to documents, confirmation and notes
exclude_identity_keysNoidentity_key values from a plan row to leave out of the send

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { send { id, version_number, created_at, kinds, render_status, changes, deemed_approval, confirm_by, status_line, counts, versions }, recipients_queued, replayed } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: delivery channels, the private form link and client-portal approval flow, the will_send/portal_only recipient rule, refusal on stale plans, the confirmation_token handshake, and the replayed:true idempotency contract. The replay and refusal semantics are consistent with idempotentHint=true and destructiveHint=true (irreversible external emails), so nothing contradicts the annotations.

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 and prerequisite, and nearly every sentence carries operational information. It is dense and a few clauses are run-on (the 'Who is told' and confirmation-gating sentences), but there is no filler to cut.

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 14-parameter, confirmation-gated, irreversible external send, the description covers prerequisites, failure modes, recipient selection, idempotency, and access requirements. With an output schema present, it need not explain return shapes, so nothing an agent needs to call this correctly is missing.

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 the baseline is 3. The description does add procedural meaning beyond the schema for approved_plan_hash and confirmation_token (empty on first call, resend the same args with the returned token), but it says nothing extra about the other twelve parameters such as kinds, hide_surprises, or deemed_approval.

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 ('Send the music schedule and/or details sheet for a gig') and immediately positions itself relative to preview_gig_documents. An agent can distinguish this from the preview sibling and from other send_* tools without opening the 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?

Gives explicit preconditions (must follow preview_gig_documents, approved_plan_hash from that preview for these exact options, gig must be published, gig-manager access) and names the alternative ('prefer preview_gig_documents for planning') for the no-hash fallback path. It also states what to do when the plan is stale: re-preview.

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.