Skip to main content
Glama

connector-delete

Remove a Simplifier Connector from the platform by specifying its name to clean up unused integrations and manage connector resources.

Instructions

Delete a Connector

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectorNameYesName of the Connector to delete

Implementation Reference

  • Handler function that executes the deletion of a connector by calling simplifier.deleteConnector with the provided connectorName.
    ({ connectorName }) => {
      return wrapToolResult(`delete connector ${connectorName}`, async () => {
        const trackingKey = trackingToolPrefix + toolNameConnectorDelete
        return await simplifier.deleteConnector(connectorName, trackingKey);
      });
    });
  • Zod input schema defining the connectorName parameter for the tool.
    inputSchema: {
      connectorName: z.string()
        .describe("Name of the Connector to delete"),
    },
  • Registration of the 'connector-delete' tool using server.registerTool, including schema, annotations, and handler.
    const toolNameConnectorDelete = "connector-delete"
    server.registerTool(toolNameConnectorDelete, 
      {
        description: `# Delete a Connector`,
        inputSchema: {
          connectorName: z.string()
            .describe("Name of the Connector to delete"),
        },
        annotations: {
          title: "Delete a Connector",
          readOnlyHint: false,
          destructiveHint: true,
          idempotentHint: true,
          openWorldHint: true,
        },
      },
      ({ connectorName }) => {
        return wrapToolResult(`delete connector ${connectorName}`, async () => {
          const trackingKey = trackingToolPrefix + toolNameConnectorDelete
          return await simplifier.deleteConnector(connectorName, trackingKey);
        });
      });

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/SimplifierIO/simplifier-mcp'

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