Skip to main content
Glama
JurreBrandsenInfoSupport

Zendesk API MCP Server

delete_article

Remove articles from Zendesk Guide by specifying the article ID to delete unwanted or outdated help content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesArticle ID to delete

Implementation Reference

  • The handler function that executes the 'delete_article' tool logic, invoking the Zendesk client and formatting success/error responses.
    handler: async ({ id }) => { try { await zendeskClient.deleteArticle(id); return { content: [{ type: "text", text: `Article ${id} deleted successfully!` }] }; } catch (error) { return { content: [{ type: "text", text: `Error deleting article: ${error.message}` }], isError: true }; } }
  • Input schema using Zod for validating the article ID parameter.
    schema: { id: z.number().describe("Article ID to delete") },
  • The tool is registered with the name 'delete_article' within the helpCenterTools array.
    name: "delete_article",
  • Helper method in ZendeskClient that performs the actual DELETE request to the Help Center articles API endpoint.
    async deleteArticle(id) { return this.request("DELETE", `/help_center/articles/${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