Skip to main content
Glama

Export survey structure to a file (experimental)

limesurvey_export_survey_to_file

Export a LimeSurvey survey structure as .lss file to a specified directory. Requires experimental methods enabled.

Instructions

Attempt to export a survey's structure as .lss and write it inside LIMESURVEY_EXPORT_DIR, returning a path instead of base64. Core LimeSurvey RemoteControl2 has no export_survey method (verified 2026-07-24 against api.limesurvey.org and the LimeSurvey source); this tool only works if a custom plugin exposes an equivalent RPC method, so it requires LIMESURVEY_ENABLE_EXPERIMENTAL_METHODS=true and otherwise always fails with a clear EXPORT_UNSUPPORTED error. Prefer property-based verification (list_groups, list_questions, get_survey_properties, get_group_properties, get_question_properties) over round-trip diffing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameNoOptional output file name without a directory.
overwriteNoAllow replacing an existing file.
survey_idYesNumeric LimeSurvey survey ID.
document_typeNoStructure export format.lss
confirm_overwriteNoRequired acknowledgement when overwrite is true.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
workflowYes
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations provide readOnlyHint=false, destructiveHint=false, openWorldHint=true. Description adds critical details: writes a file, returns path instead of base64, always fails with EXPORT_UNSUPPORTED without flag. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with primary action, includes critical caveats about experimental status and failure condition. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers all essential aspects for an agent: purpose, experimental nature, requirements, failure scenario, and preferred alternatives. Output schema presumably handles return values, so no gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, each parameter has a clear description. The tool description does not add new information beyond what's in the schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool attempts to export a survey's structure as .lss and write it to a directory, returning a path. It distinguishes itself from other export tools by specifying it's for survey structure and is experimental.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance: prefers property-based verification over this tool, states experimental requirement (LIMESURVEY_ENABLE_EXPERIMENTAL_METHODS=true), and notes that core RC2 lacks this method, so it only works with custom plugins. Clear when to use and alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/Wagner-Emden-IT-Services/limesurvey-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server