Skip to main content
Glama
Mercury Multiorg MCP

Mercury Multiorg MCP

List cards

list_cards
Read-onlyIdempotent

Find Mercury card IDs or filter cards by account and status to review limits, budgets, locks, and cardholder names. Use it when you need a card ID before calling get_card.

Instructions

List cards: last four, name on card, nickname, kind, type, status, limits, budgets, locks.

    Use this to find card ids or filter cards by account or status; use
    `get_card` when you already have a card id and `list_merchants` for
    the merchants a lock can name. `account_id` takes one id although
    Mercury's filter accepts several; an unknown `status` is passed
    through and rejected by Mercury with a 400; `limit` counts cards after
    both filters. The API never returns PAN or CVC here; expiry is dropped
    too. Card holder identity is the name on the card and the user id
    only.
    

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum cards to return.
entityYesExact `entity` key from `list_entities`, not its `display_name`. Required; there is no default.
statusNoRestrict to one status.
account_idNoRestrict to one account id (from `list_accounts`). Omit for all.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.6
    • changedInput schema / properties / account_id / description
      Previous value: -"Restrict to one account id. Omit for all."New value: +"Restrict to one account id (from `list_accounts`). 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."
    • changedInput schema / properties / status / description
      Previous value: -"Restrict to one status: active, frozen, cancelled, inactive, expired, suspended."New value: +"Restrict to one status."
  2. First observedv0.1.4

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description still adds substantive behavior: `account_id` takes only one id though Mercury accepts several, an unknown `status` is passed through and rejected with a 400, `limit` counts cards after both filters, and PAN/CVC/expiry are never returned. The card-holder identity rule (name on card plus user id) is information available nowhere in the structured data.

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-loaded and free of filler, with the purpose and field list in the first line before the routing guidance. The second half is a long semicolon-chained run-on covering four unrelated facts, which is dense to parse, though no sentence is genuinely wasted.

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?

Given four parameters, one required, one enum, and an existing output schema, the description covers the routing decision, parameter edge cases, and the deliberate exclusion of sensitive fields. Nothing an agent needs to call this correctly is missing, and it correctly avoids re-explaining return values.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real semantics the schema omits: the single-id restriction on `account_id` versus the API's multi-id filter, and the fact that `limit` applies after both filters are applied. The status pass-through/400 behavior clarifies what an invalid enum-adjacent value does at runtime.

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 cards") and enumerates the fields returned (last four, name on card, nickname, kind, type, status, limits, budgets, locks). It explicitly distinguishes itself from `get_card` and `list_merchants`, so an agent can route correctly without opening a sibling 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?

"Use this to find card ids or filter cards by account or status" states the selection condition, and it names the alternatives with the condition that selects them: `get_card` when a card id is already known, `list_merchants` for merchants a lock can name. Both when-to-use and when-not-to-use are covered.

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