Skip to main content
Glama

BIN Lookup

BINLookup
Read-only

BIN Lookup: BIN Lookup is a BIN checker API: send the first 6 to 8 digits of a payment card and get the card brand, type (debit or credit), issuing bank and country of issuance back as JSON. Check incoming cards at checkout before you charge them. (Cost: 10 credits)

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": {
      "bin": "<bin>"
    },
    "name": "BINLookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNoOptional IP address of the customer paying with the card. When given, customerIp says which country the IP is in and whether it matches the country that issued the card
binYesThe first six digits of the credit card number (BIN)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered by structured fields. The description adds genuinely new behavioral facts beyond those annotations: the billing cost of 10 credits and the fact that results come back as JSON. It does not discuss rate limits or failure modes, but with annotations present that is a minor gap.

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?

The body is tight and front-loads the input-to-output mapping, then the use case, then cost. The opening is weakened by redundancy: 'BIN Lookup: BIN Lookup is a BIN checker API' repeats the name and title twice before saying anything useful.

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?

The tool is simple: two documented parameters, full schema coverage, a declared output schema and complete annotations. The description supplies purpose, intended use, cost and output format, which is everything an agent needs to call it correctly without inventing details.

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 100%, and the schema already explains both the bin and the optional ip parameter, including the customerIp cross-country comparison. The description adds almost nothing about parameters beyond its slightly different '6 to 8 digits' allowance versus the schema's 'first six digits'. Baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb and resource: send the first 6-8 digits of a card and receive brand, debit/credit type, issuing bank and country as JSON. That is far more informative than the title. It does not, however, distinguish this from adjacent siblings such as CardValidator or TestCardGenerator, which an agent could plausibly confuse it with.

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?

It gives a concrete usage context: 'Check incoming cards at checkout before you charge them,' which tells an agent the intended call site. There are no explicit exclusions or named alternatives, so there is no guidance on when to prefer CardValidator or other card tools instead.

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.