Skip to main content
Glama

Unlink customer from gig

unlink_customer_from_event
DestructiveIdempotent

Remove a customer link from a gig. The customer record stays in the org directory. Requires CRM manager access. Confirmation-gated.

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

Input Schema

NameRequiredDescriptionDefault
event_idYesgig id to unlink the customer from
customer_idYescustomer id currently linked to the gig
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

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: { status: "unlinked" } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: the linked customer entity survives the operation, the call requires CRM manager privileges, and it is confirmation-gated. It does not discuss reversibility or what happens to other links on the gig, which keeps it short of a 5.

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 short sentences, zero filler, with the effect of the operation and its scope front-loaded before the access and confirmation constraints. Every sentence contributes a distinct fact.

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 return values need no explanation, and auth plus confirmation behavior are covered. The only meaningful omission is whether the unlink is reversible or how to re-establish the link, which an agent may want to know before a destructive call.

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 description coverage is 100%, including the two-step confirmation_token flow and the organization_id fallback, so the schema carries parameter meaning fully. The description adds nothing beyond that, which is the expected baseline when the schema is this rich.

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 ("Remove a customer link from a gig") and immediately scopes the blast radius with "The customer record stays in the org directory," which separates it from delete_customer and from its inverse link_customer_to_event. An agent can pick this tool 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 Guidelines3/5

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

Prerequisites are stated (CRM manager access, confirmation gate), which is useful context for deciding whether to attempt the call. However, there is no explicit when-to-use/when-not guidance or reference to the inverse operation (link_customer_to_event) for correcting a mistake, so the routing guidance is implied rather than spelled out.

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.