Skip to main content
Glama
Sendmux Email Inbox API + Sending

Sendmux Email Inbox API + Sending

Official
by qubrics

List Messages

mailbox_list_messages
Read-onlyIdempotent

Lists mailbox messages using cursor pagination without full bodies, with filters for folder, sender/recipient, dates, keywords, unread state, text query, and attachments.

Instructions

Use this to scan mailbox messages by cursor without fetching full bodies. Filter by folder_id, keyword/not_keyword, dates, sender/recipient, text query, unread state, or has_attachment; attachment metadata includes a short-lived download_url.

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

Input Schema

NameRequiredDescriptionDefault
qNoFull-text search query across message fields.
ccNoFilter by CC recipient email address or display name.
toNoFilter by To recipient email address or display name.
bccNoFilter by BCC recipient email address or display name.
bodyNoFilter by message body text.
fromNoFilter by sender email address or display name.
afterNoFilter to messages after this ISO 8601 timestamp.
limitNoMaximum results (default 50, max 100).
beforeNoFilter to messages before this ISO 8601 timestamp.
cursorNoPagination cursor — the `next_cursor` from the previous response.
keywordNoRequire this message keyword, such as `$seen`.
sort_byNoMessage field to sort by.
subjectNoFilter by subject text.
folder_idNoFilter to messages in this folder ID.
is_unreadNoWhen true, only return unread messages.
thread_idNoFilter to messages in this thread ID.
mailbox_idNoMailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.
header_nameNoHeader name to match with `header_value`.
not_keywordNoExclude messages with this keyword.
header_valueNoHeader value to match with `header_name`.
has_attachmentNoWhen true, only return messages with attachments.
max_size_bytesNoMaximum message size in bytes.
min_size_bytesNoMinimum message size in bytes.
sort_directionNoSort direction.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.17
    • changedOutput schema / properties / result / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "meta": {
      -        "additionalProperties": {},
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "ok": {
      -        "enum": [
      -          true
      -        ],
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "meta"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "data": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "attachments": {
      -              "description": "Attachment metadata for this message. Each item includes a short-lived `download_url`; if it expires, fetch message metadata again.",
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "content_id": {
      -                    "description": "Content ID for inline attachments, when present.",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "content_type": {
      -                    "example": "application/pdf",
      -                    "type": "string"
      -                  },
      -                  "disposition": {
      -                    "example": "attachment",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "download_url": {
      -                    "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      -                    "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      -                    "type": "string"
      -                  },
      -                  "filename": {
      -                    "example": "invoice.pdf",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "id": {
      -                    "description": "Attachment blob ID.",
      -                    "type": "string"
      -                  },
      -                  "size_bytes": {
      -                    "example": 12345,
      -                    "type": [
      -                      "integer",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "filename",
      -                  "content_type",
      -                  "size_bytes",
      -                  "disposition",
      -                  "content_id"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "bcc": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email": {
      -                    "example": "agent@example.com",
      -                    "format": "email",
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "example": "Support",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "email",
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "cc": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email": {
      -                    "example": "agent@example.com",
      -                    "format": "email",
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "example": "Support",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "email",
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "flags": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "answered": {
      -                  "type": "boolean"
      -                },
      -                "draft": {
      -                  "type": "boolean"
      -                },
      -                "flagged": {
      -                  "type": "boolean"
      -                },
      -                "seen": {
      -                  "type": "boolean"
      -                }
      -              },
      -              "required": [
      -                "seen",
      -                "flagged",
      -                "draft",
      -                "answered"
      -              ],
      -              "type": "object"
      -            },
      -            "folder_ids": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "from": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "email": {
      -                      "example": "agent@example.com",
      -                      "format": "email",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "example": "Support",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "email",
      -                    "name"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "has_attachments": {
      -              "type": "boolean"
      -            },
      -            "id": {
      -              "description": "Message ID",
      -              "type": "string"
      -            },
      -            "keywords": {
      -              "description": "Active message keywords, including system flags and custom labels.",
      -              "example": [
      -                "$seen",
      -                "$flagged",
      -                "agent_triaged"
      -              ],
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "preview": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "received_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sent_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "size_bytes": {
      -              "type": [
      -                "integer",
      -                "null"
      -              ]
      -            },
      -            "subject": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "thread_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "to": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email": {
      -                    "example": "agent@example.com",
      -                    "format": "email",
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "example": "Support",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "email",
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "thread_id",
      -            "folder_ids",
      -            "subject",
      -            "preview",
      -            "from",
      -            "to",
      -            "cc",
      -            "bcc",
      -            "received_at",
      -            "sent_at",
      -            "size_bytes",
      -            "has_attachments",
      -            "keywords",
      -            "flags"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "request_id": {
      -            "type": "string"
      -          },
      -          "sync_state": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "request_id"
      -        ],
      -        "type": "object"
      -      },
      -      "pagination": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "next_cursor": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "has_more"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "data",
      -      "pagination"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "meta": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "ok": {
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "meta"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "attachments": {
      +              "description": "Attachment metadata for this message. Each item includes a short-lived `download_url`; if it expires, fetch message metadata again.",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "content_id": {
      +                    "description": "Content ID for inline attachments, when present.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "content_type": {
      +                    "example": "application/pdf",
      +                    "type": "string"
      +                  },
      +                  "disposition": {
      +                    "example": "attachment",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "download_url": {
      +                    "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      +                    "example": "https://app.qubrics.com/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      +                    "type": "string"
      +                  },
      +                  "filename": {
      +                    "example": "invoice.pdf",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "id": {
      +                    "description": "Attachment blob ID.",
      +                    "type": "string"
      +                  },
      +                  "size_bytes": {
      +                    "example": 12345,
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "filename",
      +                  "content_type",
      +                  "size_bytes",
      +                  "disposition",
      +                  "content_id"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "bcc": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "email": {
      +                    "example": "agent@example.com",
      +                    "format": "email",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "example": "Support",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "email",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "cc": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "email": {
      +                    "example": "agent@example.com",
      +                    "format": "email",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "example": "Support",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "email",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "flags": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "answered": {
      +                  "type": "boolean"
      +                },
      +                "draft": {
      +                  "type": "boolean"
      +                },
      +                "flagged": {
      +                  "type": "boolean"
      +                },
      +                "seen": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "seen",
      +                "flagged",
      +                "draft",
      +                "answered"
      +              ],
      +              "type": "object"
      +            },
      +            "folder_ids": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "from": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "has_attachments": {
      +              "type": "boolean"
      +            },
      +            "id": {
      +              "description": "Message ID",
      +              "type": "string"
      +            },
      +            "keywords": {
      +              "description": "Active message keywords, including system flags and custom labels.",
      +              "example": [
      +                "$seen",
      +                "$flagged",
      +                "agent_triaged"
      +              ],
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "preview": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "received_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "sent_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "size_bytes": {
      +              "type": [
      +                "integer",
      +                "null"
      +              ]
      +            },
      +            "subject": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "thread_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "to": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "email": {
      +                    "example": "agent@example.com",
      +                    "format": "email",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "example": "Support",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "email",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "thread_id",
      +            "folder_ids",
      +            "subject",
      +            "preview",
      +            "from",
      +            "to",
      +            "cc",
      +            "bcc",
      +            "received_at",
      +            "sent_at",
      +            "size_bytes",
      +            "has_attachments",
      +            "keywords",
      +            "flags"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "request_id": {
      +            "type": "string"
      +          },
      +          "sync_state": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "request_id"
      +        ],
      +        "type": "object"
      +      },
      +      "pagination": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "next_cursor": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "has_more"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "data",
      +      "pagination"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv1.0.14
    • changedOutput schema / properties / result / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "meta": {
      -        "additionalProperties": {},
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "ok": {
      -        "enum": [
      -          true
      -        ],
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "meta"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "data": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "attachments": {
      -              "description": "Attachment metadata for this message. Each item includes a short-lived `download_url`; if it expires, fetch message metadata again.",
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "content_id": {
      -                    "description": "Content ID for inline attachments, when present.",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "content_type": {
      -                    "example": "application/pdf",
      -                    "type": "string"
      -                  },
      -                  "disposition": {
      -                    "example": "attachment",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "download_url": {
      -                    "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      -                    "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      -                    "type": "string"
      -                  },
      -                  "filename": {
      -                    "example": "invoice.pdf",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "id": {
      -                    "description": "Attachment blob ID.",
      -                    "type": "string"
      -                  },
      -                  "size_bytes": {
      -                    "example": 12345,
      -                    "type": [
      -                      "integer",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "filename",
      -                  "content_type",
      -                  "size_bytes",
      -                  "disposition",
      -                  "content_id"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "bcc": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email": {
      -                    "example": "agent@example.com",
      -                    "format": "email",
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "example": "Support",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "email",
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "cc": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email": {
      -                    "example": "agent@example.com",
      -                    "format": "email",
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "example": "Support",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "email",
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "flags": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "answered": {
      -                  "type": "boolean"
      -                },
      -                "draft": {
      -                  "type": "boolean"
      -                },
      -                "flagged": {
      -                  "type": "boolean"
      -                },
      -                "seen": {
      -                  "type": "boolean"
      -                }
      -              },
      -              "required": [
      -                "seen",
      -                "flagged",
      -                "draft",
      -                "answered"
      -              ],
      -              "type": "object"
      -            },
      -            "folder_ids": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "from": {
      -              "allOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "email": {
      -                      "example": "agent@example.com",
      -                      "format": "email",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "example": "Support",
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "email",
      -                    "name"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": [
      -                    "object",
      -                    "null"
      -                  ]
      -                }
      -              ]
      -            },
      -            "has_attachments": {
      -              "type": "boolean"
      -            },
      -            "id": {
      -              "description": "Message ID",
      -              "type": "string"
      -            },
      -            "keywords": {
      -              "description": "Active message keywords, including system flags and custom labels.",
      -              "example": [
      -                "$seen",
      -                "$flagged",
      -                "agent_triaged"
      -              ],
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "preview": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "received_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sent_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "size_bytes": {
      -              "type": [
      -                "integer",
      -                "null"
      -              ]
      -            },
      -            "subject": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "thread_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "to": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "email": {
      -                    "example": "agent@example.com",
      -                    "format": "email",
      -                    "type": "string"
      -                  },
      -                  "name": {
      -                    "example": "Support",
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "email",
      -                  "name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "thread_id",
      -            "folder_ids",
      -            "subject",
      -            "preview",
      -            "from",
      -            "to",
      -            "cc",
      -            "bcc",
      -            "received_at",
      -            "sent_at",
      -            "size_bytes",
      -            "has_attachments",
      -            "keywords",
      -            "flags"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "request_id": {
      -            "type": "string"
      -          },
      -          "sync_state": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "request_id"
      -        ],
      -        "type": "object"
      -      },
      -      "pagination": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "next_cursor": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "has_more"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "data",
      -      "pagination"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "meta": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "ok": {
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "meta"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "data": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "attachments": {
      +              "description": "Attachment metadata for this message. Each item includes a short-lived `download_url`; if it expires, fetch message metadata again.",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "content_id": {
      +                    "description": "Content ID for inline attachments, when present.",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "content_type": {
      +                    "example": "application/pdf",
      +                    "type": "string"
      +                  },
      +                  "disposition": {
      +                    "example": "attachment",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "download_url": {
      +                    "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      +                    "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      +                    "type": "string"
      +                  },
      +                  "filename": {
      +                    "example": "invoice.pdf",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "id": {
      +                    "description": "Attachment blob ID.",
      +                    "type": "string"
      +                  },
      +                  "size_bytes": {
      +                    "example": 12345,
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "filename",
      +                  "content_type",
      +                  "size_bytes",
      +                  "disposition",
      +                  "content_id"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "bcc": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "email": {
      +                    "example": "agent@example.com",
      +                    "format": "email",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "example": "Support",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "email",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "cc": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "email": {
      +                    "example": "agent@example.com",
      +                    "format": "email",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "example": "Support",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "email",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "flags": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "answered": {
      +                  "type": "boolean"
      +                },
      +                "draft": {
      +                  "type": "boolean"
      +                },
      +                "flagged": {
      +                  "type": "boolean"
      +                },
      +                "seen": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "seen",
      +                "flagged",
      +                "draft",
      +                "answered"
      +              ],
      +              "type": "object"
      +            },
      +            "folder_ids": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "from": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "email": {
      +                      "example": "agent@example.com",
      +                      "format": "email",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "example": "Support",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "email",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "has_attachments": {
      +              "type": "boolean"
      +            },
      +            "id": {
      +              "description": "Message ID",
      +              "type": "string"
      +            },
      +            "keywords": {
      +              "description": "Active message keywords, including system flags and custom labels.",
      +              "example": [
      +                "$seen",
      +                "$flagged",
      +                "agent_triaged"
      +              ],
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "preview": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "received_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "sent_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "size_bytes": {
      +              "type": [
      +                "integer",
      +                "null"
      +              ]
      +            },
      +            "subject": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "thread_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "to": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "email": {
      +                    "example": "agent@example.com",
      +                    "format": "email",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "example": "Support",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "email",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "thread_id",
      +            "folder_ids",
      +            "subject",
      +            "preview",
      +            "from",
      +            "to",
      +            "cc",
      +            "bcc",
      +            "received_at",
      +            "sent_at",
      +            "size_bytes",
      +            "has_attachments",
      +            "keywords",
      +            "flags"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "request_id": {
      +            "type": "string"
      +          },
      +          "sync_state": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "request_id"
      +        ],
      +        "type": "object"
      +      },
      +      "pagination": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "next_cursor": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "has_more"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "data",
      +      "pagination"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed4 schema fields changedv1.0.8
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / properties
      Added value: +{
      +  "result": {
      +    "allOf": [
      +      {
      +        "properties": {
      +          "meta": {
      +            "additionalProperties": {},
      +            "properties": {},
      +            "type": "object"
      +          },
      +          "ok": {
      +            "enum": [
      +              true
      +            ],
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "meta"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "data": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "attachments": {
      +                  "description": "Attachment metadata for this message. Each item includes a short-lived `download_url`; if it expires, fetch message metadata again.",
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "content_id": {
      +                        "description": "Content ID for inline attachments, when present.",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "content_type": {
      +                        "example": "application/pdf",
      +                        "type": "string"
      +                      },
      +                      "disposition": {
      +                        "example": "attachment",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "download_url": {
      +                        "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
      +                        "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
      +                        "type": "string"
      +                      },
      +                      "filename": {
      +                        "example": "invoice.pdf",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "id": {
      +                        "description": "Attachment blob ID.",
      +                        "type": "string"
      +                      },
      +                      "size_bytes": {
      +                        "example": 12345,
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "filename",
      +                      "content_type",
      +                      "size_bytes",
      +                      "disposition",
      +                      "content_id"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "bcc": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "email": {
      +                        "example": "agent@example.com",
      +                        "format": "email",
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "example": "Support",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "email",
      +                      "name"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "cc": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "email": {
      +                        "example": "agent@example.com",
      +                        "format": "email",
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "example": "Support",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "email",
      +                      "name"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "flags": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "answered": {
      +                      "type": "boolean"
      +                    },
      +                    "draft": {
      +                      "type": "boolean"
      +                    },
      +                    "flagged": {
      +                      "type": "boolean"
      +                    },
      +                    "seen": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "seen",
      +                    "flagged",
      +                    "draft",
      +                    "answered"
      +                  ],
      +                  "type": "object"
      +                },
      +                "folder_ids": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "from": {
      +                  "allOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "email": {
      +                          "example": "agent@example.com",
      +                          "format": "email",
      +                          "type": "string"
      +                        },
      +                        "name": {
      +                          "example": "Support",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "email",
      +                        "name"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": [
      +                        "object",
      +                        "null"
      +                      ]
      +                    }
      +                  ]
      +                },
      +                "has_attachments": {
      +                  "type": "boolean"
      +                },
      +                "id": {
      +                  "description": "Message ID",
      +                  "type": "string"
      +                },
      +                "keywords": {
      +                  "description": "Active message keywords, including system flags and custom labels.",
      +                  "example": [
      +                    "$seen",
      +                    "$flagged",
      +                    "agent_triaged"
      +                  ],
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "preview": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "received_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sent_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "size_bytes": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "subject": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "thread_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "to": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "email": {
      +                        "example": "agent@example.com",
      +                        "format": "email",
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "example": "Support",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "email",
      +                      "name"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "thread_id",
      +                "folder_ids",
      +                "subject",
      +                "preview",
      +                "from",
      +                "to",
      +                "cc",
      +                "bcc",
      +                "received_at",
      +                "sent_at",
      +                "size_bytes",
      +                "has_attachments",
      +                "keywords",
      +                "flags"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "meta": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "request_id": {
      +                "type": "string"
      +              },
      +              "sync_state": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "request_id"
      +            ],
      +            "type": "object"
      +          },
      +          "pagination": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "has_more": {
      +                "type": "boolean"
      +              },
      +              "next_cursor": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "has_more"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "data",
      +          "pagination"
      +        ],
      +        "type": "object"
      +      }
      +    ],
      +    "unevaluatedProperties": {
      +      "not": {}
      +    },
      +    "x-fastmcp-top-level-schema": "MailboxMessageSummaryCursorListResponse"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "result"
      +]
  4. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description earns credit for what it adds: cursor-based pagination and, notably, that attachment metadata carries a short-lived download_url — an operational constraint an agent could not learn from the schema. It stops short of describing result shape or default ordering, but the output schema covers returns.

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?

Two sentences, front-loaded with the core behavior and followed by a compact filter inventory. The filter enumeration partly restates what 24 well-described parameters already say, but it is short enough to earn its place as a quick orientation.

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?

For a 24-parameter, all-optional filtered-list tool with an output schema, the description covers the essential model: metadata-only scanning, cursor pagination, filterable dimensions, and the short-lived attachment URL caveat. Missing only marginal items such as default ordering or the interaction between cursor and changing filters.

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% across all 24 parameters, so each filter is already fully documented. The description groups the filters into categories (dates, sender/recipient, keyword, unread, attachment) but introduces no syntax, precedence, or combination rules beyond the schema, so the baseline 3 applies.

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?

"Scan mailbox messages by cursor without fetching full bodies" states a specific verb, resource, and a distinguishing scope (metadata-only, not full bodies). That implicitly separates it from mailbox_get_message / mailbox_list_body. It does not name any of its many close siblings (list_thread_messages, search_message_snippets, count_messages), so differentiation is inferred rather than explicit.

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?

"Use this to scan..." gives an implied context and the no-full-bodies framing hints that a body-fetching tool is the follow-up. But there is no explicit when-to-use vs. when-not, and with 8+ overlapping list/search siblings an agent still has to guess whether this or list_thread_messages, list_content, or search_message_snippets is correct.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools