Skip to main content
Glama

Preview who a gig message reaches

preview_event_recipients
Read-onlyIdempotent

Work out from a gig's roster who would be messaged and on which channel, WITHOUT sending. Returns each member (user_id, name, has_phone, has_email, broadcast_eligible — no raw contact details) and a summary (total, sms_reachable, email_reachable, broadcast_total, broadcast_blocked). broadcast_eligible is true for the members broadcast_event_reminder will message, so declined and standby members are false, and broadcast_total counts the true ones. On a DRAFT or TEMPLATE gig, or for a caller who cannot send reminders on the gig, broadcast_eligible is null on every member and broadcast_total is null; broadcast_blocked says unpublished or not_authorized. Use this before send_message / broadcast_event_reminder.

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_event_recipients"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig whose roster to resolve, an id from list_events, open_gigs or my_agenda

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
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
    • changedInput schema / properties / event_id / description
      Previous value: -"the event whose roster to resolve"New value: +"the gig whose roster to resolve, an id from list_events, open_gigs or my_agenda"
    • 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"
  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.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description still adds substantial behavior: no raw contact details are returned, declined and standby members get broadcast_eligible=false, and draft/template gigs or unauthorized callers yield null eligibility with broadcast_blocked set to unpublished or not_authorized. That null/blocked semantics is exactly the kind of thing annotations cannot convey.

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 promise (who gets messaged, without sending) followed by return shape, eligibility rules, and the null case. It is a dense single block with no wasted sentences, though the eligibility and null clauses could be split for faster scanning.

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?

An output schema exists, so the description need not restate return values, yet it still explains the non-obvious null and broadcast_blocked cases that the schema alone would not interpret. Complete for a one-parameter read tool, with only minor room for a note on what a non-null-but-empty roster looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is fully documented, including accepted id sources. The description adds the only extra meaning that matters, that the id resolves a roster rather than a message, so nothing is lost.

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: resolve a gig's roster into who would be messaged and on which channel, explicitly WITHOUT sending. That scope distinction separates it cleanly from send_message and broadcast_event_reminder.

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?

"Use this before send_message / broadcast_event_reminder" gives clear when-to-use guidance and names the alternatives it precedes. It does not state any case where this tool should be skipped, so it stops short of full when/when-not coverage.

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.