Skip to main content
Glama

add_group

Create a new group in a LimeSurvey survey to organize questions and structure your questionnaire effectively.

Instructions

Add a group to a LimeSurvey survey.

Args: sid: The survey ID. group_data: The group data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidYes
group_dataYes

Implementation Reference

  • main.py:437-447 (handler)
    The MCP tool handler for 'add_group'. This function is decorated with @mcp.tool(), defining the tool's implementation as a wrapper around the LimeSurvey client's add_group method. The type hints and docstring provide the input schema.
    @mcp.tool() def add_group(sid: int, group_data: dict[str, Any]) -> int: """Add a group to a LimeSurvey survey. Args: sid: The survey ID. group_data: The group data. """ with get_client() as client: return client.add_group(sid, group_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