Skip to main content
Glama

bin_check

Read-onlyIdempotent

Scheme from the first 6–8 digits — never a full PAN — Offline Issuer Identification Number check: accepts 6–8 digits only (refuses anything that looks like a full PAN), returns Visa/Mastercard/Amex/Discover/JCB/UnionPay/Maestro when the prefix is known. Not a live BIN registry lookup. Required input: bin. Priced $0.002 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.

Input Schema

NameRequiredDescriptionDefault
binYesBIN (6–8 digits)

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), the description discloses refusal behavior for full-PAN-looking input, the offline/non-registry nature of the check, pricing at $0.002 per call over x402, the prepaid x-credit-token header for unlimited use, and the free tier. These are exactly the operational facts an agent needs and that annotations cannot convey.

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 core purpose is front-loaded in the opening clause, and the pricing/auth tail is dense but earns its place by covering access mechanics. It is slightly longer than strictly necessary given the schema and annotations already cover safety.

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?

With an output schema present, return values need not be spelled out, yet the description still names the returned schemes. Input constraints, refusal behavior, cost, auth, and free-tier terms are all covered, leaving no material gap for a one-parameter tool.

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 100% and the single parameter already carries the 'BIN (6–8 digits)' description, so the schema does the heavy lifting. The description restates 'Required input: bin' and the digit constraint, adding only the refusal nuance, which is marginal beyond the schema.

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?

States a specific verb and resource — an offline Issuer Identification Number check that derives the card scheme from a 6–8 digit prefix — and enumerates the exact schemes returned. It is clearly distinguishable from siblings like iban_check and bic_check, which target different identifiers.

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 line 'Not a live BIN registry lookup' gives an explicit when-not boundary, steering the agent away from expecting registry-grade data. However, it never names the alternative sibling tools an agent should pick instead for related identifier checks, so it stops short of full routing guidance.

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