Skip to main content
Glama

List inbound emails

listEmails
Read-onlyIdempotent

Page through inbound email newest first, or tail new mail with since and wait. Filters by domain, status, date and sender, recipient or subject words; for body text, attachments or replies to a send, use searchEmails. Rows carry id, thread_id, received_at, from, to, subject, status and snippet; open one with getEmail. Result: emails, cursor for the next page (null at the end), and total, total_capped and total_unavailable when set.

Input Schema

NameRequiredDescriptionDefault
fullNoReturn the stored record, with envelope addresses, message id and spam score, instead of the compact view for reading.
waitNoLong-poll: how many seconds to hold the call open for new mail, so a since poll returns the moment mail arrives.
limitNoHow many emails this call returns; follow cursor for more.
sinceNoTail cursor: start (from the first email), or the cursor of the page before. Returns emails NEWER than it, oldest first, to poll new mail without gaps. Not a date; not with cursor.
cursorNoHistory cursor: the cursor of the page before. Returns emails OLDER than it, newest first. Not a date (use date_from or date_to); not with since.
searchNoSender, recipient or subject words to match. To match message text, use searchEmails.
statusNoProcessing stage: pending or accepted while in progress, completed when done, rejected if a filter or check refused it.
api_keyNoAPI key from createEmailAddress, used in place of sign-in.
date_toNoOnly rows whose created_at is at or before this; a bare date covers that whole day (UTC).
date_fromNoOnly rows whose created_at is at or after this date or time (UTC unless it has an offset).
domain_idNoOne of your receiving domains, by the id getInboxStatus returns.

Output Schema

NameRequiredDescriptionDefault
totalNoMatches, when counted; absent when the count was skipped or ran out of time.
cursorYesPass as cursor for the next page; null at the end.
emailsYesThe emails, newest first; oldest first when polling with since.
total_cappedNoTrue when total stopped at its cap and is a lower bound.
total_unavailableNoSet, true, when the count did not fit its time budget, so total is absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / emails / items / properties / awaiting / enum
      Added value: +[
      +  "you",
      +  "them"
      +]
  2. Changed1 schema field changed
    • removedOutput schema / properties / emails / items / properties / awaiting / enum
      Removed value: -[
      -  "you",
      -  "them"
      -]
  3. Changed1 schema field changed
    • addedOutput schema / properties / emails / items / properties / awaiting / enum
      Added value: +[
      +  "you",
      +  "them"
      +]
  4. Changed15 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"History cursor: the meta.cursor of the page before. Returns emails OLDER than it, newest first. Not a date (use date_from or date_to); not with since."New value: +"History cursor: the cursor of the page before. Returns emails OLDER than it, newest first. Not a date (use date_from or date_to); not with since."
    • changedInput schema / properties / full / description
      Previous value: -"Return the stored record, with delivery, webhook and classification state, instead of the compact view for reading."New value: +"Return the stored record, with envelope addresses, message id and spam score, instead of the compact view for reading."
    • changedInput schema / properties / limit / description
      Previous value: -"How many emails this call returns; follow meta.cursor for more."New value: +"How many emails this call returns; follow cursor for more."
    • changedInput schema / properties / since / description
      Previous value: -"Tail cursor: start (from the first email), or a meta.cursor. Returns emails NEWER than it, oldest first, to poll new mail without gaps. Not a date; not with cursor."New value: +"Tail cursor: start (from the first email), or the cursor of the page before. Returns emails NEWER than it, oldest first, to poll new mail without gaps. Not a date; not with cursor."
    • addedOutput schema / additionalProperties
      Added value: +false
    • changedOutput schema / description
      Previous value: -"Envelope; the result is in data.data."New value: +"A page of inbound emails, and the cursor for the next."
    • addedOutput schema / properties / cursor
      Added value: +{
      +  "description": "Pass as cursor for the next page; null at the end.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / data
      Removed value: -{
      -  "description": "API response: the result in data, or error.",
      -  "properties": {
      -    "data": {
      -      "description": "A page of inbound emails.",
      -      "items": {
      -        "description": "One email; full adds stored fields.",
      -        "properties": {
      -          "attachment_count": {
      -            "description": "Attachments; left out when none.",
      -            "type": [
      -              "number",
      -              "string"
      -            ]
      -          },
      -          "automated": {
      -            "description": "Sent by a machine.",
      -            "type": "boolean"
      -          },
      -          "awaiting": {
      -            "description": "Whose turn: you or them.",
      -            "type": "string"
      -          },
      -          "created_at": {
      -            "description": "Stored time.",
      -            "type": "string"
      -          },
      -          "from": {
      -            "description": "From header.",
      -            "type": "string"
      -          },
      -          "from_email": {
      -            "description": "Sender address.",
      -            "type": "string"
      -          },
      -          "id": {
      -            "description": "Email id, for getEmail.",
      -            "type": "string"
      -          },
      -          "received_at": {
      -            "description": "Arrival time.",
      -            "type": "string"
      -          },
      -          "recipient": {
      -            "description": "Envelope recipient.",
      -            "type": "string"
      -          },
      -          "reply_count": {
      -            "description": "Replies you sent to it.",
      -            "type": [
      -              "number",
      -              "string"
      -            ]
      -          },
      -          "sender": {
      -            "description": "Envelope sender.",
      -            "type": "string"
      -          },
      -          "snippet": {
      -            "description": "Start of the body.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "spam_score": {
      -            "description": "Higher is spammier.",
      -            "type": [
      -              "number",
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "status": {
      -            "description": "Processing stage.",
      -            "type": "string"
      -          },
      -          "subject": {
      -            "description": "Subject line.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "thread_id": {
      -            "description": "Conversation it belongs to.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "to": {
      -            "description": "Recipient.",
      -            "type": "string"
      -          },
      -          "to_email": {
      -            "description": "Recipient address.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "error": {
      -      "description": "Why the call was refused; absent on success.",
      -      "properties": {
      -        "code": {
      -          "description": "Error code to branch on.",
      -          "type": "string"
      -        },
      -        "message": {
      -          "description": "What went wrong, in words.",
      -          "type": "string"
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "meta": {
      -      "description": "cursor for the next page, and total.",
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "success": {
      -      "description": "True when data holds the result.",
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / emails
      Added value: +{
      +  "description": "The emails, newest first; oldest first when polling with since.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "attachment_count": {
      +        "description": "Attachments. Compact rows leave it out when 0.",
      +        "type": "integer"
      +      },
      +      "automated": {
      +        "description": "Sent by a machine. Compact rows set it only when true.",
      +        "type": "boolean"
      +      },
      +      "awaiting": {
      +        "description": "Whose turn, when known: you (not yet answered) or them.",
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "description": "full only: when it was stored.",
      +        "type": "string"
      +      },
      +      "from": {
      +        "description": "Sender, as the From header shows it.",
      +        "type": "string"
      +      },
      +      "from_email": {
      +        "description": "full only: sender address.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Email id, for getEmail and getConversation.",
      +        "type": "string"
      +      },
      +      "message_id": {
      +        "description": "full only: Message-ID header.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "received_at": {
      +        "description": "Arrival time.",
      +        "type": "string"
      +      },
      +      "recipient": {
      +        "description": "full only: envelope recipient.",
      +        "type": "string"
      +      },
      +      "reply_count": {
      +        "description": "Replies you sent to it. Compact rows leave it out when 0.",
      +        "type": "integer"
      +      },
      +      "sender": {
      +        "description": "full only: envelope sender.",
      +        "type": "string"
      +      },
      +      "snippet": {
      +        "description": "Start of the body; null when there is none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "spam_score": {
      +        "description": "full only: spam score; higher is spammier.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "description": "Processing stage: pending, accepted, completed or rejected.",
      +        "type": "string"
      +      },
      +      "subject": {
      +        "description": "Subject line.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "thread_id": {
      +        "description": "Conversation id; null when it is in none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to": {
      +        "description": "Recipient address.",
      +        "type": "string"
      +      },
      +      "to_email": {
      +        "description": "full only: recipient address.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "thread_id",
      +      "received_at",
      +      "from",
      +      "to",
      +      "subject",
      +      "status",
      +      "snippet"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / status
      Removed value: -{
      -  "description": "HTTP status; 2xx on success.",
      -  "type": "number"
      -}
    • removedOutput schema / properties / tool
      Removed value: -{
      -  "description": "Tool that answered.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / total
      Added value: +{
      +  "description": "Matches, when counted; absent when the count was skipped or ran out of time.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / total_capped
      Added value: +{
      +  "description": "True when total stopped at its cap and is a lower bound.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / total_unavailable
      Added value: +{
      +  "description": "Set, true, when the count did not fit its time budget, so total is absent.",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "tool",
      -  "status",
      -  "data"
      -]New value: +[
      +  "emails",
      +  "cursor"
      +]
  5. Changed9 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Your API key from createEmailAddress, used in place of sign-in."New value: +"API key from createEmailAddress, used in place of sign-in."
    • changedOutput schema / properties / data / description
      Previous value: -"API response; result in data."New value: +"API response: the result in data, or error."
    • changedOutput schema / properties / data / properties / error / description
      Previous value: -"Refusal: code, message."New value: +"Why the call was refused; absent on success."
    • addedOutput schema / properties / data / properties / error / properties
      Added value: +{
      +  "code": {
      +    "description": "Error code to branch on.",
      +    "type": "string"
      +  },
      +  "message": {
      +    "description": "What went wrong, in words.",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / data / properties / error / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / success / description
      Previous value: -"Accepted."New value: +"True when data holds the result."
    • changedOutput schema / properties / data / type
      Previous value: -[
      -  "object",
      -  "string",
      -  "null"
      -]New value: +"object"
    • changedOutput schema / properties / status / description
      Previous value: -"HTTP status."New value: +"HTTP status; 2xx on success."
    • addedOutput schema / properties / tool / description
      Added value: +"Tool that answered."
  6. Changed4 schema fields changed
    • changedOutput schema / description
      Previous value: -"A page of inbound emails."New value: +"Envelope; the result is in data.data."
    • changedOutput schema / properties / data / description
      Previous value: -"API body."New value: +"API response; result in data."
    • addedOutput schema / properties / data / properties / data / description
      Added value: +"A page of inbound emails."
    • changedOutput schema / properties / data / properties / error / description
      Previous value: -"Why refused."New value: +"Refusal: code, message."
  7. Changed4 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Key createEmailAddress returned. Send it when no account is signed in."New value: +"Your API key from createEmailAddress, used in place of sign-in."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows per page. Ask for fewer when you only need the latest few."New value: +"How many emails this call returns; follow meta.cursor for more."
    • changedInput schema / properties / search / description
      Previous value: -"Words to look for in the sender, recipient or subject. To search bodies, use searchEmails."New value: +"Sender, recipient or subject words to match. To match message text, use searchEmails."
    • changedInput schema / properties / wait / description
      Previous value: -"Seconds to wait for new mail when there is none yet, so a poll with since returns as soon as mail arrives."New value: +"Long-poll: how many seconds to hold the call open for new mail, so a since poll returns the moment mail arrives."
  8. Changed20 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"The api_key from createEmailAddress, for a connection with no signed-in account. Leave it out when signed in."New value: +"Key createEmailAddress returned. Send it when no account is signed in."
    • changedInput schema / properties / cursor / description
      Previous value: -"Backward (history) pagination cursor from a previous response's `meta.cursor` field: returns emails OLDER than this position, newest-first. Not a date: to filter by time use `date_from` or `date_to`. Mutually exclusive with `since`."New value: +"History cursor: the meta.cursor of the page before. Returns emails OLDER than it, newest first. Not a date (use date_from or date_to); not with since."
    • changedInput schema / properties / date_from / description
      Previous value: -"Earliest created_at to include, as a date or a date-time; times without an offset are UTC."New value: +"Only rows whose created_at is at or after this date or time (UTC unless it has an offset)."
    • changedInput schema / properties / date_to / description
      Previous value: -"Latest created_at to include, as a date or a date-time; times without an offset are UTC."New value: +"Only rows whose created_at is at or before this; a bare date covers that whole day (UTC)."
    • changedInput schema / properties / domain_id / description
      Previous value: -"Only emails received on this domain (an id from getInboxStatus)."New value: +"One of your receiving domains, by the id getInboxStatus returns."
    • changedInput schema / properties / full / description
      Previous value: -"Set true for the stored record, with delivery, webhook and classification state; the default is a compact view for reading."New value: +"Return the stored record, with delivery, webhook and classification state, instead of the compact view for reading."
    • changedInput schema / properties / limit / description
      Previous value: -"How many to return per page; use meta.cursor for the next page."New value: +"Rows per page. Ask for fewer when you only need the latest few."
    • changedInput schema / properties / since / description
      Previous value: -"Forward-tail cursor: `start`, or a `meta.cursor` value from a previous response (format `{ISO datetime}|{UUID}`). Returns emails strictly NEWER than this position, oldest-first, for lossless polling of just-arrived mail; `start` reads from the first email. Not a date: to filter by time use `date_from` or `date_to`. Mutually exclusive with `cursor`."New value: +"Tail cursor: start (from the first email), or a meta.cursor. Returns emails NEWER than it, oldest first, to poll new mail without gaps. Not a date; not with cursor."
    • changedInput schema / properties / status / description
      Previous value: -"Narrow to emails at one processing stage."New value: +"Processing stage: pending or accepted while in progress, completed when done, rejected if a filter or check refused it."
    • changedInput schema / properties / wait / description
      Previous value: -"How long to hold the request open for new mail, in seconds, instead of returning an empty page. Use with `since`."New value: +"Seconds to wait for new mail when there is none yet, so a poll with since returns as soon as mail arrives."
    • addedOutput schema / properties / data / properties / data / items / description
      Added value: +"One email; full adds stored fields."
    • addedOutput schema / properties / data / properties / data / items / properties / attachment_count / description
      Added value: +"Attachments; left out when none."
    • addedOutput schema / properties / data / properties / data / items / properties / created_at / description
      Added value: +"Stored time."
    • addedOutput schema / properties / data / properties / data / items / properties / from_email / description
      Added value: +"Sender address."
    • addedOutput schema / properties / data / properties / data / items / properties / id / description
      Added value: +"Email id, for getEmail."
    • addedOutput schema / properties / data / properties / data / items / properties / reply_count / description
      Added value: +"Replies you sent to it."
    • addedOutput schema / properties / data / properties / data / items / properties / subject / description
      Added value: +"Subject line."
    • addedOutput schema / properties / data / properties / data / items / properties / thread_id / description
      Added value: +"Conversation it belongs to."
    • addedOutput schema / properties / data / properties / data / items / properties / to_email / description
      Added value: +"Recipient address."
    • changedOutput schema / properties / data / properties / meta / description
      Previous value: -"Paging cursor."New value: +"cursor for the next page, and total."
  9. Changed23 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Only when no account is signed in: the api_key createEmailAddress returned, passed as is on every later call. Omit it when the user is signed in."New value: +"The api_key from createEmailAddress, for a connection with no signed-in account. Leave it out when signed in."
    • changedInput schema / properties / date_from / description
      Previous value: -"Earliest created_at to include: a date-time (\"2026-10-01T09:00:00Z\", or with an offset) or a date (\"2026-10-01\", from 00:00 UTC). A time with no offset is read as UTC."New value: +"Earliest created_at to include, as a date or a date-time; times without an offset are UTC."
    • changedInput schema / properties / date_to / description
      Previous value: -"Latest created_at to include: a date-time (\"2026-10-01T09:00:00Z\", or with an offset) or a date (\"2026-10-01\", through the end of that day, UTC). A time with no offset is read as UTC."New value: +"Latest created_at to include, as a date or a date-time; times without an offset are UTC."
    • changedInput schema / properties / full / description
      Previous value: -"Set true for the record as stored. By default the result is a compact view for reading, which leaves out per-row delivery, webhook and classification state (message_id, domain and org ids, spam score, sizes, webhook status)."New value: +"Set true for the stored record, with delivery, webhook and classification state; the default is a compact view for reading."
    • changedInput schema / properties / limit / description
      Previous value: -"Page size."New value: +"How many to return per page; use meta.cursor for the next page."
    • changedInput schema / properties / search / description
      Previous value: -"Words matched in the sender, recipient or subject. To search bodies, use searchEmails."New value: +"Words to look for in the sender, recipient or subject. To search bodies, use searchEmails."
    • changedInput schema / properties / status / description
      Previous value: -"Only emails at this processing stage."New value: +"Narrow to emails at one processing stage."
    • changedInput schema / properties / wait / description
      Previous value: -"Seconds to hold the request open for new mail rather than return an empty page at once. Use with `since`; returns when mail arrives, or empty when the time is up."New value: +"How long to hold the request open for new mail, in seconds, instead of returning an empty page. Use with `since`."
    • addedOutput schema / description
      Added value: +"A page of inbound emails."
    • addedOutput schema / properties / data / description
      Added value: +"API body."
    • changedOutput schema / properties / data / properties / data / items / properties / automated / description
      Previous value: -"Sent by a machine, not a person."New value: +"Sent by a machine."
    • addedOutput schema / properties / data / properties / data / items / properties / from / description
      Added value: +"From header."
    • addedOutput schema / properties / data / properties / data / items / properties / received_at / description
      Added value: +"Arrival time."
    • addedOutput schema / properties / data / properties / data / items / properties / recipient / description
      Added value: +"Envelope recipient."
    • addedOutput schema / properties / data / properties / data / items / properties / sender / description
      Added value: +"Envelope sender."
    • addedOutput schema / properties / data / properties / data / items / properties / snippet / description
      Added value: +"Start of the body."
    • addedOutput schema / properties / data / properties / data / items / properties / spam_score / description
      Added value: +"Higher is spammier."
    • addedOutput schema / properties / data / properties / data / items / properties / status / description
      Added value: +"Processing stage."
    • addedOutput schema / properties / data / properties / data / items / properties / to / description
      Added value: +"Recipient."
    • addedOutput schema / properties / data / properties / error / description
      Added value: +"Why refused."
    • addedOutput schema / properties / data / properties / meta / description
      Added value: +"Paging cursor."
    • addedOutput schema / properties / data / properties / success / description
      Added value: +"Accepted."
    • addedOutput schema / properties / status / description
      Added value: +"HTTP status."
  10. Changed10 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Primitive API key (prim_...). Only needed when this connection has no signed-in account: pass the api_key returned by createEmailAddress, unchanged, on every call for the rest of the conversation. Omit it when the user is signed in."New value: +"Only when no account is signed in: the api_key createEmailAddress returned, passed as is on every later call. Omit it when the user is signed in."
    • changedInput schema / properties / date_from / description
      Previous value: -"Inclusive lower bound on created_at. An ISO 8601 date-time with Z or a UTC offset (\"2026-10-01T09:00:00Z\", \"2026-10-01T09:00:00-04:00\"), or a calendar date (\"2026-10-01\"), which starts at 00:00 UTC. A time with no offset is read as UTC."New value: +"Earliest created_at to include: a date-time (\"2026-10-01T09:00:00Z\", or with an offset) or a date (\"2026-10-01\", from 00:00 UTC). A time with no offset is read as UTC."
    • changedInput schema / properties / date_to / description
      Previous value: -"Inclusive upper bound on created_at. An ISO 8601 date-time with Z or a UTC offset (\"2026-10-01T09:00:00Z\", \"2026-10-01T09:00:00-04:00\"), or a calendar date (\"2026-10-01\"), which runs to the end of that day, UTC. A time with no offset is read as UTC."New value: +"Latest created_at to include: a date-time (\"2026-10-01T09:00:00Z\", or with an offset) or a date (\"2026-10-01\", through the end of that day, UTC). A time with no offset is read as UTC."
    • changedInput schema / properties / domain_id / description
      Previous value: -"Filter to emails received on a specific verified domain."New value: +"Only emails received on this domain (an id from getInboxStatus)."
    • changedInput schema / properties / limit / description
      Previous value: -"Most emails to return in one page."New value: +"Page size."
    • changedInput schema / properties / search / description
      Previous value: -"Words to match in the sender, recipient or subject. To search bodies, use searchEmails."New value: +"Words matched in the sender, recipient or subject. To search bodies, use searchEmails."
    • changedInput schema / properties / status / description
      Previous value: -"Filter to emails in this processing status."New value: +"Only emails at this processing stage."
    • changedInput schema / properties / wait / description
      Previous value: -"Seconds to hold the request open for new mail instead of returning an empty page at once. Requires `since`. Returns as soon as matching mail arrives, or an empty page when the wait elapses."New value: +"Seconds to hold the request open for new mail rather than return an empty page at once. Use with `since`; returns when mail arrives, or empty when the time is up."
    • addedOutput schema / properties / data / properties / data / items / properties / automated / description
      Added value: +"Sent by a machine, not a person."
    • addedOutput schema / properties / data / properties / data / items / properties / awaiting / description
      Added value: +"Whose turn: you or them."
  11. Changed7 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of emails to return (1 to 100, default 50)."New value: +"Most emails to return in one page."
    • changedInput schema / properties / search / description
      Previous value: -"Free-text search across sender, recipient, and subject."New value: +"Words to match in the sender, recipient or subject. To search bodies, use searchEmails."
    • changedInput schema / properties / wait / description
      Previous value: -"Long-poll up to this many whole seconds (0 to 30, default 0) holding the request for new mail instead of returning an empty page immediately. Requires `since`. Returns as soon as matching mail arrives, or an empty page when the wait elapses."New value: +"Seconds to hold the request open for new mail instead of returning an empty page at once. Requires `since`. Returns as soon as matching mail arrives, or an empty page when the wait elapses."
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "data": {
      +    "items": {
      +      "properties": {
      +        "attachment_count": {
      +          "type": [
      +            "number",
      +            "string"
      +          ]
      +        },
      +        "automated": {
      +          "type": "boolean"
      +        },
      +        "awaiting": {
      +          "type": "string"
      +        },
      +        "created_at": {
      +          "type": "string"
      +        },
      +        "from": {
      +          "type": "string"
      +        },
      +        "from_email": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "received_at": {
      +          "type": "string"
      +        },
      +        "recipient": {
      +          "type": "string"
      +        },
      +        "reply_count": {
      +          "type": [
      +            "number",
      +            "string"
      +          ]
      +        },
      +        "sender": {
      +          "type": "string"
      +        },
      +        "snippet": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "spam_score": {
      +          "type": [
      +            "number",
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "subject": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "thread_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "to": {
      +          "type": "string"
      +        },
      +        "to_email": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": [
      +      "array",
      +      "null"
      +    ]
      +  },
      +  "error": {},
      +  "meta": {
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  },
      +  "success": {
      +    "type": "boolean"
      +  }
      +}
    • addedOutput schema / properties / data / type
      Added value: +[
      +  "object",
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / statusText
      Removed value: -{
      -  "type": "string"
      -}
  12. Changed11 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Backward (history) pagination cursor from a previous response's `meta.cursor` field: returns emails OLDER than this position, newest-first. Mutually exclusive with `since`."New value: +"Backward (history) pagination cursor from a previous response's `meta.cursor` field: returns emails OLDER than this position, newest-first. Not a date: to filter by time use `date_from` or `date_to`. Mutually exclusive with `since`."
    • changedInput schema / properties / date_from / description
      Previous value: -"Inclusive lower bound on created_at (ISO 8601)."New value: +"Inclusive lower bound on created_at. An ISO 8601 date-time with Z or a UTC offset (\"2026-10-01T09:00:00Z\", \"2026-10-01T09:00:00-04:00\"), or a calendar date (\"2026-10-01\"), which starts at 00:00 UTC. A time with no offset is read as UTC."
    • removedInput schema / properties / date_from / format
      Removed value: -"date-time"
    • changedInput schema / properties / date_to / description
      Previous value: -"Inclusive upper bound on created_at (ISO 8601)."New value: +"Inclusive upper bound on created_at. An ISO 8601 date-time with Z or a UTC offset (\"2026-10-01T09:00:00Z\", \"2026-10-01T09:00:00-04:00\"), or a calendar date (\"2026-10-01\"), which runs to the end of that day, UTC. A time with no offset is read as UTC."
    • removedInput schema / properties / date_to / format
      Removed value: -"date-time"
    • addedInput schema / properties / full
      Added value: +{
      +  "default": false,
      +  "description": "Set true for the record as stored. By default the result is a compact view for reading, which leaves out per-row delivery, webhook and classification state (message_id, domain and org ids, spam score, sizes, webhook status).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of emails to return (1–100, default 50)."New value: +"Maximum number of emails to return (1 to 100, default 50)."
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / since / description
      Previous value: -"Forward-tail cursor (a `meta.cursor` value, format `{ISO datetime}|{UUID}`): returns emails strictly NEWER than this position, oldest-first, for lossless polling of just-arrived mail. Mutually exclusive with `cursor`."New value: +"Forward-tail cursor: `start`, or a `meta.cursor` value from a previous response (format `{ISO datetime}|{UUID}`). Returns emails strictly NEWER than this position, oldest-first, for lossless polling of just-arrived mail; `start` reads from the first email. Not a date: to filter by time use `date_from` or `date_to`. Mutually exclusive with `cursor`."
    • changedInput schema / properties / wait / description
      Previous value: -"Long-poll up to this many seconds (0–30, default 0) holding the request for new mail instead of returning an empty page immediately. Requires `since`. Returns as soon as matching mail arrives, or an empty page when the wait elapses."New value: +"Long-poll up to this many whole seconds (0 to 30, default 0) holding the request for new mail instead of returning an empty page immediately. Requires `since`. Returns as soon as matching mail arrives, or an empty page when the wait elapses."
    • changedInput schema / properties / wait / type
      Previous value: -"number"New value: +"integer"
  13. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Primitive API key (prim_...). Only needed when this connection has no signed-in account: pass the api_key returned by createEmailAddress, unchanged, on every call for the rest of the conversation. Omit it when the user is signed in.",
      +  "maxLength": 200,
      +  "minLength": 8,
      +  "type": "string"
      +}
  14. Changed5 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor from a previous response's `meta.cursor` field."New value: +"Backward (history) pagination cursor from a previous response's `meta.cursor` field: returns emails OLDER than this position, newest-first. Mutually exclusive with `since`."
    • changedInput schema / properties / date_from / description
      Previous value: -"Inclusive lower bound on received_at (ISO 8601)."New value: +"Inclusive lower bound on created_at (ISO 8601)."
    • changedInput schema / properties / date_to / description
      Previous value: -"Inclusive upper bound on received_at (ISO 8601)."New value: +"Inclusive upper bound on created_at (ISO 8601)."
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "Forward-tail cursor (a `meta.cursor` value, format `{ISO datetime}|{UUID}`): returns emails strictly NEWER than this position, oldest-first, for lossless polling of just-arrived mail. Mutually exclusive with `cursor`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / wait
      Added value: +{
      +  "default": 0,
      +  "description": "Long-poll up to this many seconds (0–30, default 0) holding the request for new mail instead of returning an empty page immediately. Requires `since`. Returns as soon as matching mail arrives, or an empty page when the wait elapses.",
      +  "maximum": 30,
      +  "minimum": 0,
      +  "type": "number"
      +}
  15. Changed6 schema fields changed
    • addedInput schema / properties / date_from / description
      Added value: +"Inclusive lower bound on received_at (ISO 8601)."
    • addedInput schema / properties / date_to / description
      Added value: +"Inclusive upper bound on received_at (ISO 8601)."
    • addedInput schema / properties / domain_id / description
      Added value: +"Filter to emails received on a specific verified domain."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of emails to return (1–100, default 50)."
    • addedInput schema / properties / search / description
      Added value: +"Free-text search across sender, recipient, and subject."
    • addedInput schema / properties / status / description
      Added value: +"Filter to emails in this processing status."
  16. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds what they cannot: newest-first ordering, cursor-vs-since direction semantics, the null-terminated cursor at the end of results, and the caveats around total_capped and total_unavailable. That is meaningful behavioral context beyond structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Front-loaded with the two operating modes, then filtering scope, then row shape, then return contract. Dense but every clause carries distinct information, with no restatement of the title or annotations.

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?

Eleven parameters, an output schema, and rich annotations are all accounted for; the description still documents ordering, pagination termination and total-field caveats that the output schema would not make obvious. Nothing an agent needs to call this correctly is missing.

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 adds cross-parameter meaning the schema states only in isolation: pairing since with wait to tail without gaps, and framing cursor as the history counterpart. It also summarizes the filter axes (domain, status, date, sender/recipient/subject) in one place.

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 ('Page through inbound email newest first, or tail new mail') plus its filter dimensions, and explicitly names the sibling searchEmails as the tool for body text, attachments and replies. The agent can distinguish it from searchEmails, getEmail and listSentEmails without opening any 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?

Gives explicit routing: use searchEmails for body text/attachments/replies-to-a-send, use getEmail to open a single row, and 'since and wait' for tailing versus paging. Both alternatives and their selecting conditions are stated.

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.

Resources