Skip to main content
Glama
zackscriven

lemma-banking-mcp

by zackscriven

lemma_create_card

Create a virtual debit card for a Lemma bank account. Enforce at least one spending limit to prevent unlimited spending and obtain user consent before issuance.

Instructions

WRITE -- CREATES A REAL FINANCIAL INSTRUMENT: issue a virtual debit card drawing on a Lemma bank account. At least one spending limit is REQUIRED (Lemma sets no ceiling of its own -- a card without limits could spend the entire account balance in one transaction). Requires explicit user approval before every call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to execute. Requires prior explicit approval from the human user.
nicknameYes
referenceYesStable caller-supplied identifier for THIS action (e.g. an invoice/payout ID). The Idempotency-Key is derived deterministically from it, so retrying with the same reference is safe (Lemma replays instead of re-executing). Use a NEW reference only for a genuinely new action.
bank_account_idYes
spending_limitsYesAt most one limit per interval; at least one required

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so well. It flags that this is a mutation ('WRITE'), creates a real financial instrument, and carries a severe consequence if used carelessly. The explicit approval requirement and the spending-limit warning go well beyond a generic 'create' description, though it stops short of covering failure modes or irreversibility.

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?

The description is three sentences with no filler. The action and risk are front-loaded, and the parenthetical about the entire account balance earning its place by preventing a catastrophic mis-call. Every sentence adds critical information.

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?

For a high-stakes mutation with five parameters, no output schema, and no annotations, the description covers the essential decision and invocation needs: what it does, the mandatory approval, and the unmissable spending-limit requirement. The only notable gap is not explicitly telling the agent to source bank_account_id from lemma_list_bank_accounts, but the overall safety-critical guidance makes this a minor omission.

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 60%, so the schema already documents confirm, reference, and spending_limits. The description adds valuable context for spending_limits by explaining why at least one is required, but it does not compensate for the undocumented bank_account_id and nickname parameters. An agent would still need to infer what those refer to, though 'drawing on a Lemma bank account' hints at bank_account_id.

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 description opens with a stark 'WRITE -- CREATES A REAL FINANCIAL INSTRUMENT' and then names the exact action: 'issue a virtual debit card drawing on a Lemma bank account.' It uses a specific verb and resource, and the contrast with sibling tools like lemma_get_card, lemma_delete_card, and the move-money tools is immediately clear.

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

Usage Guidelines4/5

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

The description gives clear operational prerequisites: at least one spending limit is REQUIRED, and explicit user approval is required before every call. It explains why the limit is mandatory by warning that a card without limits could spend the entire account balance. It does not explicitly name alternatives, but the context makes it evident this tool is for the creation step, not retrieval or deletion.

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