Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

view_canned_response

Retrieve a predefined canned response from Freshdesk by specifying its ID. Facilitates quick access to standardized replies for efficient ticket management and customer support.

Instructions

View a canned response in Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
canned_response_idYes

Implementation Reference

  • The handler function decorated with @mcp.tool(), implementing the logic to fetch a specific canned response from Freshdesk API by ID. This decorator also serves as the registration for the MCP tool.
    @mcp.tool()
    async def view_canned_response(canned_response_id: int)-> Dict[str, Any]:
        """View a canned response in Freshdesk."""
        url = f"https://{FRESHDESK_DOMAIN}/api/v2/canned_responses/{canned_response_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()
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'View' implies a read-only operation, but it doesn't specify if this requires authentication, rate limits, or what the output format looks like. The description is minimal and lacks details on permissions, error handling, or response structure, which is inadequate for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly, though this conciseness comes at the cost of missing details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and 0% schema description coverage, the description is incomplete. It doesn't explain the return values, error conditions, or behavioral nuances needed for effective tool use. For a tool with one required parameter and no structured support, the description should provide more context to be fully helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the parameter 'canned_response_id' is undocumented in the schema. The description adds no information about this parameter, such as what it represents, how to obtain it, or its format. With low coverage and no compensation in the description, this leaves the parameter's meaning unclear.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('view') and resource ('canned response in Freshdesk'), making the purpose specific and understandable. However, it doesn't differentiate from sibling tools like 'view_agent' or 'view_company', which follow the same pattern, so it doesn't fully distinguish itself from alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites like needing a canned_response_id, nor does it compare to related tools such as 'list_canned_responses' or 'update_canned_response', leaving usage context unclear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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