Skip to main content
Glama

Import gig from a link

import_event_from_url
DestructiveIdempotent

Save an event link as a gig, or attach it to a gig that already exists. Without event_id: a new link creates a DRAFT gig; a link imported before updates that same gig, overwriting its title, date, times, venue, notes, cover and run of show with the values passed, and keeps its status (title and event_date required). Confirm with the user before re-importing a link that already has a gig (existing_event_id from preview_event_from_url). With event_id: attaches the page to that existing gig (made by hand, from a template or another import) or refreshes the page it has; pass in event only the fields the user chose to overwrite (omitted fields keep their value; times without event_date land on the gig's current day), and the gig type is never changed. Passing location or location_name replaces the gig's venue link. A gig keeps one event page, and a page another gig holds is refused with existing_event_id. With event_id and remove_page: true, removes the gig's event page link and keeps everything it filled in. Pass the event fields from preview_event_from_url, edited as the user asked, and only the preview sections the user kept: run_of_show is written to the gig run of show, venue is linked, organizer becomes a show contact, requirements become tasks, links become gig links (with the event page), image_url becomes the gig cover, capacity fills an empty guest count, suggested_gig_type sets the type of a new gig. Confirmation-gated only when event_id is set and event changes the date, times or venue, because the gig's invited crew get a schedule-change notification. Every other call applies on the first call, including a re-import that overwrites the gig the link made, so get the user's approval before it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "import_event_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNothe same event link passed to preview_event_from_url; not needed with remove_page
eventNoevent fields, usually the preview event object; with event_id only the ones to overwrite
linksNoadded to the gig notes under Links
venueNolinks an existing venue with the same name or creates one; online events link none
capacityNosaved as the guest count when the gig has none
event_idNoan existing gig to attach the page to; omit to create or update by link
image_urlNopage image from the preview; stored as the gig cover unless someone set one by hand
organizerNosaved as an Organizer show contact; links the matching client
doors_timeNodoor time, 24-hour HH:MM; added as the first run of show item
remove_pageNowith event_id: remove the gig's event page link instead of saving one
run_of_showNoagenda items from the preview; replaces the items an earlier import of this link wrote
requirementsNowhat to bring; saved as gig tasks
ticket_priceNoadded to the gig notes
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoonly when event_id is set and event changes event_date, end_date, start_time, end_time, location or location_name: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token
suggested_gig_typeNoone of the workspace gig types from the preview

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: a new gig from a link: { event_id, created, source_url, applied { run_of_show_items, run_of_show_target, run_of_show_skipped, venue_id, venue_created, client_id, organizer_contact, tasks_created, and 8 more fields } }; a link attached to an existing gig: { event_id, source_url, applied { run_of_show_items, run_of_show_target, run_of_show_skipped, venue_id, venue_created, client_id, organizer_contact, tasks_created, and 8 more fields } }; remove_page: { event_id, removed } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag destructiveHint and idempotentHint, but the description goes far beyond them: it discloses that a re-import overwrites title, date, times, venue, notes, cover and run of show while keeping status; that a gig holds only one event page and another gig's page is refused with existing_event_id; and that remove_page keeps filled-in data. It also explains the confirmation_token round-trip and the crew schedule-change notification that triggers it.

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?

It is front-loaded with the mode split and every sentence carries operational weight, which is impressive given 16 parameters and destructive behavior. It is, however, one dense paragraph with long compound clauses; light structuring (per-mode grouping) would make the branching easier to scan without losing content.

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 16-parameter, nested-object, destructive import tool with an output schema, the description covers mode selection, overwrite semantics, field-to-entity mapping, conflict handling, the confirmation flow, and who gets notified. Nothing an agent needs to call it safely 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 100%, so the baseline is 3, but the description adds genuine side-effect semantics the schema does not carry: run_of_show maps to the gig run of show, venue is linked, organizer becomes a show contact, requirements become tasks, links become gig links, image_url becomes the cover, and capacity only fills an empty guest count. It also clarifies the overwrite-vs-keep rule for event fields under event_id and the times-without-event_date behavior.

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?

The opening sentence states a specific verb and resource and immediately splits the tool into its two distinct modes ('Save an event link as a gig, or attach it to a gig that already exists'). The subsequent clauses distinguish create vs. update-by-link vs. attach-by-event_id, which an agent could not infer from the name alone.

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?

It gives explicit branching rules per mode ('Without event_id...' / 'With event_id...'), names the alternative (preview_event_from_url) that supplies existing_event_id, and states the exclusion for re-import ('Confirm with the user before re-importing a link that already has a gig'). It also spells out exactly when confirmation gating applies versus when the call applies immediately.

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.