Skip to main content
Glama

Preview sending gig documents

preview_gig_documents
Read-onlyIdempotent

Dry-run the music schedule and/or details sheet send for a gig: writes nothing and messages nobody. Returns plan_hash, the next version_number, what changed since the last send, every recipient (roster, shift crew, gig contacts, the client and extras) with channels, documents, confirmation and a skip reason, totals (will_send, portal_only, skipped), and send_status for earlier sends (without send_id, every version sent with its counts; with send_id, that send's recipients with their state, delivery status, response note and remindable_recipient_ids for send_reminder kind=gig_document). Show the plan to the user, then call send_gig_documents with the SAME options and approved_plan_hash set to plan_hash. 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": "preview_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_idNoan 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)
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: { plan_hash, content_hash, version_number, changes [string], recipients [{ identity_key, recipient_kind: ROSTER | SHIFT | CONTACT | CLIENT | EXTRA | CREW, display_name, source_role, email, phone_number, channels (EMAIL | SMS), kinds, confirmation_required, note, chart_count, status: WILL_SEND | PORTAL_ONLY | SKIPPED, skip_reason }], totals { will_send, portal_only, skipped }, send_status ({ summary, sends } or, with send_id, { send, summary, recipients }) } }
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?

Annotations already declare readOnly/idempotent/non-destructive, but the description goes further: it confirms nothing is written or messaged, names the access prerequisite, states the published-gig precondition, and describes the approval handshake to the real send. This is meaningful context beyond the annotation block.

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?

Front-loaded with the core action and safety statement, but the long enumeration of return fields (plan_hash, version_number, recipients, totals, send_status variants) is a dense run-on that duplicates what the output schema already carries. Tightening that middle sentence would improve scannability without losing information.

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?

Given 12 parameters, a publish/access precondition and a required follow-up call, the description covers what an agent needs to act correctly. The verbosity on return values is redundant against the existing output schema, so it is complete but not optimally partitioned.

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 above that by explaining that send_id switches send_status from an all-versions summary to a single send's recipient states and exposes remindable_recipient_ids for send_reminder. Kinds and the approval handshake are also given operational meaning, though other parameters (hide_surprises, deemed_approval) are left to 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?

States a specific verb+resource pair ('Dry-run the music schedule and/or details sheet send for a gig') and immediately contrasts it with the mutating sibling send_gig_documents. An agent can tell exactly what this does and what it does not do 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 an explicit workflow: show the plan to the user, then call send_gig_documents with the SAME options and approved_plan_hash set to plan_hash. Adds hard preconditions (gig must be published, requires gig-manager access) and clarifies the dry-run is non-mutating. No inference required.

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.