Skip to main content
Glama

manage_backorder_auctions

View open or closed backorder auctions, get auction details, and place bids on expired domain names through the Dynadot registrar.

Instructions

View backorder auctions (open or closed) or get details/place a bid on a specific backorder auction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction: 'list_open', 'list_closed', 'details' (get info), or 'bid' (place bid)
auction_idNoAuction ID (required for 'details' and 'bid')
amountNoBid amount (required for 'bid')
currencyNoCurrency for the bid

Implementation Reference

  • The tool 'manage_backorder_auctions' is registered and implemented in src/tools/marketplace.ts using server.tool. It defines the schema and implements logic to list open/closed auctions, get details, and place bids.
    server.tool(
      "manage_backorder_auctions",
      "View backorder auctions (open or closed) or get details/place a bid " +
        "on a specific backorder auction.",
      {
        action: z
          .enum(["list_open", "list_closed", "details", "bid"])
          .describe(
            "Action: 'list_open', 'list_closed', 'details' (get info), or 'bid' (place bid)"
          ),
        auction_id: z
          .string()
          .optional()
          .describe("Auction ID (required for 'details' and 'bid')"),
        amount: z
          .string()
          .optional()
          .describe("Bid amount (required for 'bid')"),
        currency: z
          .string()
          .optional()
          .describe("Currency for the bid"),
      },
      async ({ action, auction_id, amount, currency }) => {
        try {
          let result;
          switch (action) {
            case "list_open":
              result = await client.getOpenBackorderAuctions();
              break;
            case "list_closed":
              result = await client.getClosedBackorderAuctions();
              break;
            case "details":
              if (!auction_id) {
                return {
                  content: [
                    { type: "text" as const, text: "auction_id is required for 'details'" },
                  ],
                  isError: true,
                };
              }
              result = await client.getBackorderAuctionDetails(auction_id);
              break;
            case "bid":
              if (!auction_id || !amount) {
                return {
                  content: [
                    { type: "text" as const, text: "auction_id and amount are required for 'bid'" },
                  ],
                  isError: true,
                };
              }
              result = await client.placeBackorderAuctionBid(auction_id, amount, currency);
              break;
          }
          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: `Backorder auction operation failed: ${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