Skip to main content
Glama

invite_participants

Send survey invitations to participants in LimeSurvey. Specify survey ID and participant tokens to distribute invitations for data collection.

Instructions

Invite participants to a LimeSurvey survey.

Args: sid: The survey ID. tokens: The participant tokens. If None, invite all participants.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidYes
tokensNo

Implementation Reference

  • main.py:584-593 (handler)
    The main handler function for the 'invite_participants' tool. It is decorated with @mcp.tool(), which registers the tool in the FastMCP framework. The function invites specified or all participants to the survey by delegating to the LimeSurvey client's invite_participants method.
    @mcp.tool() def invite_participants(sid: int, tokens: list[str] = None) -> dict[str, Any]: """Invite participants to a LimeSurvey survey. Args: sid: The survey ID. tokens: The participant tokens. If None, invite all participants. """ with get_client() as client: return client.invite_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