Skip to main content
Glama

Find gigs

list_events
Read-onlyIdempotent

Find gigs the signed-in user can see, in one organization or across all of them. Filter by organization, person, or status. Paginated with limit (max 100) and offset. Rows run newest event date first and include past gigs; for upcoming or next gigs pass upcoming=true (today and ongoing gigs in their own timezone, nearest first) or use my_agenda, and pass from/to (YYYY-MM-DD) for a date range. Each row is a nested envelope {event, assignments, members, invitations}: the gig's id, title, date and event_status live on row.event, not on the row itself — match a gig by row.event.title. Rows leave out each gig's timeline and give row.event.schedule_item_count when the gig has one: read it with get_event_schedule, or pass include_schedule=true. event_status is an exact match: an unarchived gig is UNARCHIVED, not ACTIVE, so omit the filter (or pass UNARCHIVED) to find one. event_status="TEMPLATE" lists the organization's gig templates — the ones create_event_plan and suggest_plan_templates plan from. The onboarding sample gig (row.event.is_sample=true) is left out unless include_sample is true. event_status="DELETED" instead lists gigs deleted in the last 30 days that restore_event can bring back: flat rows with deleted_by and deletion_scheduled_for, gig managers only, organization_id defaults to your active org, no pagination.

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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoinclusive end day
fromNoinclusive start day
limitNorows per page, capped at 100; 20 when omitted
offsetNorows to skip before this page; omit to start at the first row
user_idNofilter to events the given user is a member of
upcomingNotrue: only today, ongoing and later gigs, nearest first
event_statusNoexact match: ACTIVE | UNARCHIVED | DRAFT | COMPLETED | SETTLED | CANCELLED | ARCHIVED | TEMPLATE | DELETED
include_sampleNoinclude the onboarding sample gig (is_sample=true); default false
organization_idNofilter to events in this organization
include_scheduleNotrue: keep each gig's full timeline (schedule_items) in its row; default leaves it out and gives schedule_item_count

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. Changed15 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_status / description
      Previous value: -"ACTIVE | ARCHIVED | TEMPLATE | DRAFT"New value: +"exact match: ACTIVE | UNARCHIVED | DRAFT | COMPLETED | SETTLED | CANCELLED | ARCHIVED | TEMPLATE | DELETED"
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "inclusive start day",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / include_sample
      Added value: +{
      +  "description": "include the onboarding sample gig (is_sample=true); default false",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_schedule
      Added value: +{
      +  "description": "true: keep each gig's full timeline (schedule_items) in its row; default leaves it out and gives schedule_item_count",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"max 100, default 20"New value: +"rows per page, capped at 100; 20 when omitted"
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / limit / minimum
      Added value: +-9007199254740991
    • changedInput schema / properties / offset / description
      Previous value: -"default 0"New value: +"rows to skip before this page; omit to start at the first row"
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / offset / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "inclusive end day",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / upcoming
      Added value: +{
      +  "description": "true: only today, ongoing and later gigs, nearest first",
      +  "type": "boolean"
      +}
    • 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.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior on top: default sort order (newest event date first, past gigs included), implicit exclusions (sample gig hidden unless include_sample, timeline omitted in favor of schedule_item_count), and hard limits ('capped at 100'). It also discloses privilege and mode differences for DELETED — gig managers only, organization_id defaults to active org, no pagination, last 30 days — which an agent could not infer from the schema.

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?

Purpose, filters and pagination are front-loaded, and nearly every clause carries operational information rather than filler. It is dense to the point of being hard to scan — long compound sentences joined by em dashes and parentheticals, with the DELETED mode packed into one run-on tail — but nothing is genuinely 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 10-parameter list tool with three distinct modes (normal, TEMPLATE, DELETED), the description covers sorting, defaults, exclusions, permissions, and row shape. The row-envelope explanation ({event, assignments, members, invitations} with fields on row.event) is the critical hint that prevents an agent from misreading rows, and it is included.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline would be 3, but the description adds real meaning beyond the parameter list: the exact-match semantics of event_status (UNARCHIVED not ACTIVE, what TEMPLATE and DELETED actually return), the fact that upcoming uses the gig's own timezone and orders nearest-first, and that from/to accept a YYYY-MM-DD range. These are behavioral semantics the schema's enum string cannot convey.

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 with scope: 'Find gigs the signed-in user can see, in one organization or across all of them.' It names the sibling tools it overlaps with (my_agenda, get_event_schedule, restore_event, create_event_plan) and the conditions that select them, so an agent can distinguish this tool from its neighbors without opening either schema.

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?

Explicit routing is given for each alternative: pass upcoming=true or use my_agenda for upcoming gigs, use get_event_schedule or include_schedule=true for timelines, event_status="TEMPLATE" for templates that create_event_plan/suggest_plan_templates consume, and event_status="DELETED" for gigs restore_event can recover. The one non-obvious exclusion ('omit the filter or pass UNARCHIVED to find an unarchived gig') is called out directly.

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.