Skip to main content
Glama

List orders

list_orders
Read-onlyIdempotent

List SMS verifications, rentals, dedicated numbers, eSIMs, and proxies with status and price. Find orders whose purchase result was lost before buying again, then fetch details.

Instructions

List your orders: SMS verifications (ver_...), long-term rentals (ren_...), dedicated numbers (ded_...), eSIMs (esim_...) and proxies (prx_...), with status and price. Without kind: the newest orders of every list. With kind: one page of that list, optionally filtered by status, with a cursor for the next page (only verifications are paged newest first). Use it to find an order whose purchase result was lost before buying again (e.g. kind='verification', status='waiting_for_code'), then the matching get tool for details. Number rows end with the dashboard's order number (#...), so an order the user names by that number can be matched to its id. Statuses - verification: waiting_for_code/code_received/cancelled/expired; rental: active/expired/cancelled; dedicated: active/expired; esim: processing/completed/cancelled/refunded/expired; proxy: provisioning/active/expired/exhausted/refunded.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOne list to page through ('sms' = the first page of verifications and rentals)
limitNoWith kind: page size (default 20). Without kind: newest orders shown per kind (default 5)
cursorNoWith kind: next_cursor from the previous page of the same list
statusNoWith kind: only orders in this status (see the description for each kind's statuses)

Output Schema

NameRequiredDescriptionDefault
ordersYes
partialNo
next_cursorNo
incomplete_kindsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.0
    • addedOutput schema / properties / orders / items / properties / display_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed2 schema fields changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed7 schema fields changedv1.2.1
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "With kind: next_cursor from the previous page of the same list",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • changedInput schema / properties / kind / description
      Previous value: -"Filter by kind (sms = verifications and long-term rentals)"New value: +"One list to page through ('sms' = the first page of verifications and rentals)"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "sms",
      -  "esim",
      -  "proxy",
      -  "dedicated"
      -]New value: +[
      +  "verification",
      +  "rental",
      +  "dedicated",
      +  "esim",
      +  "proxy",
      +  "sms"
      +]
    • removedInput schema / properties / limit / default
      Removed value: -20
    • addedInput schema / properties / limit / description
      Added value: +"With kind: page size (default 20). Without kind: newest orders shown per kind (default 5)"
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "With kind: only orders in this status (see the description for each kind's statuses)",
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "incomplete_kinds": {
      +      "items": {
      +        "enum": [
      +          "verification",
      +          "rental",
      +          "dedicated",
      +          "esim",
      +          "proxy"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "orders": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "charged_price_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "created_at": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "enum": [
      +              "verification",
      +              "rental",
      +              "dedicated",
      +              "esim",
      +              "proxy"
      +            ],
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "id",
      +          "status",
      +          "charged_price_cents",
      +          "created_at",
      +          "summary"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "partial": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "orders"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changedv1.1.8
    • changedInput schema / properties / kind / description
      Previous value: -"Filter by kind"New value: +"Filter by kind (sms = verifications and long-term rentals)"
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  5. First observedv1.1.3

TDQS

A4.4/5.0
Behavior3/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 the safety profile is covered elsewhere. The description adds real behavioral context beyond that: defaults (5 newest per kind vs default 20 page), the fact that only verifications page newest-first, and that number rows end with the dashboard order number (#...) for matching. However, it says nothing about ordering of non-verification lists or how a missing next_cursor should be interpreted, so it does not fully carry the behavioral burden.

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-loads the entity list, then modes, then use case, then statuses — a sensible order with no filler sentences. It is dense and long, and the trailing status enumeration is a block that could be more scannable, but every clause carries information an agent needs.

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?

An output schema exists, so return shapes need not be explained, and the description still covers the non-obvious bits: mode defaults, paging rules, status vocabularies, and order-number-to-id matching. For a zero-required-parameter list tool this is everything an agent needs to call it correctly.

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 meaning the schema only defers to: per-kind status value lists and the semantics of kind='sms'. The remaining ambiguity is around cursor scope across kinds, which is only hinted at ('previous page of the same list').

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 ('List your orders') and enumerates the id/prefix families it covers (ver_, ren_, ded_, esim_, prx_), so an agent knows exactly which entity types come back. It also explicitly separates itself from the matching 'get' tools for details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete when-to-use scenario ('find an order whose purchase result was lost before buying again', with example kind/status) and names the follow-up path ('then the matching get tool for details'). It also explains the two modes (with/without kind) and which one pages, leaving no ambiguity about defaults.

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