IDNTEQ tools
Server Details
EMV and payments, SIM and eSIM, SMPP and SIP tools: decode, check, build and derive per spec.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 51 tools
Tools are carefully layered, and descriptions cross-reference siblings (e.g. e164_imsi_global_title explicitly defers to sim_imsi_parse; sim_identify is declared a dispatcher over the ICCID/IMSI/EID parsers). The main overlap is emv_apdu_decode vs sim_apdu_decode, which both decode APDUs but for different ecosystems, and emv_tlv_decode vs emv_apdu_decode/emv_tag_lookup, which partially duplicate TLV and tag-value decoding. These are separable with careful reading but remain the most likely misselection points.
Names follow a domain-prefix + verb_noun convention throughout (emv_tlv_decode, sim_ef_decode, sip_message_parse, iso8583_build, key_tr31_unwrap), so the prefix reliably signals the subdomain. The verbs vary across build/decode/parse/compute/lookup/check/count/code, so an action is not always named the same way (decode vs parse vs unwrap), but the pattern stays predictable and readable.
51 tools is far above the comfortable range, and an agent must pick from a large surface in one shot. The breadth is genuine — EMV, SIM/eSIM, SIP/SDP, SMPP, SMS/USSD, ISO 8583 and key management are distinct subdomains with roughly 5–8 well-earned tools each. It is justified but heavy; splitting by subdomain would help.
Coverage per subdomain is strong and often symmetric (TLV build/decode, APDU build/decode, TR-31 build/decode/unwrap, PIN block build/decode, ISO 8583 build/decode/compare, SIP parse/ladder/pcap/anonymize/digest). Gaps are minor: no encoders for SMPP PDUs, SIP messages or EMV certificates, and some decoders (e.g. EMV CA key handling) are lookup-only. Agents can work around these by using the build-side tools present in adjacent formats.
Available Tools
51 toolscrypto_cipherSymmetric encrypt / decryptARead-onlyIdempotentInspect
Encrypts or decrypts data with DES/TDES (NIST SP 800-67; 8, 16 or 24-byte keys) or AES (FIPS 197; 16, 24 or 32-byte keys) in ECB or CBC mode (NIST SP 800-38A). Padding: none (data must be whole blocks), ISO/IEC 9797-1 method 1 (zeros) or method 2 (80 then zeros), or PKCS#7; added before encryption and removed after decryption. CBC uses the given IV, or zeros when none is given. Returns the result and the key's check value. Use test keys and test data only.
Inputs: key (required), data (required), algorithm (required), operation (required), +3 more.
crypto_hashHash calculatorARead-onlyIdempotentInspect
Computes the SHA-1 or SHA-256 digest (FIPS 180-4) of binary data given as hex, as used for EMV certificate hashes and CA key checksums. Spaces, colons and line breaks between bytes are ignored; empty data gives the hash of no bytes.
Inputs: data (required), algorithm (required).
crypto_macMAC calculatorARead-onlyIdempotentInspect
Computes a message authentication code: ISO/IEC 9797-1 MAC algorithm 1 (DES/TDES CBC-MAC, zero IV), MAC algorithm 3 / ANSI X9.19 retail MAC (16-byte key K1 ‖ K2), or AES-CMAC (NIST SP 800-38B, RFC 4493). Padding for the DES MACs: ISO/IEC 9797-1 method 1 or 2, or none (the message must then be whole 8-byte blocks); AES-CMAC pads itself. Returns the full MAC block; truncate it as your protocol requires. Use test keys and test data only.
Inputs: key (required), data (required), type (required), padding.
e164_imsi_global_titleIMSI to E.214 global titleARead-onlyIdempotentInspect
Splits an IMSI (ITU-T E.212, 3GPP TS 23.003 §2.2) into MCC, MNC (2 or 3 digits) and MSIN, and shows how it maps to an E.214 Mobile Global Title: the MCC is replaced by the E.164 country code and the MNC by the operator's network code (NC), followed by the MSIN. The NC is operator data that cannot be derived from the MNC, so the result is the structure with 'NC' in place, never a made-up number. The MNC length is certain only when the MCC+MNC is in the bundled sample set; otherwise both readings are returned. A matched network is returned with its source; there is no list output. For the network name from the full E.212 list and EF_IMSI decoding, use sim_imsi_parse.
Inputs: imsi (required).
e164_number_parseE.164 number formatterARead-onlyIdempotentInspect
Validates a telephone number and formats it as E.164 (+CC followed by the national significant number, at most 15 digits, ITU-T E.164 §6). Accepts international form (+, 00 or 011), a tel: URI (RFC 3966, with ;ext=), and national form when country gives the ISO 3166 code of a supported national plan (the trunk prefix is removed). The country code is the longest matching prefix in the ITU-T E.164 list of assigned country codes (shared codes such as +1 and global services such as +800 are named). '(0)' after the country code is dropped except for Italy, San Marino and Vatican City. Valid means well-formed with an assigned country code; it does not mean the number is in service. After number portability, a number's prefix does not identify its operator.
Inputs: number (required), country.
emv_afl_decodeAFL and static data builderARead-onlyIdempotentInspect
Decodes the Application File Locator (EMV 4.4 Book 3 §10.2) from a GET PROCESSING OPTIONS response (format 1 '80' or format 2 '77', §6.5.8) or a bare AFL, lists the records the terminal reads with their READ RECORD commands (§6.5.11), and, given the record responses, assembles the static data to be authenticated (§10.3): records marked for offline data authentication (SFI 1–10 without the 70 header, SFI 11–30 whole) followed by the AIP when the Static Data Authentication Tag List (9F4A) asks for it. Returns the static data and its SHA-1 (of the static data alone, not the certificate hash). Records may be given as a log of READ RECORD exchanges or one response per line. May contain card data. Use test keys and test data only.
Inputs: gpo (required), read_as, records.
emv_apdu_decodeAPDU decoderARead-onlyIdempotentInspect
Decodes smart-card APDUs: one command or response, or a tracer log with one APDU per line (>> / << or C: / R: direction markers, timestamps and # comments are accepted). Commands: class byte (ISO/IEC 7816-4 §5.1.1), instruction name for ISO 7816-4, EMV 4.4 Book 3 §6 and GlobalPlatform commands (SELECT, GET PROCESSING OPTIONS, READ RECORD, GENERATE AC, VERIFY, STORE DATA and others), P1/P2 meaning, case 1–4 short or extended, Lc, data and Le. Responses: status word meaning (61xx, 6Cxx and the 63Cx PIN try counter included) and the data decoded as BER-TLV with EMV tag names when it parses cleanly. Secure messaging is named in the class byte but not decrypted. A line that cannot be read is reported with its line number and position. May contain card data. Use test keys and test data only.
Inputs: apdus (required).
emv_arqc_verifyARQC / ARPC calculatorARead-onlyIdempotentInspect
Computes the application cryptogram (ARQC/TC/AAC) per EMV 4.4 Book 2 §8.1: card key (UDK) from the issuer master key with Option A or B (Annex A1.4), session key by the EMV common session key method (Annex A1.3) or SK = UDK, ISO/IEC 9797-1 padding method 1 or 2, and MAC algorithm 3 (retail MAC). Returns every intermediate value (Y, UDK, session key, padded data) with key check values. With an ARQC to verify, reports match or mismatch and, on a mismatch, tries common input variations (other session-key method, other padding, padding already present, byte-swapped ATC, other derivation option) and names any that reproduce it. Optionally computes the ARPC: method 1 with the ARC (§8.2.1) or method 2 with the CSU, decoded per Book 3 Annex C10 (§8.2.2). Presets: visa-cvn18 (Option B, EMV CSK, method 2 padding, ARPC method 2) and visa-cvn10 (Option A, SK = UDK, method 1 padding, ARPC method 1), each confirmed by a published example (AWS Payment Cryptography documentation, pyemv); emv-csk (Option A, EMV CSK, method 2 padding). The transaction data must already be concatenated in the order the cryptogram version defines. Mastercard CVN 12/13 session keys are not supported. Use test keys and test data only.
Inputs: key (required), data (required), arc, atc, +12 more.
emv_ca_key_lookupEMV CA public key lookupARead-onlyIdempotentInspect
Looks up an EMV certification authority public key (EMV 4.4 Book 2 §11) in the list published on idnteq.net, compiled from public sources (network key lists published by acquirers and terminal vendors, open-source EMV kernels); each key lists its sources, its status (production, test or unknown) and, where a source states one, its expiry. With rid and index, returns the modulus, exponent and SHA-1 checksum over RID, index, modulus and exponent. With rid only, lists the indexes known for that RID. Not a key distribution service: check the network's current bulletin before loading a key into a terminal.
Inputs: rid (required), index.
emv_cert_recoverEMV certificate validatorARead-onlyIdempotentInspect
Recovers and validates the EMV offline data authentication certificates (EMV 4.4 Book 2 §5–6): the issuer public key certificate (tag 90, Table 6) with a CA public key, then the ICC public key certificate (tag 9F46, Table 14) with the rebuilt issuer key. For each: the recovered fields (identifier, expiry, serial, algorithms, key lengths), the public key rebuilt from the certificate and the remainder (92 / 9F48), the SHA-1 hash check over the Table 6 / Table 14 input (for the ICC certificate including the static data to be authenticated, Book 3 §10.3), structure checks (6A … BC framing, BB padding, exponent 03 or 010001, remainder rules, N_IC ≤ N_I ≤ N_CA) and the expiry against a reference date. The CA key is found automatically in the bundled list, chosen by RID and index, or given as modulus and exponent; the trust verdict names its status (production, test, unknown or entered by hand). Certificates may also be given already recovered. The link to the card's PAN, revocation lists and scheme acceptance are not checked. Use test keys and test data only.
Inputs: issuer_certificate (required), ca_rid, ca_index, icc_mode, +10 more.
emv_cvv_computeCVV / CVC calculatorARead-onlyIdempotentInspect
Computes a card verification value with the CVV / CVC method (DES/TDES with the CVK pair CVKA ‖ CVKB and decimalisation), as published in the psec library: PAN ‖ expiry ‖ service code, zero-padded to 32 digits, two DES/TDES steps, then the first three decimal digits. The service code selects the value: the track's own code (e.g. 201) for CVV1/CVC1, 000 for CVV2/CVC2, 999 for iCVV. Returns the value, each intermediate step and the key check values. Whether the expiry is YYMM or MMYY depends on the issuer. Dynamic CVV, CVC3 and Amex CSC are not computed. Use test keys and test data only.
Inputs: cvk (required), pan (required), expiry (required), service_code (required).
emv_dgi_decodeDGI / CPS perso decoderARead-onlyIdempotentInspect
Decodes personalization data as Data Grouping Identifiers (EMV Card Personalization Specification v1.0 §2.2 and Annex A): DGI (2 bytes), length (1 byte, or FF and 2 bytes) and data, in plain framing or with an 8802 marker before each DGI. Names the common DGIs of CPS Annex A (record DGIs 01nn–1Enn, 8000 DES keys, 9000 key check values, 8010 reference PIN, 9010 PIN counters, 81xx–83xx ICC key parts, 9102 SELECT data, 9104 GPO data) and decodes their TLV content with EMV tag names. Encrypted DGIs (first byte 80–8F, CPS §2.2) are hidden unless reveal_encrypted is set. Optionally checks the presence of the CPS common DGIs. Scheme-specific DGIs are not named. Contains key material and card data. Use test keys and test data only.
Inputs: data (required), framing, checklist, reveal_encrypted.
emv_dol_decodeEMV DOL decoderARead-onlyIdempotentInspect
Decodes an EMV Data Object List (EMV 4.4 Book 3 §5.4): a list of tags each followed by a one-byte length, with no values, as in PDOL (9F38), CDOL1 (8C), CDOL2 (8D), TDOL (97) and DDOL (9F49). Returns each tag with its EMV name, the length the card asks for, its offset in the data the terminal builds, and the total length of that data.
Inputs: dol (required).
emv_rsa_modexpRaw RSA calculatorARead-onlyIdempotentInspect
Computes raw RSA (modular exponentiation) as used for EMV public-key operations (EMV 4.4 Book 2 §5–6, Annex A2): result = data ^ exponent mod modulus, left-padded to the modulus length. No padding scheme, signature format or certificate parsing; use emv_cert_recover to recover and check EMV certificates. The data must be smaller than the modulus.
Inputs: data (required), modulus (required), exponent (required).
emv_tag_lookupEMV tag dictionaryARead-onlyIdempotentInspect
Looks up an EMV data element in a dictionary of 89 tags from EMV 4.4 Books 1–4 and the EMV Contactless Books: name, format, length, defining book, template, description and, for bitmap tags (82, 95, 9B, 9F07, 9F27, 9F33, 9F40, 9F66, 9F6C), the meaning of each bit. Search by tag (e.g. 9F26) or by words in the name (e.g. 'cryptogram'). With a value, decodes it as that tag: dates, amounts, codes, AFL, CVM List, CVM Results, set bits. Payment-system-specific layouts such as Issuer Application Data (9F10) are not decoded.
Inputs: tag, query, value.
emv_tlv_buildEMV TLV builderARead-onlyIdempotentInspect
Encodes a list of data objects as BER-TLV (EMV 4.4 Book 3 Annex B): tag, length (one byte below 128, otherwise 81 or 82 followed by the length) and value. Constructed tags (bit 6 of the first byte set, such as 6F, 70, 77, A5, BF0C, E0) take children and their lengths are computed. Returns the hex and the decoded result as a check.
Inputs: objects (required).
emv_tlv_decodeEMV TLV decoderARead-onlyIdempotentInspect
Decodes BER-TLV data as used on EMV cards (EMV 4.4 Book 3 Annex B, ISO/IEC 8825-1): FCI, GET PROCESSING OPTIONS responses, records, GENERATE AC responses, ISO 8583 DE 55. Each data object gets its EMV tag name and, for 89 tags from EMV 4.4 Books 1–4, a decoded value: dates, amounts with their currency, country and currency codes, PAN, Track 2, AFL, CVM List, CVM Results, and the set bits of AIP, TVR, TSI, AUC, CID, terminal capabilities, TTQ and CTQ. Values that break the tag's rules get a warning; structural problems are reported with their byte offset and the objects read up to that point are returned. Issuer Application Data (9F10) and other payment-system-specific layouts are shown raw. Limits: 64 KiB of input, 32 nesting levels, 5000 objects. Input may contain spaces, line breaks and 0x prefixes. May contain card data (PAN, Track 2). Use test keys and test data only.
Inputs: data (required).
esim_activation_code_parseeSIM activation code decoderARead-onlyIdempotentInspect
Decodes an eSIM activation code (GSMA SGP.22 §4.1, the string an eSIM QR code carries, e.g. LPA:1$SMDP.EXAMPLE.COM$MATCHING-ID): format version, SM-DP+ address (checked as an FQDN), matching ID, SM-DP+ OID, confirmation-code-required flag, and the SGP.22 v3 fields (CI public key indicator, Delete Notification for Device Change). Warns about a bad format version, address, OID, flag or length. Activation codes identify a profile download: use test codes.
Inputs: code (required).
esim_eid_parseEID parserARead-onlyIdempotentInspect
Parses an eUICC identifier (EID, 32 digits, GSMA SGP.29 §10 and SGP.22): checks the two check digits with ISO/IEC 7064 MOD 97-10 (the EID mod 97 must equal 1; this is not a Luhn digit) and gives the correct digits when they fail, and splits an 89-prefixed EID into MII, EUM country code (3 digits, zero-padded E.164), EUM issuer identifier and the manufacturer-specific digits. The country name comes from the ITU-T E.164 list; the answer carries its source credit.
Inputs: eid (required).
iso8583_buildISO 8583 message builderARead-onlyIdempotentInspect
Encodes an ISO 8583 test message per ISO 8583:1987 (message type indicator, primary and secondary bitmaps, data elements 2–128) in the chosen dialect (ASCII, ASCII with hex bitmap, or BCD) with an optional length header: MTI, primary and secondary bitmap (bit 1 set when a field above 64 is present), then each data element with its length prefix. Every value is checked against the field's format (fixed or LL/LLL variable, numeric, track, text or binary); problems are listed per field and nothing is encoded until they are fixed. Binary fields (52, 55, 64, 128) are given as hex; track 2 (35) uses = or D as separator. A template (emv-auth, auth-resp, financial, reversal, echo) gives a starting set of fields with made-up test data; fields given override it. No 1993/2003 layouts, EBCDIC, DE 65 or private subfields. Use test keys and test data only.
Inputs: mti, fields, header, dialect, +1 more.
iso8583_compareISO 8583 compareARead-onlyIdempotentInspect
Decodes two ISO 8583 messages (ISO 8583:1987 (message type indicator, primary and secondary bitmaps, data elements 2–128)), each in its own dialect, and compares them by data element on the decoded values, so messages in different dialects can be compared. Each element is same, different, only in A or only in B; when both carry DE 55 the EMV tags inside are compared too. Notes when B's MTI is the response to A's. May contain card data; mask hides it. Use test keys and test data only.
Inputs: message_a (required), message_b (required), mask, header_a, +3 more.
iso8583_decodeISO 8583 decoderARead-onlyIdempotentInspect
Decodes an ISO 8583 message per ISO 8583:1987 (message type indicator, primary and secondary bitmaps, data elements 2–128) in a declared dialect (ASCII, ASCII with hex bitmap, or BCD numeric) with an optional length header: MTI and its meaning, bitmaps, each data element with its name, type, offset and value, explanations of common codes (processing code, POS entry mode, response code including the EMV Book 4 terminal codes Y1, Z1, Y3, Z3), and DE 55 decoded as EMV BER-TLV (EMV 4.4 Book 3 Annex A tags). Errors give the byte offset and the data element. No EBCDIC, no DE 65 (tertiary bitmap), no subfields of private fields (48, 60–63, 120–127): network-specific layouts need their own dialect. May contain card data; mask hides it in the output. Use test keys and test data only.
Inputs: message (required), mask, header, dialect.
key_dukpt_deriveDUKPT calculatorARead-onlyIdempotentInspect
Derives DUKPT keys. TDES DUKPT (ANSI X9.24-1:2009 Annex A): 16-byte BDK and 10-byte KSN give the IPEK, one step per counter bit with the KSN register, the transaction key, the PIN, MAC request/response and data request/response variants, and the data encryption keys (variant through the one-way function). AES DUKPT (ANSI X9.24-3:2017 §6): AES-128/192/256 BDK and 12-byte KSN (8-byte initial key ID, 4-byte counter) give the initial key, the derivation steps, the intermediate derivation key and the working keys (KEK, PIN, MAC generate/verify/both, data encrypt/decrypt/both) of the chosen type with their derivation data. Every key has a check value (TDES: encrypt zeros; AES: CMAC of a zero block, X9.24-1:2017 Annex A). The variant is chosen from the BDK and KSN length. Use test keys and test data only.
Inputs: bdk (required), ksn (required), working_key_type.
key_kcv_computeKCV calculatorARead-onlyIdempotentInspect
Computes key check values: DES/TDES encrypts 8 zero bytes (ANSI X9.24) and AES encrypts 16 bytes of 01 (GlobalPlatform SCP03 convention); the KCV is the first 3 bytes. Give one key, or several key components: each component gets its own KCV and parity, and the combined key is their XOR with its KCV, as in a key ceremony. Reports DES parity per key (odd, even or mixed) and can set odd or even parity on the combined key before the KCV. AES-CMAC check values are not computed here (see key_tr31_unwrap and key_dukpt_derive, which report them). Use test keys and test data only.
Inputs: components (required), algorithm, set_parity.
key_tr31_buildTR-31 key block builderARead-onlyIdempotentInspect
Builds a key block per ASC X9 TR-31:2018 (key block versions A, B, C, D) and ANSI X9.143:2021 (header fields, optional blocks): header from the given fields and optional blocks (a PB padding block is added when needed), key length and key, padding, encryption and MAC with keys derived from the KBPK. Padding is random unless given; pass the padding of a published block to rebuild it byte for byte. mask_to pads as if the key were that many bytes, to hide its length. Use test keys and test data only.
Inputs: key (required), kbpk (required), usage (required), version (required), +7 more.
key_tr31_decodeTR-31 key block header decoderARead-onlyIdempotentInspect
Decodes the clear header of a key block per ASC X9 TR-31:2018 (key block versions A, B, C, D) and ANSI X9.143:2021 (header fields, optional blocks): version, length, key usage (B0 BDK, P0 PIN key, E0 EMV issuer master key and the others), algorithm, mode of use, key version number, exportability, key context, and each optional block (KS, IK, KC, KP, PB, TS…) with its meaning. The key itself stays encrypted; use key_tr31_unwrap with the KBPK to check the MAC and recover it. Use test keys and test data only.
Inputs: key_block (required).
key_tr31_unwrapTR-31 key block unwrapARead-onlyIdempotentInspect
Unwraps a key block per ASC X9 TR-31:2018 (key block versions A, B, C, D) and ANSI X9.143:2021 (header fields, optional blocks): derives the encryption and MAC keys from the KBPK (variant binding for A and C, CMAC key derivation for B and D, NIST SP 800-38B), verifies the MAC, and only when it verifies returns the clear key, its length and padding, and key check values (legacy KCV and, for AES, the CMAC KCV of ANSI X9.24-1:2017 Annex A). Version E (ISO 20038) is not unwrapped. Returns the decoded header too. Use test keys and test data only.
Inputs: kbpk (required), key_block (required).
pin_block_buildPIN block builderARead-onlyIdempotentInspect
Builds a PIN block per ISO 9564-1:2017 §9: format 0 (ANSI X9.8, PIN field XOR PAN field), format 1 (no PAN, fill digits), format 2 (ICC offline PIN, EMV 4.4 Book 3 §6.5.12), format 3 (PAN-bound, A–F fill) and format 4 (AES, 16-byte PIN and PAN fields). Returns the PIN field, PAN field and clear block. With a key, encrypts it: TDES (8, 16 or 24 bytes) for formats 0–3, AES (16, 24 or 32 bytes) for format 4 with its two intermediate blocks. Fill digits for formats 1, 3 and 4 are random unless given, so pass fill to reproduce a published block. Use test keys and test data only.
Inputs: pin (required), format (required), key, pan, +1 more.
pin_block_decodePIN block decoderARead-onlyIdempotentInspect
Decodes an ISO 9564-1:2017 PIN block: an 8-byte block (formats 0–3, the format is read from the control nibble) or a 16-byte format 4 block. With a key, decrypts it first (TDES for 8-byte blocks, AES for format 4). Formats 0, 3 and 4 need the PAN. Returns the PIN, its length, the fill, the PIN and PAN fields, and any structure problems (wrong fill, non-digit PIN, length nibble out of range), which usually mean a wrong key or PAN. Use test keys and test data only.
Inputs: block (required), key, pan.
pin_pvv_computeVisa PVV calculatorARead-onlyIdempotentInspect
Computes the Visa PIN Verification Value as published in the psec library: the transformed security parameter (TSP: 11 rightmost PAN digits before the check digit, the PVK index, the first 4 PIN digits) is encrypted with TDES under PVKA ‖ PVKB, then the PVV is the first four decimal digits of the result, completed from the A–F digits mapped to 0–5 when needed. Returns each step. With pvv, also verifies the PIN against it. IBM 3624 offsets and other PIN verification methods are not computed. Use test keys and test data only.
Inputs: pan (required), pin (required), pvk (required), pvki (required), +1 more.
sdp_offer_answer_checkSDP offer/answer checkerARead-onlyIdempotentInspect
Checks an SDP answer against its offer under the offer/answer model (RFC 3264, SDP per RFC 8866, examples of RFC 4317): for each m-line, whether it was accepted or rejected (port 0), the codecs both sides list with their payload types on each side (renumbered dynamic types are fine), codecs left out or added by the answer, the direction each way and whether it is a valid answer to the offered one (§6.1), which codec each side will send, and problems such as a different m-line count or order, no common codec, a private or unspecified connection address, ICE or DTLS on one side only. Paste bare SDP, or whole SIP messages carrying SDP; with the answer left empty, a call flow in offer is paired as in the SIP parser.
Inputs: offer (required), answer.
sim_apdu_buildSIM APDU builderARead-onlyIdempotentInspect
Assembles a short-length command APDU (ISO/IEC 7816-4 §5.1, ETSI TS 102 221 §10.1) from its parts: CLA, INS, P1, P2, optional data (Lc is computed) and optional Le (00 = maximum), and returns the hex with the APDU case (1–4). At most 255 data bytes: extended length is not built because TS 102 221 does not define it for the UICC. Decode the result with sim_apdu_decode.
Inputs: p1 (required), p2 (required), cla (required), ins (required), +2 more.
sim_apdu_decodeSIM APDU decoderARead-onlyIdempotentInspect
Decodes a command APDU as a SIM, USIM or eUICC sees it (ISO/IEC 7816-4, ETSI TS 102 221 Tables 10.3–10.5, 3GPP TS 51.011 for CLA A0, GlobalPlatform and GSMA SGP.22 for the proprietary class): the APDU case (1–4, short or extended length), the class byte (logical channel, secure messaging, chaining), the instruction name, P1/P2 meaning (SELECT modes, READ/UPDATE BINARY offset or SFI, READ RECORD modes, PIN references), Lc, data and Le; for a SELECT, the file of the UICC reference it reaches. Optionally decodes the status word (SW1 SW2, read in the command's context, e.g. 63CX) and a SELECT response's FCP template (TS 102 221 §11.1.1.3: file descriptor, FID, life cycle, security attributes, size, SFI, PIN status). Give at least one of command, status_word and response.
Inputs: command, response, status_word.
sim_ef_decodeSIM EF content decoderARead-onlyIdempotentInspect
Decodes the raw content (hex, as READ BINARY returns it) of one elementary file: EF_ICCID (2FE2, swapped-nibble BCD, ETSI TS 102 221 §13.2), EF_IMSI (6F07, length byte, parity and swapped-nibble BCD, 3GPP TS 31.102 §4.2.2), EF_SPN (6F46, display condition and the service provider name in GSM 7-bit or UCS2 per TS 102 221 Annex A, TS 31.102 §4.2.12), EF_AD (6FAD, UE operation mode and MNC length, §4.2.18), and the service tables EF_UST (6F38, available services, §4.2.8) and EF_EST (6F56, enabled services, §4.2.47).
Inputs: data (required), file (required).
sim_file_lookupSIM file system lookupARead-onlyIdempotentInspect
Looks up files in the UICC / USIM / classic SIM file system reference (ETSI TS 102 221, 3GPP TS 31.102, TS 31.103, TS 51.011; 21 files from the MF down): by file ID (e.g. 6F07), by name (e.g. EF_IMSI) or by a word of the description. For each match: FID (or AID for an ADF), structure, path, size, read and update access conditions (ALW, PIN, PIN2, ADM, NEVER), the spec clause, a description, the UICC SELECT commands that reach it (CLA 00, by AID and by path from the MF with P2 = 04) and, outside an ADF, the classic-SIM SELECTs (CLA A0), and whether sim_ef_decode can decode its content.
Inputs: query (required).
sim_iccid_generateICCID generatorARead-onlyIdempotentInspect
Builds a synthetic ICCID (ITU-T E.118) for testing: the prefix (starting with the telecom MII 89), then the fill digits or random digits up to the requested length, then the Luhn check digit (ISO/IEC 7812-1). Also returns the EF_ICCID content as swapped-nibble BCD padded to 10 bytes (ETSI TS 102 221 §13.2). The result is a test value, not an assigned issuer or account number. Without fill, the body digits are random on each call.
Inputs: length (required), prefix (required), fill.
sim_iccid_parseICCID parserARead-onlyIdempotentInspect
Parses an ICCID (Integrated Circuit Card Identifier, ITU-T E.118): checks the Luhn check digit (ISO/IEC 7812-1) and gives the correct one when it fails, splits the major industry identifier (89), the E.164 country code (with every plausible reading, e.g. the zero-padded 01 North American layout or an MCC in the country position) and the issuer/account digits, and gives the on-card EF_ICCID (2FE2) content as swapped-nibble BCD padded with F to 10 bytes (ETSI TS 102 221 §13.2). Accepts the printed digits or raw EF_ICCID hex; raw content is recognised by its structure, or forced with raw: true. Country and operator names come from the ITU-T E.164 and E.212 lists; the answer carries their source credit.
Inputs: iccid (required), raw.
sim_identifySIM identifier detectorARead-onlyIdempotentInspect
Recognises which SIM or eSIM identifier a string is and decodes it with the matching parser: ICCID (ITU-T E.118, printed or raw EF_ICCID per ETSI TS 102 221), IMSI (ITU-T E.212 / 3GPP TS 23.003, printed or raw EF_IMSI per TS 31.102), EID (GSMA SGP.29) or an SGP.22 activation code. IMEIs are not detected: a 15-digit IMEI looks like an IMSI. Returns kind "unknown" with the reason when nothing matches. Names of countries and operators carry their source credit.
Inputs: input (required).
sim_imsi_parseIMSI parserARead-onlyIdempotentInspect
Parses an IMSI (ITU-T E.212, 3GPP TS 23.003 §2.2) into MCC, MNC and MSIN. Because the MNC length (2 or 3 digits) cannot be read from the IMSI itself, both splits are returned, with the likelier one marked from the MNCs assigned under the MCC (or from mnc_length when known, e.g. from EF_AD byte 4). Also decodes raw EF_IMSI (6F07) content: length byte, parity and identity-type nibble and swapped-nibble BCD (3GPP TS 31.102 §4.2.2, TS 24.008). Country and operator names come from the ITU-T E.212 list and its supplements; the answer carries the source of each name.
Inputs: imsi (required), mnc_length.
sim_mccmnc_lookupMCC / MNC lookupARead-onlyIdempotentInspect
Looks up one mobile country code (MCC) and, optionally, one mobile network code (MNC) in the ITU-T E.212 list as amended by the ITU Operational Bulletins (US MCC 310–316 from the US IMSI Administrator; some India MCC 404/405 codes from India's Department of Telecommunications or Wikipedia, CC BY-SA 4.0). With an MNC: that network's name, or not found. With an MCC only: the country or area and how many MNCs are assigned under it (not the list). Every answer names the source of its data. One query per call; there is no bulk or list access, because the data is for reference use under ITU's terms.
Inputs: mcc (required), mnc.
sim_ota_decodeSIM OTA packet inspectorARead-onlyIdempotentInspect
Explains SIM over-the-air (OTA) messages field by field: the ENVELOPE (SMS-PP DOWNLOAD) a handset sends to the card (3GPP TS 31.111 §7.1.1.2), SMS-DELIVER / SMS-SUBMIT TPDUs and user data headers (TS 23.040, TS 31.115 §4), secured command packets and response packets / PoRs (ETSI TS 102 225 §5: CPL, CHL, SPI, KIc, KID, TAR with known TS 101 220 TARs, counter, padding counter, RC/CC/DS, response status codes) and the RFM/RAM command strings they carry, compact or expanded (ETSI TS 102 226 §5). One item per line; a PoR on the line after its command is read with that command's SPI, KIc and KID, and parts of a concatenated SMS are joined. Structure only, as on the site: no keys are taken, ciphered data stays ciphered and a checksum is shown but not verified.
Inputs: hex (required), kind.
sip_digest_checkSIP digest authentication checkerARead-onlyIdempotentInspect
Recomputes a SIP digest authentication response (RFC 3261 §22.4 with RFC 2617 and RFC 7616; RFC 8760 algorithms MD5, MD5-sess, SHA-256, SHA-256-sess, SHA-512-256, SHA-512-256-sess; qop auth and auth-int; userhash) from the challenge (WWW-Authenticate or Proxy-Authenticate), the credentials (Authorization or Proxy-Authorization), the request method and Request-URI, and the password. Returns each step (HA1, HA2, H(body) for auth-int, response) with the hashed string, the password shown as a placeholder; whether the sent response matches; and findings such as a uri parameter that differs from the Request-URI, a realm, nonce or algorithm that does not match the challenge, or the variation that would have matched. Paste the 401/407 and the request answering it as whole messages, a call flow, or just the two header lines. The password is used for this computation only and is not returned or stored. Use test keys and test data only.
Inputs: messages (required), password (required), uri, method, +1 more.
sip_message_parseSIP message parser and linterARead-onlyIdempotentInspect
Parses one SIP request or response (RFC 3261 §7, compact header forms of §7.3.3 expanded) into its start line, headers and Via stack, parses an SDP body (RFC 8866, RFC 3264), and lints it: mandatory headers (§8.1.1), Via branch magic cookie (§8.1.1.7), CSeq and method, Content-Length against the body counted with CRLF line breaks (§20.14), Max-Forwards, private addresses in Contact or SDP, Warning codes (§20.43). For a response it adds the IANA-registered meaning of the status code with its RFC section and, for common failures, IDNTEQ's notes on usual causes. Log prefixes and timestamps in front of each line are removed. A paste with several messages is split; index picks one (use sip_trace_ladder for the whole flow).
Inputs: message (required), index.
sip_pcap_ladderSIP capture (pcap/pcapng) to call ladderARead-onlyIdempotentInspect
Reads a packet capture in pcap (either byte order, micro- or nanosecond timestamps) or pcapng format (SHB, IDB, EPB, SPB, several interfaces) and finds SIP over UDP and TCP on any port by its start line (RFC 3261 §7). Link types: Ethernet with 802.1Q/802.1ad VLAN tags and MPLS, Linux cooked capture (SLL, SLL2), raw IPv4/IPv6 and BSD loopback; IPv4 and IPv6 fragments are reassembled, TCP streams are put back in sequence and split on Content-Length. Returns the capture statistics and notes, the messages with source, destination and time, the calls grouped by Call-ID, the ladder with time deltas and the offer/answer per call. Not read: SIP over TLS, WebSocket and SCTP. The capture is sent base64-encoded, at most 2 MB decoded; it is processed in memory and not stored. Set include_text to get the SIP messages as text (sngrep layout) for sip_message_parse or sip_trace_anonymize.
Inputs: capture (required), include_text.
sip_response_lookupSIP response code lookupARead-onlyIdempotentInspect
Looks up one SIP status code (100-699) in the IANA 'Session Initiation Protocol (SIP) Parameters' Response Codes registry: the registered reason phrase, the defining RFC and section (RFC 3261 §21 and later RFCs), a one-sentence meaning and, for common failures (401, 403, 404, 407, 408, 480, 486, 488, 491, 500, 503, 603), IDNTEQ's notes on usual causes. An unregistered code in range gets its class meaning. With type 'warning' it looks up a Warning header warn-code (RFC 3261 §20.43 and the IANA warn-codes registry). One code per call.
Inputs: code (required), type.
sip_trace_anonymizeSIP trace anonymizerARead-onlyIdempotentInspect
Rewrites a SIP trace (messages, log lines, sngrep or ngrep output) so it can be shared: IPv4 and IPv6 addresses become documentation addresses (RFC 5737, RFC 3849; private ones keep a separate range), telephone numbers, SIP user parts, display names and host names become placeholders, and Call-ID, tags, Via branches (keeping the z9hG4bK magic cookie), urn:uuid values and digest auth parameters (username, realm, nonce, cnonce, response, opaque) are replaced. The same original value always gets the same replacement, so the call flow still reads correctly. Loopback, unspecified and broadcast addresses are kept. Unlike the browser tool on telcobench.com, this anonymization runs on the server: the trace is sent to the API, processed in memory and not stored. To keep a trace on your machine, use the browser tool.
Inputs: trace (required).
sip_trace_ladderSIP call flow ladderARead-onlyIdempotentInspect
Reads a pasted SIP trace (several messages from a log, sngrep or ngrep text output; address lines such as 'U 2026/12/02 10:00:00.123 192.0.2.1:5060 -> 198.51.100.2:5060' give source, destination and time) and returns the messages in order with their Call-ID, From/To, CSeq and lint errors (RFC 3261), the calls grouped by Call-ID with the final response to the first request, the ladder (columns are the addresses when known, otherwise the top Via host and 'other side') and, per call, where the SDP offer and answer are and what differs between them (RFC 3264). Message splitting honours Content-Length for message/sipfrag and multipart bodies.
Inputs: trace (required).
smpp_pdu_decodeSMPP PDU decoderARead-onlyIdempotentInspect
Decodes one or more SMPP PDUs (SMPP v3.4 Issue 1.2, with the SMPP v5.0 commands, TLVs and command_status values): the 16-octet header, every mandatory body field and TLV with its offset, length and meaning, data_coding (3GPP TS 23.038 §4), esm_class and the User Data Header (3GPP TS 23.040 §9.2.3.24, concatenation and port addressing), the short_message text in GSM 7-bit (packed or unpacked), Latin-1 or UCS-2, and delivery receipts (v3.4 Appendix B). Several PDUs in a row are framed on command_length; segments of a concatenated message are reassembled. Accepts hex (spaces, 0x prefixes and line breaks allowed), a Wireshark or tcpdump hex dump of a whole TCP frame (the link, IP and TCP headers are skipped), or base64. Problems are reported per field instead of failing.
Inputs: input (required), charset.
smpp_status_lookupSMPP command_status lookupARead-onlyIdempotentInspect
Looks up one SMPP command_status value, given as hex (0x58), decimal (88) or by name (ESME_RTHROTTLED): its ESME_ name and meaning from SMPP v3.4 Issue 1.2 §5.1.3 (Table 5-2) and SMPP v5.0 §4.7.6, which versions define it, and, for common errors, IDNTEQ's note on the usual cause and fix. Values in the reserved and vendor-specific ranges are reported as such. One code per call.
Inputs: status (required).
sms_segments_countSMS segment calculatorARead-onlyIdempotentInspect
Works out how a text is sent as SMS: the encoding (GSM 7-bit default alphabet with its extension table, 3GPP TS 23.038 §6.2.1, or UCS-2 when any character is outside it), the cost in septets or UTF-16 units, the number of parts and where each part ends (160/153 septets, 70/67 units; 152/66 with the 16-bit concatenation reference of TS 23.040 §9.2.3.24.8), the characters that force UCS-2 and the extension characters that cost two septets, and the SMPP data_coding value. A part never splits an escape sequence or a surrogate pair. When typographic look-alikes (smart quotes, dashes, ellipsis) are the only reason for UCS-2, the result also counts the text with them replaced.
Inputs: text (required), ref16, encoding.
ussd_string_codeUSSD string codingARead-onlyIdempotentInspect
Codes a USSD string as carried in the MAP ussd-String parameter (3GPP TS 29.002): GSM 7-bit default alphabet packed 8 characters to 7 octets (3GPP TS 23.038 §6.1.2.3) with the USSD padding rule of §6.1.2.3.1, and DCS 0x0F; or UCS-2 with DCS 0x48 when a character is outside the GSM 7-bit alphabet (DCS per TS 23.038 §5). Reports septets, padding, octets and whether the string fits the 160-octet limit. Decode takes the ussd-String hex and the DCS (0x0F or 0x48) and returns the text, dropping the padding .
Inputs: direction (required), dcs, text, ussd_string.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
ASN.1 tools. Validate, compile ASN.1 schema, encode and decode ASN.1 data.
Decode, encode, generate and debug ETSI V2X / C-ITS messages (CAM, DENM, CPM...) and ASN.1 schemas.
Offline IBAN/BIC/EU VAT/card/ISBN/GTIN validators + live USD stablecoin peg-health verdict.
Lightning-paid (L402) Bitcoin & data tools: PSBT, PoisonCheck, FormatCheck, QR-Bill, Timestamps.
Related MCP Servers
- AlicenseAqualityAmaintenanceISO 20022 assistant over MCP: 10 tools to search the message catalogue, validate, lint, generate, translate, convert and diff ISO 20022 messages and check them against bank profiles. Runs locally over stdio with no keys or config.101Apache 2.0
- AlicenseAqualityBmaintenanceZero-dependency MCP server for COBOL, EBCDIC, COMP-3 packed decimal, and IBM 80-column Hollerith punch card inspection, decoding, and validation.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI assistant to decode QRIS payment payloads into named fields, validate their TLV structure and CRC checksum with explicit error codes, rewrite a static code into a dynamic one with a Rupiah amount, and render the result as an SVG QR code. Runs fully offline with no API key, network access, or file writes.81 npmMIT
- AlicenseAqualityBmaintenanceZero-dependency, 100% offline developer platform exposing 16 MCP tools (stdio & Streamable HTTP) for secret/SARIF scanning, .env drift, OpenAPI-to-Mock & contract drift, JWT audit, ReDoS-safe regex, SQL EXPLAIN analysis, log fingerprinting, Protobuf wire decoding, TLS cert inspection, and XML/YAML/TOML/JSON conversion.161,375 npm1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.