Skip to main content
Glama

Export survey statistics

limesurvey_export_statistics
Read-onlyIdempotent

Export survey statistics as a base64-encoded PDF, XLS, or HTML document. Specify survey ID, document type, and optional parameters like language, group IDs, and graphs.

Instructions

Export survey statistics as a base64-encoded PDF, XLS, or HTML document.

Calls LimeSurvey RemoteControl method export_statistics. Authentication uses the configured service account; do not provide a session key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoLimeSurvey language code; null uses the survey default.
group_idsNoOptional group ID or list of group IDs.
survey_idYesNumeric LimeSurvey survey ID.
document_typeNoStatistics document type.
include_graphsNoWhether to include graphs.
response_formatNoOutput format. JSON preserves the complete structured result; Markdown is optimized for reading.json

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYes
resultYes
truncatedNo
truncation_messageNo
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, and non-destructive. Description adds value by specifying base64-encoded output and the underlying RemoteControl method, without contradicting 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, each adding essential information. No redundant words. Key action front-loaded.

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

Completeness4/5

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

Covers core functionality and authentication. Output schema exists, so return values are documented. Could mention decoding base64, but adequate for a read-only export tool.

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 covers 100% of parameter descriptions. Description does not add further meaning beyond what schema provides, 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?

Clearly states the action (export), resource (survey statistics), and output format (base64-encoded PDF, XLS, or HTML). Differentiates from sibling tools like export_responses or export_timeline.

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

Usage Guidelines2/5

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

Provides authentication context but no explicit guidance on when to use this tool versus alternatives. No when-not-to-use or prerequisite conditions mentioned.

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