Skip to main content
Glama

delete_group

Remove a group from a LimeSurvey survey by specifying the survey ID and group ID. This action helps manage survey structure efficiently.

Instructions

Delete a group from a LimeSurvey survey.

Args: sid: The survey ID. gid: The group ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gidYes
sidYes

Implementation Reference

  • main.py:449-458 (handler)
    The main handler function for the 'delete_group' tool. It is decorated with @mcp.tool() which registers it in the FastMCP server. The function deletes the specified group (gid) from the survey (sid) by calling the underlying LimeSurvey client's delete_group method.
    @mcp.tool() def delete_group(sid: int, gid: int) -> bool: """Delete a group from a LimeSurvey survey. Args: sid: The survey ID. gid: The group ID. """ with get_client() as client: return client.delete_group(sid, gid)

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