Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

search_agents

Find specific agents in Freshdesk by querying their details. Enhance support operations by integrating AI models to automate and manage customer interactions effectively.

Instructions

Search for agents in Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Implementation Reference

  • The handler and registration for the 'search_agents' MCP tool. This async function queries the Freshdesk API's agent autocomplete endpoint with the provided query term and returns the list of matching agents.
    @mcp.tool() async def search_agents(query: str) -> list[Dict[str, Any]]: """Search for agents in Freshdesk.""" url = f"https://{FRESHDESK_DOMAIN}/api/v2/agents/autocomplete?term={query}" 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