Skip to main content
Glama

delete_question

Remove a specific question from a LimeSurvey survey by providing the question ID using the MCP client integration.

Instructions

Delete a question from a LimeSurvey survey.

Args: qid: The question ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qidYes

Implementation Reference

  • main.py:486-495 (handler)
    The main handler function for the 'delete_question' tool. It is decorated with @mcp.tool() which serves as registration. The function takes a question ID (qid) and uses a client to delete the question, returning a boolean.
    @mcp.tool() def delete_question(qid: int) -> bool: """Delete a question from a LimeSurvey survey. Args: qid: The question ID. """ with get_client() as client: return client.delete_question(qid)
  • main.py:486-486 (registration)
    The @mcp.tool() decorator registers the delete_question function as an MCP tool.
    @mcp.tool()
  • The function signature and docstring define the input schema (qid: int) and output (bool), used by MCP for tool schema.
    def delete_question(qid: int) -> bool: """Delete a question from a LimeSurvey survey. Args: qid: The question ID. """

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