Skip to main content
Glama

List sent messages

well_list_messages
Read-only

List the emails the user sent to other people through Well (with well_send_message), newest first: recipient, subject, body, channel, status and send date. It returns the user's own messages only, never those sent by other members.

Use it when the user asks what was sent, e.g. "what did I send to Acme?" or "did my email to Marie go out?". It reads the same records as well_query_records on the messages root; notifications to the user are not stored, so they never appear. It filters by recipient and category only: to find sent emails about a topic, search them with well_search_context and the "message" entity type instead.

Returns { rows, totalCount, records_url }. Hand records_url to the user when there are more messages than the rows you read.

When the token authorizes one workspace, call this directly — no workspace call is needed first. When it authorizes several, this read will not guess which one you mean: pass workspace_id on the call.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many messages to return, newest first (default 20).
categoryNoKeep only messages of this category.
recipientNoKeep messages whose recipient email address or recipient name contains this text, e.g. an address, a domain, or a name.
workspace_idNoTarget workspace. Omit when the token authorizes one workspace. Required when it authorizes several: this read reports one workspace's own figures and will not choose which.
conversation_idNoThe conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.
workspace_scopeNoRestrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.

Output Schema

NameRequiredDescriptionDefault
rowsYesQuery results
errorNo
end_byNoThe date field path a timeline ends its bars on: the asked one, else the saved view's. Null on any other layout. Each row carries its value.
layoutNoThe layout the records card draws and `records_url` opens: the asked one, else the saved view's. Null when neither names one.
totalsNoPresent when `sum` was passed and the total read succeeded: the sums over every matching row, one group per currency. `truncated: true` means the group list hit its cap and is incomplete. `completeness` (invoices root only) says how far the workspace's own-side resolution lets you trust the total: the self-party set's size and the counts of the rows it could not prove a side for.
columnsNoThe materialized columns in display order, with each composite substituted in place of the source fields it consumed. A row object's key order does not preserve this — the flattener appends reconstructed composites last — so a UI that wants the web app's column order must read it from here.
successYes
group_byNoThe field path a kanban or a calendar groups the rows by, or a timeline starts its bars on: the asked one, else the saved view's. Each row carries its value.
returnedYesNumber of rows returned
columnMetaNoPer-column field meaning, keyed by the same column paths as the rows. `context` = what the field means; `enrichment` = how the value is sourced (e.g. Bank sync, AI extraction). Only documented columns appear. Read this to interpret the returned values.
nextCursorNoCursor for the next page. null means last page.
totalCountYesTotal matching records
party_scopeNoPresent only when `partyScope` was passed: what the scope resolved to on this read. `side_unknown: true` means the workspace resolved no own company, so NO side filter was applied (`applied: false`) and the rows and totals cover invoices on BOTH sides — say the side is unknown, never that the figure is the requested side's.
records_urlNoLogin-gated deep link to the FULL web-app records table for this root (real DataTable: composites, inline editing, resize/pin), carrying this call's `whereClause` and `orderBy` so it opens on the same rows. Hand it to the user for everything past this page — it is the answer to 'show me all of them', not pagination. Null when no workspace is in context or no web page serves the root.
conversation_idNoThe conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.
newly_connectedNoTools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.
workspace_figuresNoPresent when a read that names no workspace covered several and passed `sum` or `partyScope`: one entry per workspace it read, with that workspace's own count, totals and side. The top-level `totalCount` adds these counts, including any entry whose side is unknown, and no top-level `totals` exists: an amount belongs to one workspace. A workspace whose read failed has no entry and is named in `error`.
resolved_workspaceNoThe workspace that answered, when the caller named none and the token authorizes several.
totals_unavailableNoPresent instead of `totals` when `sum` was passed but no total could be measured (`timeout`, `error`, or `count_mismatch` when the total did not cover the same rows as `totalCount`). The rows are still a page: never add them up to stand in for the total. Say the total is unavailable.
conversation_id_noteNoPresent only when the server opened a fresh lane, stating that no choice recorded earlier was read.
conversation_id_sourceNoWhere the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / workspace_figures
      Added value: +{
      +  "description": "Present when a read that names no workspace covered several and passed `sum` or `partyScope`: one entry per workspace it read, with that workspace's own count, totals and side. The top-level `totalCount` adds these counts, including any entry whose side is unknown, and no top-level `totals` exists: an amount belongs to one workspace. A workspace whose read failed has no entry and is named in `error`.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "party_scope": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "applied": {
      +            "type": "boolean"
      +          },
      +          "requested": {
      +            "enum": [
      +              "purchase",
      +              "sales",
      +              "intra_self",
      +              "unattributed"
      +            ],
      +            "type": "string"
      +          },
      +          "side_unknown": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "requested",
      +          "applied",
      +          "side_unknown"
      +        ],
      +        "type": "object"
      +      },
      +      "totalCount": {
      +        "type": "number"
      +      },
      +      "totals": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completeness": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      +                "properties": {
      +                  "conflict_count": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "estimated": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "available": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "count": {
      +                            "type": "number"
      +                          },
      +                          "kinds": {
      +                            "items": {
      +                              "enum": [
      +                                "own_set_self_candidate",
      +                                "asserted_own_side_unqualified",
      +                                "bank_allocation"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          }
      +                        },
      +                        "required": [
      +                          "available",
      +                          "count",
      +                          "kinds"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "available": {
      +                            "const": false,
      +                            "type": "boolean"
      +                          },
      +                          "reason": {
      +                            "enum": [
      +                              "own_set_truncated",
      +                              "grouped_results_truncated",
      +                              "read_failed"
      +                            ],
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "available",
      +                          "reason"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    ]
      +                  },
      +                  "fold_version": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": -9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  "intra_self_count": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "personal_mode": {
      +                    "type": "boolean"
      +                  },
      +                  "self_candidate_count": {
      +                    "type": "number"
      +                  },
      +                  "self_set_size": {
      +                    "type": "number"
      +                  },
      +                  "self_set_truncated": {
      +                    "type": "boolean"
      +                  },
      +                  "unattributed_count": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "fold_version",
      +                  "self_set_size",
      +                  "self_set_truncated",
      +                  "self_candidate_count",
      +                  "personal_mode",
      +                  "unattributed_count",
      +                  "intra_self_count",
      +                  "conflict_count",
      +                  "estimated"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "grouped_by": {
      +            "type": "string"
      +          },
      +          "groups": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "count": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "currency": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sums": {
      +                  "additionalProperties": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "currency",
      +                "count",
      +                "sums"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "truncated": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "grouped_by",
      +          "groups",
      +          "truncated"
      +        ],
      +        "type": "object"
      +      },
      +      "totals_unavailable": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "reason": {
      +            "enum": [
      +              "timeout",
      +              "error",
      +              "count_mismatch"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "reason"
      +        ],
      +        "type": "object"
      +      },
      +      "workspace_id": {
      +        "type": "string"
      +      },
      +      "workspace_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "workspace_id",
      +      "totalCount"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed13 schema fields changed
    • removedOutput schema / properties / nextCursor / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / nextCursor / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / records_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / records_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / resolved_workspace / properties / name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / resolved_workspace / properties / name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / totals / properties / completeness / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      -    "properties": {
      -      "conflict_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "estimated": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "available": {
      -                "const": true,
      -                "type": "boolean"
      -              },
      -              "count": {
      -                "type": "number"
      -              },
      -              "kinds": {
      -                "items": {
      -                  "enum": [
      -                    "own_set_self_candidate",
      -                    "asserted_own_side_unqualified",
      -                    "bank_allocation"
      -                  ],
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "available",
      -              "count",
      -              "kinds"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "available": {
      -                "const": false,
      -                "type": "boolean"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "own_set_truncated",
      -                  "grouped_results_truncated",
      -                  "read_failed"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "available",
      -              "reason"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "fold_version": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "intra_self_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "personal_mode": {
      -        "type": "boolean"
      -      },
      -      "self_candidate_count": {
      -        "type": "number"
      -      },
      -      "self_set_size": {
      -        "type": "number"
      -      },
      -      "self_set_truncated": {
      -        "type": "boolean"
      -      },
      -      "unattributed_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "fold_version",
      -      "self_set_size",
      -      "self_set_truncated",
      -      "self_candidate_count",
      -      "personal_mode",
      -      "unattributed_count",
      -      "intra_self_count",
      -      "conflict_count",
      -      "estimated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      +    "properties": {
      +      "conflict_count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "estimated": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "available": {
      +                "const": true,
      +                "type": "boolean"
      +              },
      +              "count": {
      +                "type": "number"
      +              },
      +              "kinds": {
      +                "items": {
      +                  "enum": [
      +                    "own_set_self_candidate",
      +                    "asserted_own_side_unqualified",
      +                    "bank_allocation"
      +                  ],
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "available",
      +              "count",
      +              "kinds"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "available": {
      +                "const": false,
      +                "type": "boolean"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "own_set_truncated",
      +                  "grouped_results_truncated",
      +                  "read_failed"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "available",
      +              "reason"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "fold_version": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "intra_self_count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "personal_mode": {
      +        "type": "boolean"
      +      },
      +      "self_candidate_count": {
      +        "type": "number"
      +      },
      +      "self_set_size": {
      +        "type": "number"
      +      },
      +      "self_set_truncated": {
      +        "type": "boolean"
      +      },
      +      "unattributed_count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "fold_version",
      +      "self_set_size",
      +      "self_set_truncated",
      +      "self_candidate_count",
      +      "personal_mode",
      +      "unattributed_count",
      +      "intra_self_count",
      +      "conflict_count",
      +      "estimated"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / totals / properties / groups / items / properties / count / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / totals / properties / groups / items / properties / count / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / totals / properties / groups / items / properties / currency / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / totals / properties / groups / items / properties / currency / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / totals / properties / groups / items / properties / sums / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / totals / properties / groups / items / properties / sums / additionalProperties / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / totals / properties / completeness / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      -    "properties": {
      -      "conflict_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "estimated": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "available": {
      -                "const": true,
      -                "type": "boolean"
      -              },
      -              "count": {
      -                "type": "number"
      -              },
      -              "kinds": {
      -                "items": {
      -                  "enum": [
      -                    "own_set_self_candidate",
      -                    "asserted_own_side_unqualified",
      -                    "bank_allocation"
      -                  ],
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "available",
      -              "count",
      -              "kinds"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "available": {
      -                "const": false,
      -                "type": "boolean"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "own_set_truncated",
      -                  "read_failed"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "available",
      -              "reason"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "fold_version": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "intra_self_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "personal_mode": {
      -        "type": "boolean"
      -      },
      -      "self_candidate_count": {
      -        "type": "number"
      -      },
      -      "self_set_size": {
      -        "type": "number"
      -      },
      -      "self_set_truncated": {
      -        "type": "boolean"
      -      },
      -      "unattributed_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "fold_version",
      -      "self_set_size",
      -      "self_set_truncated",
      -      "self_candidate_count",
      -      "personal_mode",
      -      "unattributed_count",
      -      "intra_self_count",
      -      "conflict_count",
      -      "estimated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      +    "properties": {
      +      "conflict_count": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "estimated": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "available": {
      +                "const": true,
      +                "type": "boolean"
      +              },
      +              "count": {
      +                "type": "number"
      +              },
      +              "kinds": {
      +                "items": {
      +                  "enum": [
      +                    "own_set_self_candidate",
      +                    "asserted_own_side_unqualified",
      +                    "bank_allocation"
      +                  ],
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "available",
      +              "count",
      +              "kinds"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "available": {
      +                "const": false,
      +                "type": "boolean"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "own_set_truncated",
      +                  "grouped_results_truncated",
      +                  "read_failed"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "available",
      +              "reason"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "fold_version": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "intra_self_count": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "personal_mode": {
      +        "type": "boolean"
      +      },
      +      "self_candidate_count": {
      +        "type": "number"
      +      },
      +      "self_set_size": {
      +        "type": "number"
      +      },
      +      "self_set_truncated": {
      +        "type": "boolean"
      +      },
      +      "unattributed_count": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "fold_version",
      +      "self_set_size",
      +      "self_set_truncated",
      +      "self_candidate_count",
      +      "personal_mode",
      +      "unattributed_count",
      +      "intra_self_count",
      +      "conflict_count",
      +      "estimated"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed3 schema fields changed
    • addedOutput schema / properties / end_by
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The date field path a timeline ends its bars on: the asked one, else the saved view's. Null on any other layout. Each row carries its value."
      +}
    • changedOutput schema / properties / group_by / description
      Previous value: -"The field path a kanban or a calendar groups the rows by: the asked one, else the saved view's. Each row carries its value."New value: +"The field path a kanban or a calendar groups the rows by, or a timeline starts its bars on: the asked one, else the saved view's. Each row carries its value."
    • changedOutput schema / properties / layout / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "table",
      -      "kanban",
      -      "calendar",
      -      "gallery",
      -      "chart",
      -      "list",
      -      "graph"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "table",
      +      "kanban",
      +      "calendar",
      +      "gallery",
      +      "chart",
      +      "list",
      +      "graph",
      +      "timeline"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Changed2 schema fields changed
    • addedOutput schema / properties / group_by
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The field path a kanban or a calendar groups the rows by: the asked one, else the saved view's. Each row carries its value."
      +}
    • addedOutput schema / properties / layout
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "table",
      +        "kanban",
      +        "calendar",
      +        "gallery",
      +        "chart",
      +        "list",
      +        "graph"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The layout the records card draws and `records_url` opens: the asked one, else the saved view's. Null when neither names one."
      +}
  6. Changed1 schema field changed
    • changedOutput schema / properties / totals / properties / completeness / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      -    "properties": {
      -      "conflict_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "estimated": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "available": {
      -                "const": true,
      -                "type": "boolean"
      -              },
      -              "count": {
      -                "type": "number"
      -              },
      -              "kinds": {
      -                "items": {
      -                  "enum": [
      -                    "own_set_self_candidate",
      -                    "asserted_own_side_unqualified",
      -                    "bank_allocation"
      -                  ],
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "available",
      -              "count",
      -              "kinds"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "available": {
      -                "const": false,
      -                "type": "boolean"
      -              },
      -              "reason": {
      -                "enum": [
      -                  "own_set_truncated",
      -                  "read_failed"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "available",
      -              "reason"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "intra_self_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "personal_mode": {
      -        "type": "boolean"
      -      },
      -      "self_candidate_count": {
      -        "type": "number"
      -      },
      -      "self_set_size": {
      -        "type": "number"
      -      },
      -      "self_set_truncated": {
      -        "type": "boolean"
      -      },
      -      "unattributed_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "self_set_size",
      -      "self_set_truncated",
      -      "self_candidate_count",
      -      "personal_mode",
      -      "unattributed_count",
      -      "intra_self_count",
      -      "conflict_count",
      -      "estimated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      +    "properties": {
      +      "conflict_count": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "estimated": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "available": {
      +                "const": true,
      +                "type": "boolean"
      +              },
      +              "count": {
      +                "type": "number"
      +              },
      +              "kinds": {
      +                "items": {
      +                  "enum": [
      +                    "own_set_self_candidate",
      +                    "asserted_own_side_unqualified",
      +                    "bank_allocation"
      +                  ],
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "available",
      +              "count",
      +              "kinds"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "available": {
      +                "const": false,
      +                "type": "boolean"
      +              },
      +              "reason": {
      +                "enum": [
      +                  "own_set_truncated",
      +                  "read_failed"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "available",
      +              "reason"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "fold_version": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "intra_self_count": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "personal_mode": {
      +        "type": "boolean"
      +      },
      +      "self_candidate_count": {
      +        "type": "number"
      +      },
      +      "self_set_size": {
      +        "type": "number"
      +      },
      +      "self_set_truncated": {
      +        "type": "boolean"
      +      },
      +      "unattributed_count": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "fold_version",
      +      "self_set_size",
      +      "self_set_truncated",
      +      "self_candidate_count",
      +      "personal_mode",
      +      "unattributed_count",
      +      "intra_self_count",
      +      "conflict_count",
      +      "estimated"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  7. Changed4 schema fields changed
    • changedOutput schema / properties / newly_connected / description
      Previous value: -"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."New value: +"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."
    • addedOutput schema / properties / party_scope
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Present only when `partyScope` was passed: what the scope resolved to on this read. `side_unknown: true` means the workspace resolved no own company, so NO side filter was applied (`applied: false`) and the rows and totals cover invoices on BOTH sides — say the side is unknown, never that the figure is the requested side's.",
      +  "properties": {
      +    "applied": {
      +      "type": "boolean"
      +    },
      +    "requested": {
      +      "enum": [
      +        "purchase",
      +        "sales",
      +        "intra_self",
      +        "unattributed"
      +      ],
      +      "type": "string"
      +    },
      +    "side_unknown": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "requested",
      +    "applied",
      +    "side_unknown"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / totals / description
      Previous value: -"Present when `sum` was passed and the total read succeeded: the sums over every matching row, one group per currency. `truncated: true` means the group list hit its cap and is incomplete."New value: +"Present when `sum` was passed and the total read succeeded: the sums over every matching row, one group per currency. `truncated: true` means the group list hit its cap and is incomplete. `completeness` (invoices root only) says how far the workspace's own-side resolution lets you trust the total: the self-party set's size and the counts of the rows it could not prove a side for."
    • addedOutput schema / properties / totals / properties / completeness
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "description": "How far the workspace's own-side resolution lets a caller trust the figure: the self-party set's size and truncation, and the counts of the rows it could not prove a side for. `unattributed_count` is the certainty-unknown remainder; `estimated` counts the rows a weak claim still sides, unavailable when the set was truncated or the read failed. A null count is an unread cell, never a measured zero.",
      +      "properties": {
      +        "conflict_count": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "estimated": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "available": {
      +                  "const": true,
      +                  "type": "boolean"
      +                },
      +                "count": {
      +                  "type": "number"
      +                },
      +                "kinds": {
      +                  "items": {
      +                    "enum": [
      +                      "own_set_self_candidate",
      +                      "asserted_own_side_unqualified",
      +                      "bank_allocation"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "available",
      +                "count",
      +                "kinds"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "available": {
      +                  "const": false,
      +                  "type": "boolean"
      +                },
      +                "reason": {
      +                  "enum": [
      +                    "own_set_truncated",
      +                    "read_failed"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "available",
      +                "reason"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "intra_self_count": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "personal_mode": {
      +          "type": "boolean"
      +        },
      +        "self_candidate_count": {
      +          "type": "number"
      +        },
      +        "self_set_size": {
      +          "type": "number"
      +        },
      +        "self_set_truncated": {
      +          "type": "boolean"
      +        },
      +        "unattributed_count": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "self_set_size",
      +        "self_set_truncated",
      +        "self_candidate_count",
      +        "personal_mode",
      +        "unattributed_count",
      +        "intra_self_count",
      +        "conflict_count",
      +        "estimated"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  8. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly and non-destructive annotations, the description discloses ownership scope, that incoming notifications never appear, the returned fields, pagination via records_url, and multi-workspace behavior. It adds substantial operational context without contradicting the annotations.

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?

The purpose is front-loaded and the remaining sentences each add operational value: examples, alternatives, return shape, pagination handoff, and workspace behavior. It is appropriately sized for a six-parameter, workspace-aware read tool.

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?

With annotations, a complete input schema, and an output schema available, the description covers the key behavioral and routing details. An agent has enough information to choose the tool, scope the read correctly, and handle the returned records_url.

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 schema already documents the parameters in detail. The description still adds useful meaning by clarifying that only recipient and category filter the message set, and by explaining when workspace_id must be supplied.

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

Purpose5/5

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

The description states a specific verb and resource: it lists emails the user sent through Well, newest first, with named fields. It clearly distinguishes this from messages sent by other members and from notifications, so an agent can separate it from sibling tools.

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?

It gives explicit when-to-use guidance with examples such as asking what was sent or whether an email went out. It also names the alternative for topic-based search, well_search_context with the message entity type, and explains the workspace requirement.

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