Skip to main content
Glama
JurreBrandsenInfoSupport

Zendesk API MCP Server

get_group

Retrieve detailed information about a specific Zendesk group using its unique ID to manage support team organization and access permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesGroup ID

Implementation Reference

  • The MCP tool handler for 'get_group', which retrieves the group by ID using zendeskClient and formats the response as text content or error.
    handler: async ({ id }) => { try { const result = await zendeskClient.getGroup(id); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error getting group: ${error.message}` }], isError: true }; } }
  • Zod input schema for the 'get_group' tool, requiring a numeric 'id' parameter.
    schema: { id: z.number().describe("Group ID") },
  • src/server.js:48-52 (registration)
    Registration of the 'get_group' tool (among others from groupsTools) to the MCP server via dynamic loop over allTools.
    allTools.forEach((tool) => { server.tool(tool.name, tool.schema, tool.handler, { description: tool.description, }); });
  • Helper method in ZendeskClient that performs the actual API GET request to retrieve a group by ID, invoked by the tool handler.
    async getGroup(id) { return this.request("GET", `/groups/${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