Skip to main content
Glama

Resume a paused Widely eSIM's data

resume_esim_data
Idempotent

Staff only. For a Widely eSIM line paused by the cheapest-SIM check or waiting on a next data pack. Without confirm it shows, per line, the decision for the country, the pause country and reason, the last reprovision attempt and retry time, whether the wallet covers the next chunk, whether a live product exists, and what confirm would do. With confirm: if Widely is not the cheapest SIM there, this records a 30-day Keep Pay as you go choice made by staff for that country, and the customer is then charged the PAYG rate there; the paused lines resume at once. Otherwise it only retries the next-pack reprovision and records no choice.

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": {
      "consumer_user_id": "<consumer_user_id>",
      "country": "<country>"
    },
    "name": "resume_esim_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoRecords the staff choice (if blocked) and resumes.
countryYesTwo-letter country code where data is paused.
consumer_user_idYesThe customer's seat (consumer_user_id from find_account).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructive=false, idempotent=true, which would understate the consequences. The description discloses the real behaviour: without confirm it is a dry-run that reports the country decision, pause reason, last reprovision attempt and retry time, wallet coverage and product availability; with confirm it can record a 30-day staff Keep PAYG choice and cause the customer to be charged the PAYG rate. It also flags the staff-only access requirement — a material constraint the annotations do not carry.

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?

Front-loading 'Staff only' and the eligibility condition is good structuring, and the without-confirm/with-confirm split mirrors how the agent must decide. The mid-section sentence enumerating what the preview returns is long and comma-heavy, but every clause carries decision-relevant information rather than filler.

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 and a mutation-capable tool, the description compensates fully: it specifies access restriction, eligibility, what the preview returns, exactly what confirm records and charges, and that lines resume immediately. An agent has everything needed to choose the mode and warn about the billing consequence without opening any other tool.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: confirm is reframed as a preview-versus-act switch with distinct side effects rather than merely 'records the staff choice', and country is tied to the per-country cheapest-SIM decision and the 30-day choice being recorded for that country. This is more than a restatement of the field descriptions.

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 pairs a specific verb (resume) with a specific resource (a Widely eSIM line's data) and narrows scope to lines paused by the cheapest-SIM check or awaiting a next data pack. That is enough for an agent to identify the operation, but it never names a sibling (e.g. subscription_resume) to contrast with, so differentiation is inferential.

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 states the two precise preconditions that make a line eligible (paused by the cheapest-SIM check, or waiting on a next data pack) and clearly separates the preview path from the acting path via the confirm flag. What it lacks is explicit routing against alternatives — it does not say which tool to use for a line that is paused for some other reason or when the customer is not on Widely.

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.