Skip to main content
Glama

EventPass

Publish event

publish_event
Idempotent

Publish a DRAFT event so buyers can see it and buy tickets. Only drafts can be published — closed or archived events must be reopened from the dashboard. Call once to preview (confirm defaults to false): the preview shows the date, ticket types with prices, and whether the plan allows another published event. Show the preview to the user, then call again with confirm=true to publish.

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

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing.
event_idYesEvent ID from list_my_events
idempotency_keyNoA unique key for this write (e.g. a UUID). Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again.
organization_idNoOrganization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one.

Output Schema

NameRequiredDescriptionDefault
eventNo
previewYes
summaryNo
replayedNo
plan_gateNo
confirm_requiredNo
already_publishedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare non-readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuine value beyond that: the no-op preview semantics of confirm=false, the plan-limit check surfaced in the preview, and the fact that publishing makes the event visible to buyers. It does not mention the idempotency retry contract, but the schema does.

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

Conciseness5/5

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

Four tight sentences, front-loaded with what the tool does and the draft-only constraint, followed by the workflow. No filler, no redundancy, and the sequencing (preview before confirm) is stated in the order an agent would execute it.

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 state-mutating publish tool with four parameters, the definition covers applicability, prerequisites, the approval workflow, and plan-limit risk. An output schema exists, so return values need no explanation, and the description even characterizes what the preview contains.

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% and the confirm parameter's schema text already spells out the default-false preview behavior, so the description largely restates structured data. It does add framing by placing confirm inside the two-step user-approval workflow, but says nothing about event_id, organization_id, or idempotency_key beyond what the schema documents. Baseline 3 is appropriate.

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 (publish a DRAFT event) plus the business outcome (buyers can see it and buy tickets). The 'DRAFT-only' qualifier plus the note that closed/archived events must be reopened in the dashboard clearly separates this from create_event and delete_draft_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?

Explicit about when it applies (drafts only), when it does not (closed or archived events, with the required alternative path), and prescribes the exact two-call workflow: preview with confirm=false, show the user, then confirm=true. Nothing is left to inference.

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.

Resources