Skip to main content
Glama
Mercury Multiorg MCP

Mercury Multiorg MCP

List invoice customers

list_customers
Read-onlyIdempotent

List accounts-receivable customers with ID, name, and email to identify invoice customer IDs; use recipient listing instead for payees the organization pays.

Instructions

List accounts-receivable customers: id, name, and email. No addresses.

    Use this for invoice customers, whose ids are the `customerId` on
    `list_invoices` rows; use `list_recipients` for payees the
    organization pays. Every page is walked; deleted customers that
    Mercury returns keep their `deletedAt`.
    

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_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesExact `entity` key from `list_entities`, not its `display_name`. Required; there is no default.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field 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."
  2. First observedv0.1.4

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds behavior those annotations cannot: pagination is handled internally ("Every page is walked") and soft-deleted customers are retained with `deletedAt`. It also discloses the shape limit of results (no addresses). That is substantive 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?

Three short sentences, front-loaded with purpose and returned fields before routing guidance. Every clause carries information — scope, sibling routing, pagination, deletion behavior — 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?

For a single-parameter list tool with full schema coverage, an output schema, and complete safety annotations, nothing an agent needs is missing: what it returns, what it excludes, how pagination is handled, and which sibling to prefer are all present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single `entity` parameter is already documented in detail in the schema (exact key from `list_entities`, not `display_name`, required, no default). The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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?

Opens with a specific verb and resource ("List accounts-receivable customers") and names the exact fields returned (id, name, email) plus an explicit exclusion ("No addresses"). It also distinguishes the resource from the similarly named sibling `list_recipients`, so an agent can tell the two apart without opening either 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 an explicit selector: use this for invoice customers, whose ids match `customerId` on `list_invoices` rows. It also names the alternative and its condition ("use `list_recipients` for payees the organization pays"), so the when-to-use and when-not-to-use are both stated rather than inferred.

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