Skip to main content
Glama

confirm_marketplace_action

Confirm or reject domain marketplace actions from Afternic or Sedo integrations to manage domain transactions.

Instructions

Confirm or reject a marketplace action from Afternic or Sedo integration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesMarketplace platform: 'afternic' or 'sedo'
domainYesDomain name
actionYesAction to confirm (e.g., 'accept', 'reject')

Implementation Reference

  • Implementation and registration of the 'confirm_marketplace_action' tool.
    server.tool(
      "confirm_marketplace_action",
      "Confirm or reject a marketplace action from Afternic or Sedo integration.",
      {
        platform: z
          .enum(["afternic", "sedo"])
          .describe("Marketplace platform: 'afternic' or 'sedo'"),
        domain: z.string().describe("Domain name"),
        action: z.string().describe("Action to confirm (e.g., 'accept', 'reject')"),
      },
      async ({ platform, domain, action }) => {
        try {
          const result =
            platform === "afternic"
              ? await client.setAfternicConfirmAction(domain, action)
              : await client.setSedoConfirmAction(domain, action);
          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: `Marketplace confirmation 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