Skip to main content
Glama
edgarrmondragon

LimeSurvey MCP Server

delete_participants

Remove survey participants by specifying their tokens and survey ID to manage participant data in LimeSurvey.

Instructions

Delete participants from a LimeSurvey survey.

Args:
    sid: The survey ID.
    tokens: The participant tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidYes
tokensYes

Implementation Reference

  • main.py:572-582 (handler)
    The handler function for the 'delete_participants' MCP tool. It is registered with @mcp.tool() decorator and executes the deletion by calling the underlying LimeSurvey client method.
    @mcp.tool()
    def delete_participants(sid: int, tokens: list[str]) -> bool:
        """Delete participants from a LimeSurvey survey.
    
        Args:
            sid: The survey ID.
            tokens: The participant tokens.
        """
        with get_client() as client:
            return client.delete_participants(sid, tokens)

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