Skip to main content
Glama

get_marketplace_listings

Retrieve domain marketplace listings from Dynadot, either browsing all available domains or getting specific listing details by ID.

Instructions

View marketplace listings. Can list all available domains or get details of a specific listing by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listing_idNoSpecific listing ID to get details for (omit to list all)
paramsNoAdditional filter parameters for listing

Implementation Reference

  • The 'get_marketplace_listings' tool is implemented as a server.tool call. It handles fetching all listings or a specific listing by ID, then returns the result as a text content object.
    server.tool(
      "get_marketplace_listings",
      "View marketplace listings. Can list all available domains or get " +
        "details of a specific listing by ID.",
      {
        listing_id: z
          .string()
          .optional()
          .describe("Specific listing ID to get details for (omit to list all)"),
        params: z
          .record(z.string())
          .optional()
          .describe("Additional filter parameters for listing"),
      },
      async ({ listing_id, params }) => {
        try {
          let result;
          if (listing_id) {
            result = await client.getListingItem(listing_id);
          } else {
            result = await client.getListings(params);
          }
          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 get listings: ${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