Skip to main content
Glama

save_responses

Store survey response data in LimeSurvey using the survey ID and provided input. Facilitates efficient management of survey submissions via MCP client integration.

Instructions

Save responses for a LimeSurvey survey.

Args: sid: The survey ID. data: The response data to save.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
sidYes

Implementation Reference

  • main.py:304-313 (handler)
    The handler function for the 'save_responses' tool. It is decorated with @mcp.tool() for registration and executes by calling the LimeSurvey client's save_responses method.
    @mcp.tool() def save_responses(sid: int, data: dict[str, Any]) -> bool: """Save responses for a LimeSurvey survey. Args: sid: The survey ID. data: The response data to save. """ with get_client() as client: return client.save_responses(sid, data)
  • main.py:304-304 (registration)
    The @mcp.tool() decorator registers the save_responses function as an MCP tool.
    @mcp.tool()

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