Skip to main content
Glama

Respond to a gig invitation

respond_to_invitation
DestructiveIdempotent

Accept or decline a gig invitation sent to the signed-in user: the user's own answer, so call it only when they have said which. Who is told: the person who set up the gig is notified of the answer, and accepting can send out a form or agreement request the organization set to go out when crew accept. Idempotent: answering the same way twice is a no-op. A decline on a completed and settled gig is refused (409 GIG_ROSTER_LOCKED); someone who manages the gig must reopen_event first. 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": {
      "invitation_id": "<invitation_id>",
      "response": "<response>"
    },
    "name": "respond_to_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
responseYesthe user's own answer to the invitation
invitation_idYesthe invitation id, from my_pending_actions or list_event_invitations

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { converted_to_offer_id, call_order, currency, email, event { end_time, event_date, event_type, id, location, location_name, organization, schedule_items, and 2 more fields }, event_id, event_member_status, fee_notes, first_name, id, last_name, org_position_id, payment_terms, performance_fee, phone_number, position { id, is_custom, name, section }, responded_at, status, and 2 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses who gets notified, that accepting can trigger an organization-configured form or agreement request, that repeats are a no-op, and a concrete failure mode (409 GIG_ROSTER_LOCKED on a settled gig) with remediation. It also warns there is no confirmation step, which matters for a destructiveHint=true tool.

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 action, then side effects, idempotency, and the error case, with essentially no filler. The 'Who is told' sentence is clause-heavy and could be split, but nothing is redundant.

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 two-parameter mutation with an output schema, this covers everything the agent needs: preconditions, side effects, idempotency, failure handling, and absence of a confirm step. Return values are correctly left to the output schema.

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 schema already documents both the enum response and where invitation_id comes from, so the description largely echoes it ('the user's own answer'). It adds no format or edge-case detail about the parameters themselves; baseline 3 applies.

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 pair ('accept or decline') and a specific resource ('a gig invitation sent to the signed-in user'), which cleanly separates it from respond_to_availability_request and respond_to_crew_offer. The scoping phrase 'the user's own answer' further pins down whose invitation is being answered.

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?

Explicitly sets the precondition for calling: 'call it only when they have said which,' which prevents the agent from guessing on the user's behalf. It also names an alternative path for the blocked case — a gig manager 'must reopen_event first' — giving both a when-to-use and a when-blocked route.

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.