Skip to main content
Glama
edgarrmondragon

LimeSurvey MCP Server

set_participant_properties

Update participant properties in LimeSurvey surveys using token and survey ID to manage respondent data.

Instructions

Set LimeSurvey participant properties.

Args:
    token: The participant token.
    sid: The survey ID.
    properties: The properties to set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
sidYes
propertiesYes

Implementation Reference

  • main.py:596-608 (handler)
    The handler function for the 'set_participant_properties' tool, decorated with @mcp.tool() for registration. It uses type hints for input schema (token: str, sid: int, properties: dict[str, Any]) and returns bool. The logic delegates to the LimeSurvey client's set_participant_properties method via a context-managed client.
    @mcp.tool()
    def set_participant_properties(
        token: str, sid: int, properties: dict[str, Any]
    ) -> bool:
        """Set LimeSurvey participant properties.
    
        Args:
            token: The participant token.
            sid: The survey ID.
            properties: The properties to set.
        """
        with get_client() as client:
            return client.set_participant_properties(token, sid, properties)

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