Skip to main content
Glama

import_group

Add a question group to a LimeSurvey survey by importing a file, enabling structured data collection for research or feedback forms.

Instructions

Import a group to a LimeSurvey survey.

Args: sid: The survey ID. group_file: The group file content (base64 encoded). group_name: The name for the imported group.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidYes
group_fileYes
group_nameNo

Implementation Reference

  • main.py:473-484 (handler)
    The main handler function for the 'import_group' tool. It is registered via the @mcp.tool() decorator, which FastMCP uses to expose it as an MCP tool. The function imports a group into a LimeSurvey survey by delegating to the underlying client library.
    @mcp.tool() def import_group(sid: int, group_file: str, group_name: str = None) -> int: """Import a group to a LimeSurvey survey. Args: sid: The survey ID. group_file: The group file content (base64 encoded). group_name: The name for the imported group. """ with get_client() as client: return client.import_group(sid, group_file, group_name)

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