Skip to main content
Glama

Mailbox

list_mailbox
Read-onlyIdempotent

List the organization's mailbox threads (invitations, crew offers, availability requests, agreements). Priority-first: open threads come before history. Requires CRM-manager access. For INVITATION threads the mailbox id is the event id — call list_event_invitations with that event_id to get invitation ids before send_reminder kind=invitation. Crew-offer and availability-request ids can be used directly. view="unread" instead returns the unread cursor: last_checked_at and how many threads are new since then (the other filters are ignored).

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

Input Schema

NameRequiredDescriptionDefault
kindNocomma-separated kinds: INVITATION, CREW_OFFER, AVAILABILITY_REQUEST, AGREEMENT (default: all four)
viewNothreads (default): the thread list; unread: last_checked_at and the new thread count
limitNorows per page, capped at 200; 50 when omitted
offsetNorows to skip before this page; omit to start at the first row
statusNoengagement status filter (OPEN, DRAFT, CLOSED, EXPIRED, PENDING, ...)
event_idNoonly mailbox items for this gig; an event id from list_events or my_agenda
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)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 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: -"limit to one event"New value: +"only mailbox items for this gig; an event id from list_events or my_agenda"
    • changedInput schema / properties / kind / description
      Previous value: -"comma-separated kinds: INVITATION, CREW_OFFER, AVAILABILITY_REQUEST"New value: +"comma-separated kinds: INVITATION, CREW_OFFER, AVAILABILITY_REQUEST, AGREEMENT (default: all four)"
    • changedInput schema / properties / limit / description
      Previous value: -"page size, max 200 (default 50)"New value: +"rows per page, capped at 200; 50 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: -"pagination offset (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
    • changedInput schema / properties / organization_id / description
      Previous value: -"defaults to your active organization"New value: +"organization to act in, an id from get_me; omit to use your active organization"
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "threads (default): the thread list; unread: last_checked_at and the new thread count",
      +  "enum": [
      +    "threads",
      +    "unread"
      +  ],
      +  "type": "string"
      +}
    • 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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered; the description adds real value on top with the priority ordering (open threads before history), the CRM-manager access requirement, and the unread-cursor behavior including that other filters are silently ignored. Return payload details are left to the output schema, which is appropriate.

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 purpose and priority ordering, then the access requirement, then the id-handling caveats and the alternate view. Dense but every sentence carries operational information; the em-dash and parenthetical phrasing makes a couple of sentences longer than strictly necessary.

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?

A 7-parameter read tool with an output schema and full annotation coverage, and the description addresses the non-obvious parts: access level, ordering, the invitation id indirection, and the unread view. It does not touch pagination interaction (limit cap, offset) or ordering within a tier, minor gaps given the schema documents those fields.

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 explaining the semantic trap that a mailbox id may be an event id for INVITATION threads and by clarifying that view="unread" changes the meaning of all other filters. The kind enumeration is echoed but the interaction between view and the remaining parameters is genuine added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the organization's mailbox threads') and enumerates the four kinds it covers, which lets an agent distinguish the mailbox aggregate from single-kind lists. It does not explicitly differentiate itself from sibling listers such as list_crew_offers or list_availability_requests, even though those overlap in content, so the boundary is implied rather than stated.

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?

Gives explicit routing: for INVITATION threads the mailbox id is the event id, so the agent must call list_event_invitations first to obtain invitation ids before send_reminder kind=invitation, while crew-offer and availability-request ids can be used directly. It also states the alternative mode (view="unread") and that the other filters are ignored in that mode, plus the CRM-manager prerequisite — leaving little 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.