Skip to main content
Glama
JurreBrandsenInfoSupport

Zendesk API MCP Server

delete_automation

Remove automations from Zendesk Support by specifying the automation ID, enabling streamlined management of workflows through the Zendesk API MCP Server.

Input Schema

NameRequiredDescriptionDefault
idYesAutomation ID to delete

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "id": { "description": "Automation ID to delete", "type": "number" } }, "required": [ "id" ], "type": "object" }

Implementation Reference

  • Handler function that executes the delete_automation tool logic by calling the Zendesk client delete method.
    handler: async ({ id }) => { try { await zendeskClient.deleteAutomation(id); return { content: [{ type: "text", text: `Automation ${id} deleted successfully!` }] }; } catch (error) { return { content: [{ type: "text", text: `Error deleting automation: ${error.message}` }], isError: true }; } }
  • Input schema using Zod for the automation ID parameter.
    schema: { id: z.number().describe("Automation ID to delete") },
  • src/server.js:48-52 (registration)
    Registration of all tools including delete_automation via the MCP server's tool method in a loop over allTools which includes automationsTools.
    allTools.forEach((tool) => { server.tool(tool.name, tool.schema, tool.handler, { description: tool.description, }); });
  • Supporting ZendeskClient method that performs the actual DELETE API request to delete the automation.
    async deleteAutomation(id) { return this.request("DELETE", `/automations/${id}.json`); }

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/JurreBrandsenInfoSupport/zendesk-mcp'

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