Skip to main content
Glama

Gig invitations

list_event_invitations
Read-onlyIdempotent

Needs at least one of event_id or invitation_id. List invitation rows for one gig (invitation id, recipient, status, delivery). Use the event_id from a list_mailbox INVITATION thread, then pass an invitation id to send_reminder kind=invitation. Pass invitation_id instead of event_id to read one invitation (recipient, status, event, timestamps); that id is the invitation row id from a previous list, not the mailbox thread id (that id is the event).

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

Input Schema

NameRequiredDescriptionDefault
event_idNoevent id from a list_mailbox INVITATION thread; required unless invitation_id
invitation_idNoread this one invitation instead of listing (invitation row id)

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / event_id / description
      Previous value: -"event id from a list_mailbox INVITATION thread"New value: +"event id from a list_mailbox INVITATION thread; required unless invitation_id"
    • addedInput schema / properties / invitation_id
      Added value: +{
      +  "description": "read this one invitation instead of listing (invitation row id)",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "event_id"
      -]
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the genuinely non-obvious constraint that at least one of event_id or invitation_id is required — something the schema's empty required list does not convey — plus the differing shape of results per mode. It does not mention paging/limits on the listing mode, which keeps it off 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.

Conciseness3/5

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

The requirement is correctly front-loaded, but the final sentence is tangled — "that id is the invitation row id from a previous list, not the mailbox thread id (that id is the event)" — and restates id guidance already given for event_id. The send_reminder workflow pointer is useful but sits mid-paragraph and interrupts the listing/reading contrast.

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?

With an output schema present and rich annotations, the description only needs to cover invocation pitfalls, and it does: dual modes, the at-least-one-parameter rule, and the two different id semantics. Missing only practical listing details such as ordering or result limits, which is a minor gap for a read-only list tool.

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 goes further by disambiguating the id spaces: the invitation_id is the invitation row id from a previous list, not the mailbox thread id, and the thread id is actually the event id. That distinction is the main source of caller error here and is not fully captured by the schema wording.

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 description opens with a specific verb and resource: "List invitation rows for one gig", and enumerates the returned fields (invitation id, recipient, status, delivery). It also carves out a second, distinct mode ("Pass invitation_id instead of event_id to read one invitation"), so an agent can tell exactly what this tool returns in each case.

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?

Concrete routing is given in both directions: obtain event_id from a list_mailbox INVITATION thread, and hand the resulting invitation id to send_reminder kind=invitation. It also states the when-not condition explicitly (use invitation_id instead of event_id to read a single invitation), leaving nothing 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.