Skip to main content
Glama

add_survey

Create a new survey in LimeSurvey by providing survey data through the MCP server integration.

Instructions

Add a new LimeSurvey survey.

Args: survey_data: The survey data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
survey_dataYes

Implementation Reference

  • main.py:368-377 (handler)
    The main handler function for the 'add_survey' MCP tool. It is decorated with @mcp.tool() for registration and executes the logic to add a new survey using the LimeSurvey client by calling client.add_survey with the provided survey_data.
    @mcp.tool() def add_survey(survey_data: dict[str, Any]) -> int: """Add a new LimeSurvey survey. Args: survey_data: The survey data. """ with get_client() as client: return client.add_survey(**survey_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