Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

update_solution_category_folder

Modify solution category folder details in Freshdesk to streamline support operations. Input folder ID and updated fields to adjust folder attributes efficiently.

Instructions

Update a solution category folder in Freshdesk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_fieldsYes
folder_idYes

Implementation Reference

  • The core handler function decorated with @mcp.tool(), which registers and implements the 'update_solution_category_folder' tool. It performs a PUT request to the Freshdesk API to update the specified solution category folder, with basic validation for the 'name' field.
    @mcp.tool()
    async def update_solution_category_folder(folder_id: int, folder_fields: Dict[str, Any])-> Dict[str, Any]:
        """Update a solution category folder in Freshdesk."""
        if not folder_fields.get("name"):
            return {"error": "Name is required"}
        url = f"https://{FRESHDESK_DOMAIN}/api/v2/solutions/folders/{folder_id}"
        headers = {
            "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}"
        }
        async with httpx.AsyncClient() as client:
            response = await client.put(url, headers=headers, json=folder_fields)
            return response.json()
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states 'Update' implying a mutation, but doesn't cover permissions needed, whether changes are reversible, rate limits, or what the response looks like. This is inadequate for a mutation tool with zero 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 with zero wasted words. It's appropriately sized and front-loaded, making it easy to parse quickly.

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?

For a mutation tool with 2 parameters, 0% schema coverage, no annotations, and no output schema, the description is incomplete. It doesn't explain what fields can be updated, what happens on success/failure, or provide any operational context needed for reliable use.

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%, so the description must compensate for undocumented parameters. It adds no information about 'folder_id' or 'folder_fields' beyond what the schema titles imply. The agent is left guessing about parameter formats, constraints, or example values.

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 ('Update') and resource ('a solution category folder in Freshdesk'), making the purpose unambiguous. However, it doesn't distinguish this tool from sibling update tools like 'update_solution_category' or 'update_solution_article', which would require more specificity to earn a 5.

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?

No guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites, appropriate contexts, or differentiate it from other update operations in the sibling list, leaving the agent without usage direction.

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