Skip to main content
Glama

add_quota

Enhance LimeSurvey surveys by defining and adding quotas using specific survey IDs and quota data, ensuring response limits are managed effectively.

Instructions

Add a quota to a LimeSurvey survey.

Args: sid: The survey ID. quota_data: The quota data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quota_dataYes
sidYes

Implementation Reference

  • main.py:634-644 (handler)
    The handler function for the 'add_quota' MCP tool. It uses the LimeSurvey client to add a quota to the specified survey. The @mcp.tool() decorator registers this function as a tool.
    @mcp.tool() def add_quota(sid: int, quota_data: dict[str, Any]) -> int: """Add a quota to a LimeSurvey survey. Args: sid: The survey ID. quota_data: The quota data. """ with get_client() as client: return client.add_quota(sid, quota_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