Skip to main content
Glama

eSIM QR code

get_esim_qr
Read-onlyIdempotent

Fetch an eSIM activation QR code as an image so users can scan it directly from MCP clients that render images inline.

Instructions

Fetch the activation QR code for an eSIM as an image. Most MCP clients render the image inline so the user can scan it directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
esim_idYesesim_... id

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
esim_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "esim_id": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "esim_id"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changedv1.1.8
    • addedInput schema / properties / esim_id / description
      Added value: +"esim_... id"
    • addedInput schema / properties / esim_id / pattern
      Added value: +"^(?:esim_[A-Za-z0-9_-]{1,64})$"
  3. First observedv1.1.3

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the payload is an image and most clients render it inline, which matters for how the agent presents the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero waste, and the core action is front-loaded before the rendering note. Every sentence earns its place.

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?

With annotations covering safety and an output schema covering return values, the description only needs to explain the action and the image behavior, which it does. It could note failure modes (invalid or unprovisioned esim_id), but nothing essential is missing.

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?

One parameter with 100% schema description coverage and a pattern constraint, so the schema carries the semantics. The description adds nothing about the esim_id beyond what the schema documents, making the baseline 3 correct.

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 (Fetch), resource (activation QR code for an eSIM) and the return modality (as an image). An agent can distinguish it from sibling read tools like get_esim_status or get_esim_qr-style lists without opening the schema.

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: it explains that the image renders inline for the user to scan, which implies when this tool is useful, but it never names an alternative or a when-not condition (e.g. if the user only wants status, use get_esim_status).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.