Skip to main content
Glama
Mercury Multiorg MCP

Mercury Multiorg MCP

Get one card

get_card
Read-onlyIdempotent

Fetch a Mercury card's details by entity and card ID, including last four digits, name, status, spend limits, budgets, and locks; excludes PAN, CVC, and expiry.

Instructions

One card's details: last four, name, status, type, kind, spend limits, budgets, locks. No PAN, CVC, or expiry.

    Use this when you have a card id; use `list_cards` to find or filter
    cards. `card_id` is checked for path safety (1-64 letters, digits,
    `-`, `_`) before any request.
    

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>",
      "card_id": "<card_id>"
    },
    "name": "get_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesExact `entity` key from `list_entities`, not its `display_name`. Required; there is no default.
card_idYesCard id from `list_cards`, or a non-null `cardId` on a `list_transactions` row.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.6
    • changedInput schema / properties / card_id / description
      Previous value: -"Card id from `list_cards`."New value: +"Card id from `list_cards`, or a non-null `cardId` on a `list_transactions` row."
    • 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
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered structurally. The description adds two things beyond that: a data-sensitivity disclosure (no PAN/CVC/expiry returned) and the fact that card_id is validated for path safety before any request is issued. It does not address error or not-found behavior, so it stops short of a 5.

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?

Front-loaded with what the tool returns, followed by the usage branch and then the validation note. Three short blocks, no repeated or filler text; every sentence carries distinct information.

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 and the description still summarizes the returned fields, so return values need no further explanation. For a two-parameter read tool with full annotation coverage, everything an agent needs to select and call it correctly is present.

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 both parameters (entity key sourcing, card_id sourcing). The description nevertheless adds a constraint found nowhere in the schema — card_id must be 1-64 chars of letters, digits, '-' or '_' — which helps the agent avoid invalid calls. That is genuine added meaning above the baseline of 3.

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?

Names a specific resource and operation ('One card's details') and enumerates exactly which fields come back: last four, name, status, type, kind, spend limits, budgets, locks. The explicit 'No PAN, CVC, or expiry' scope boundary makes it unmistakable versus a general card listing.

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?

States the precondition directly ('Use this when you have a card id') and names the alternative for the other case ('use `list_cards` to find or filter cards'). The two paths are cleanly separated with no inference required.

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