Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

view_agent

Retrieve detailed information about a Freshdesk support agent using their unique agent ID. This tool integrates with the Freshdesk MCP server to streamline agent management and support operations.

Instructions

View an agent in Freshdesk.

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Input Schema (JSON Schema)

{ "properties": { "agent_id": { "title": "Agent Id", "type": "integer" } }, "required": [ "agent_id" ], "title": "view_agentArguments", "type": "object" }

Implementation Reference

  • The main handler function for the 'view_agent' tool. It retrieves details of a specific agent from the Freshdesk API using the provided agent_id. Decorated with @mcp.tool() for automatic registration.
    @mcp.tool() async def view_agent(agent_id: int)-> Dict[str, Any]: """View an agent in Freshdesk.""" url = f"https://{FRESHDESK_DOMAIN}/api/v2/agents/{agent_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