Skip to main content
Glama

list_orders

Retrieve account purchase history including domain purchases, renewals, and transfers from the Dynadot registrar.

Instructions

List all orders (purchases, renewals, transfers) in the account history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool registration and handler implementation for "list_orders".
    server.tool(
      "list_orders",
      "List all orders (purchases, renewals, transfers) in the account history.",
      {},
      async () => {
        try {
          const result = await client.listOrders();
          return {
            content: [
              { type: "text" as const, text: JSON.stringify(result, null, 2) },
            ],
          };
        } catch (error) {
          const msg = error instanceof Error ? error.message : String(error);
          return {
            content: [
              { type: "text" as const, text: `Failed to list orders: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/dynadot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server