Skip to main content
Glama

export_data

Create and download a form data export as CSV or XLS, optionally including question labels in headers, for offline analysis or reporting.

Instructions

Create and download a data export for a form.

Args: form_uid: The unique identifier (uid) of the form. export_type: Export format - 'csv' or 'xls' (default 'csv'). include_labels: Include question labels in headers (default True).

Returns: JSON object with export download URL or the data itself for small exports.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "form_uid": "<form_uid>"
    },
    "name": "export_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
form_uidYes
export_typeNocsv
include_labelsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that small exports may return data inline while larger ones return a download URL, but says nothing about authentication/permission requirements, whether an export artifact persists server-side, or any size or rate limits.

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

Conciseness4/5

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

Front-loaded with the core action, followed by a compact Args block and a one-line Returns note. The docstring scaffolding (Args/Returns labels) adds slight overhead but every line carries information.

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?

With three parameters all explained and an output schema already covering return structure, the definition is nearly sufficient for correct invocation. The main remaining gap is operational context such as permissions or whether export creation is an async job.

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

Parameters4/5

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

Schema description coverage is 0%, and the description compensates well: it defines form_uid, names the accepted export_type values ('csv' or 'xls') that the schema leaves as an unconstrained string, and explains include_labels as header label inclusion with its default.

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

Purpose4/5

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

Opening sentence states a specific verb pair plus resource: 'Create and download a data export for a form.' It is distinguishable from read-style siblings like get_submissions or get_form, though it does not explicitly name how it differs from export_form.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative tool is mentioned. An agent must infer that this is the export path rather than the raw-retrieval path from the name alone.

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