Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

view_solution_category

Retrieve detailed information about a specific solution category in Freshdesk using its category ID. Enables efficient management and organization of support resources.

Instructions

View a solution category in Freshdesk.

Input Schema

NameRequiredDescriptionDefault
category_idYes

Input Schema (JSON Schema)

{ "properties": { "category_id": { "title": "Category Id", "type": "integer" } }, "required": [ "category_id" ], "title": "view_solution_categoryArguments", "type": "object" }

Implementation Reference

  • The handler function for the 'view_solution_category' MCP tool. It takes a category_id and retrieves the details of that solution category from the Freshdesk API via GET request to /solutions/categories/{category_id}. The @mcp.tool() decorator registers it as a tool.
    @mcp.tool() async def view_solution_category(category_id: int)-> Dict[str, Any]: """View a solution category in Freshdesk.""" url = f"https://{FRESHDESK_DOMAIN}/api/v2/solutions/categories/{category_id}" headers = { "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}" } async with httpx.AsyncClient() as client: response = await client.get(url, headers=headers) return response.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/effytech/freshdesk_mcp'

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