Skip to main content
Glama
edgarrmondragon

LimeSurvey MCP Server

add_language

Add a new language to a LimeSurvey survey by specifying the survey ID and language code to enable multilingual survey capabilities.

Instructions

Add a language to a LimeSurvey survey.

Args:
    sid: The survey ID.
    language: The language code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidYes
languageYes

Implementation Reference

  • main.py:522-532 (handler)
    The handler function for the 'add_language' tool, decorated with @mcp.tool() for registration in the MCP server. It delegates the operation to the LimeSurvey client.
    @mcp.tool()
    def add_language(sid: int, language: str) -> bool:
        """Add a language to a LimeSurvey survey.
    
        Args:
            sid: The survey ID.
            language: The language code.
        """
        with get_client() as client:
            return client.add_language(sid, language)

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/edgarrmondragon/limesurvey-mcp'

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