Skip to main content
Glama

FMF Tools Dev Utils

id_card

Payment card number check (Luhn + brand) ($0.001 per call, paid via MPP on Tempo). Luhn check, brand (Visa, Mastercard, Amex, Discover, JCB, Diners, UnionPay, Maestro), length validity and BIN prefix for up to 100 numbers. Numbers are never stored or echoed: only the last 4 come back. HTTP POST https://mpp-utils.fmf-x402.workers.dev/id/card. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "id_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberNo
numbersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so well: it discloses the per-call price ($0.001), the payment mechanism (MPP on Tempo), the fact that this wrapper does not settle payment itself, the auth header requirement, the 100-number batch ceiling, and the privacy guarantee that numbers are never stored or echoed with only the last 4 returned.

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-loads the core purpose, then layers cost, validation scope, privacy, endpoint, and payment instructions in a logical order. Slight redundancy in restating 'Luhn' from the opening parenthetical, and the payment paragraph is dense, but nearly every sentence carries operational value.

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?

Covers the essentials an agent needs: what is validated, batch limit, cost, payment prerequisite, and what comes back (last 4 only). No output schema exists, and the description gestures at return content but does not say whether per-number valid/brand results are returned or what a failure response looks like, which is the main remaining gap.

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 coverage is 0%, so the description must compensate for two undocumented parameters. It partially does: 'up to 100 numbers' explains the batch array's limit and 'only the last 4 come back' clarifies output masking. But it never distinguishes the singular 'number' parameter from the 'numbers' array, nor states whether they are mutually exclusive or how they combine, leaving a real ambiguity.

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 operation on a specific resource: payment card number validation covering Luhn, brand, length, and BIN prefix. The brand list (Visa, Mastercard, Amex, etc.) makes the scope concrete and distinguishes it from sibling validators like id_iban or id_gs1.

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?

Gives useful invocation context by naming the payment path alternatives (send an MPP Payment Authorization header, or use mppx against the HTTP route), which tells the agent how to actually succeed. However, it offers no guidance on when to pick this validator versus the sibling id_* tools, and no explicit exclusion conditions.

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.

Resources