Skip to main content
Glama
Mercury Multiorg MCP

Mercury Multiorg MCP

List change events

list_events
Read-onlyIdempotent

Retrieve Mercury change events to see which transactions or accounts changed, which fields were updated, and when; filter by entity, resource type, or date.

Instructions

List the change-event feed in Mercury API desc order: what changed on which resource, with the changed fields.

    `mergePatch` / `previousValues` are re-projected through the changed
    resource's own allowlist (so an account event masks the account
    number and a transaction event carries no bank coordinates). The API
    has no time filter and documents no sort key, so with `since` the
    whole feed (Mercury keeps 90 days) is walked, filtered on
    `occurredAt` here, and sorted newest first before `limit` applies;
    `truncated` is then exact. Without `since` the Mercury API `desc`
    order is returned as is. Use this to see what changed recently on
    transactions and accounts and which fields changed; use
    `list_transactions` for the transactions themselves and
    `list_webhooks` for the endpoints subscribed to these events. An
    unknown `resource_type` is a 400 from Mercury.
    

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entity": "<entity>"
    },
    "name": "list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum events to return (with `since`: newest first; else Mercury API desc order).
sinceNoOnly events at or after this time, YYYY-MM-DD or ISO 8601 (UTC). Events live 90 days.
entityYesExact `entity` key from `list_entities`, not its `display_name`. Required; there is no default.
resource_typeNoRestrict to one resource type.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.6
    • changedInput schema / properties / entity / description
      Previous value: -"Entity key from `list_entities`. Required; there is no default."New value: +"Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default."
    • changedInput schema / properties / resource_type / description
      Previous value: -"Restrict to one resource type: transaction, checkingAccount, savingsAccount, treasuryAccount, investmentAccount, creditAccount."New value: +"Restrict to one resource type."
  2. First observedv0.1.4

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses mergePatch/previousValues re-projection through each resource's allowlist (account numbers masked, no bank coordinates), a 90-day retention window, and how `since` triggers a full-feed walk, client-side filtering and sorting before `limit` applies so that `truncated` becomes exact. These are non-obvious behaviors an agent would otherwise have to discover empirically.

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

Conciseness4/5

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

Front-loads the core purpose, then layers the projection, ordering, and routing details in a coherent sequence. It is dense and long, but each clause carries distinct behavioral information; only the parenthetical retention note slightly duplicates the schema's 'Events live 90 days'.

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 an output schema present, return values need not be explained, and the description covers the remaining complexity — mutation projection, ordering modes, retention limits, and error behavior — thoroughly enough that an agent can call it correctly in either mode.

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 already 100%, yet the description still adds meaning: it explains that without `since` the raw Mercury API desc order is returned, whereas with `since` the ordering and `limit` semantics change. It does not restate parameter types or formats already in the schema, so it adds value without duplication.

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 ('List the change-event feed') plus what the entries contain ('what changed on which resource, with the changed fields'), and explicitly separates the tool from list_transactions and list_webhooks, which cover related but different resources.

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 an explicit use case ('see what changed recently on transactions and accounts and which fields changed') and names two alternatives with the conditions that select them, plus the edge case that an unknown resource_type yields a 400.

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