Skip to main content
Glama

Get cards

mofi_cards_get
Read-onlyIdempotent

Find one masked card, list cards, or filter by account or connection. Monetary values use { amount, currency } with amount as an exact decimal string; credit limits and available credit are not bank cash. Pass page.nextCursor unchanged to continue the same query.

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": {
      "mode": "<mode>"
    },
    "name": "mofi_cards_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesfindOne requires cardId; query requires where; findAll accepts page.
pageNoOpaque keyset pagination.
whereNoquery: exactly accountId OR connectionId. Legacy type tags accepted.
cardIdNoRequired only for findOne.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
modeNo
pageNo
errorNoTyped error (code, message, retryable, details); set when isError is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / $defs / Record / properties / balanceCloseDate
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / Record / properties / balanceDueDate
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real behavior beyond that: monetary fields are { amount, currency } with amount as an exact decimal string, credit limits and available credit are not bank cash, and the pagination cursor must be passed through unchanged. Those are semantic traps an agent would otherwise hit, though the description does not say what happens on a stale or invalid cursor.

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?

Three dense sentences, front-loaded with the mode enumeration before the monetary and pagination caveats. Every sentence carries information, though the monetary-encoding sentence is somewhat compressed and would read better split into the format rule and the 'not bank cash' caveat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a full input schema, an output schema, and annotations carrying the safety profile, the remaining burden is low, and the description covers pagination continuity and monetary semantics. It is close to complete, with only minor gaps around cursor expiry behavior and error conditions.

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 description coverage is 100%, so the baseline is 3, and the description earns above that by explaining that page.nextCursor must be returned verbatim to continue the same query - meaning the schema's 'Opaque keyset pagination' does not convey. It also clarifies the monetary encoding that parameters/returns use. It adds no extra detail on the accountId-vs-connectionId exclusivity, which is left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource and three modes: 'Find one masked card, list cards, or filter by account or connection.' That maps one-to-one onto the findOne/findAll/query enum, so an agent can tell what the tool returns without opening the schema. It stops short of naming what a card object contains or how it differs from sibling resource tools, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the three verbs suggest three modes, but the description never states when to prefer findOne over query, nor any precondition such as needing a known cardId or accountId first. The mode-selection rules (cardId required, where required, page only for findAll) live in the schema, not in the description, so the guidance is adequate but thin.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.