Skip to main content
Glama
Mercury Multiorg MCP

Mercury Multiorg MCP

List treasury statements and tax forms

list_treasury_statements
Read-onlyIdempotent

Retrieve metadata for a treasury account's statements and tax documents, optionally filtered by document type, to review available records without downloading files.

Instructions

List one treasury account's statements and tax documents (metadata only).

    Use this for treasury statement and tax-form (1099 and similar)
    metadata; use `list_statements` for checking and savings statements
    and `list_tax_docs` for recipients' W-9 forms. `document_type` is not
    validated here: a value outside Mercury's list is rejected by Mercury.
    Every page is walked. The API exposes these documents only through a
    presigned `downloadUrl`, which is not returned or fetched.
    `get_statement_pdf` (when enabled) may accept a treasury statement id
    (same id type as depository statements), but the docs do not promise
    it.
    

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>",
      "treasury_id": "<treasury_id>"
    },
    "name": "list_treasury_statements"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesExact `entity` key from `list_entities`, not its `display_name`. Required; there is no default.
treasury_idYesTreasury account id from `list_treasury`.
document_typeNoFilter by document type. Omit for all.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.6
    • changedInput schema / properties / document_type / description
      Previous value: -"Filter by document type: MonthlyStatement, TradeConfirmation, 1099, 1099R, 1042S, 5498, 5498ESA, 1099Q, FMV, SDIRA. Omit for all."New value: +"Filter by document type. Omit for all."
    • 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."
  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?

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, yet the description still adds substantive behavior: results are metadata only, pagination is handled automatically ("Every page is walked"), and the presigned downloadUrl is neither returned nor fetched. That last point is critical, since an agent would otherwise plan to download documents from this call.

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?

The purpose is front-loaded in the opening sentence and the sibling routing follows immediately, which is the right ordering for an agent. It runs a bit long, and the closing hedging about get_statement_pdf accepting a treasury id is tangential, though it does prevent a wrong assumption.

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?

An output schema exists, so return structure needn't be spelled out, and the description nonetheless states what the results are (metadata) and what they are not (download URLs, file contents). Combined with required-parameter behavior and pagination notes, nothing an agent needs in order 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 real meaning by explaining that `document_type` is not validated locally and an out-of-list value is rejected by Mercury. The `entity` and `treasury_id` semantics are already fully covered by their schema descriptions, so no credit is taken there.

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 first sentence names a specific verb and resource ("List ... statements and tax documents") and pins the scope to a single treasury account with "metadata only". It immediately distinguishes itself from the two nearest siblings, list_statements and list_tax_docs, so an agent can route correctly without opening a 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?

It explicitly states when to use this tool (treasury statement and tax-form metadata) and names the alternatives with the conditions that select them: list_statements for checking/savings and list_tax_docs for W-9s. It also flags the get_statement_pdf edge case, giving an agent a documented fallback path.

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