Skip to main content
Glama

Link customer to gig

link_customer_to_event
Idempotent

Link a saved customer (client) to a gig so they appear as the event client in Soundcheck and the client portal. Requires CRM manager access. Runs on the first call; there is no confirmation step.

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": {
      "customer_id": "<customer_id>",
      "event_id": "<event_id>"
    },
    "name": "link_customer_to_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesgig id to link the customer to
customer_idYescustomer id from list_customers or save_customer
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { address, contact_count, email, event_ids, external_identities [{ external_id, external_url, provider, provider_object }], id, linked_events_count, name, next_event { event_date, event_status, id, location, location_name, title, venue_id, venue_name }, notes, phone, primary_contact { email, id, is_primary, name, phone, portal_access, title }, recent_events [{ event_date, event_status, id, location, location_name, title, venue_id, venue_name }], source_summary [{ count, provider, provider_object }], status, venues [{ address, id, name, notes, status }], website } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: the CRM manager permission gate, the fact that no confirmation step exists so the first call commits, and the downstream visibility in Soundcheck and the portal. It does not note what happens if the customer is already linked, though idempotentHint partially covers that.

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?

Two sentences, front-loaded with the action and effect, followed by the operational constraints. Nothing is redundant and nothing needed is buried at the end.

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 three-parameter mutation with a full output schema and rich annotations, the description covers the parts structured fields cannot: permission requirement, absence of confirmation, and where the result surfaces. An agent has everything needed to decide and to call it safely.

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%, with each parameter documented including the organization_id fallback to the active organization, so the baseline is 3. The description only glosses 'saved customer (client)' and adds no format, sourcing, or scoping detail beyond what the schema already states.

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 (link) and both resources (saved customer and gig), then describes the observable effect: the customer appears as the event client in Soundcheck and the client portal. That effect framing is enough to distinguish it from the inverse sibling unlink_customer_from_event without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies a prerequisite ('Requires CRM manager access') and warns that the write happens immediately, but it never says when to choose this over adjacent operations such as invite_customer_contact_to_portal or save_event_link. Usage is implied by the resource pair rather than stated.

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.