Skip to main content
Glama
edgarrmondragon

LimeSurvey MCP Server

save_responses

Store survey responses in LimeSurvey by providing survey ID and response data to maintain collected information.

Instructions

Save responses for a LimeSurvey survey.

Args:
    sid: The survey ID.
    data: The response data to save.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidYes
dataYes

Implementation Reference

  • main.py:304-313 (handler)
    The MCP tool handler for 'save_responses'. It is registered via @mcp.tool() decorator and implements the tool logic by calling the LimeSurvey client's save_responses method.
    @mcp.tool()
    def save_responses(sid: int, data: dict[str, Any]) -> bool:
        """Save responses for a LimeSurvey survey.
    
        Args:
            sid: The survey ID.
            data: The response data to save.
        """
        with get_client() as client:
            return client.save_responses(sid, data)

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