Skip to main content
Glama

IDNTEQ tools

eSIM activation code decoder

esim_activation_code_parse
Read-onlyIdempotent

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.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "LPA:1$SMDP.GSMA.COM$04386-AGYFT-A74Y8-3F815$1.3.6.1.4.1.31746$1"
    },
    "name": "esim_activation_code_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe activation code, with or without the LPA: prefix.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety needs no restating. The description adds real behavioral value beyond that: it lists the validation performed (FQDN check on the SM-DP+ address, format version, OID, flag, length) and states that problems are surfaced as warnings rather than errors, implying lenient/best-effort parsing. It stops short of saying what happens on a totally unparseable string or the shape of the warning output.

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 behavior is front-loaded in the opening clause, and the parenthetical spec citation plus the inline example do useful work. The middle sentence is a dense comma-separated enumeration of returned fields, which is efficient but slightly hard to scan. The closing caution about test codes is short and earns its place.

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 no output schema, the description must carry the return value, and it does so by naming every extracted field including the SGP.22 v3 additions. It also covers input format, validation/warning behavior, and a safety caveat about real activation codes. Nothing material is missing for a single-parameter read-only parser.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter and the schema already documents it at 100% coverage, including the note that the LPA: prefix is optional. The description reinforces this by showing a full example code, which makes the accepted string form concrete. Beyond that it adds no new parameter-level constraints, so it does not exceed what a well-documented single-parameter schema provides.

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 specific verb and resource ('Decodes an eSIM activation code'), grounds it in the GSMA SGP.22 §4.1 string carried by an eSIM QR code, and gives a concrete example. It then enumerates exactly which sub-fields are extracted, which clearly separates it from sibling parsers such as esim_eid_parse and sim_iccid_parse.

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?

Usage is implied rather than stated: the reader infers this is for turning an LPA activation-code string into its components. The only guidance offered is the caution 'Activation codes identify a profile download: use test codes,' which is a good safety note but not when-to-use versus alternatives or when-not-to-use. No sibling is named or excluded.

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