Skip to main content
Glama

export_form

Download an existing KoboToolbox form as an XLSForm (.xlsx) file so you can edit it, such as adding translations, before redeploying changes.

Instructions

Download an existing form as an XLSForm (.xlsx) file.

This is essential for modifying existing forms — for example, adding translations. The typical workflow is:

  1. export_form() to get the .xlsx

  2. Edit the .xlsx (e.g., add label::Language columns for translations)

  3. replace_form() to redeploy with changes

Note: get_form() returns the JSON representation, not the XLSForm. Use this tool when you need the actual .xlsx to edit and re-upload.

Args: form_uid: The unique identifier (uid) of the form. output_path: Local file path where the .xlsx will be saved.

Returns: JSON object with form_uid, output_path, and form name.

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>",
      "output_path": "<output_path>"
    },
    "name": "export_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
form_uidYes
output_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden, and it does disclose the redeploy pairing with replace_form() and the shape of the return value. It does not say whether an existing file at output_path is overwritten, whether parent directories are created, or what permissions/API credentials are required — relevant gaps for a tool that writes to local disk.

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?

The core purpose is front-loaded in the first line, followed by a compact workflow and a disambiguation note; every sentence is load-bearing. The numbered steps are slightly verbose for a two-parameter tool, but they encode real usage knowledge rather than filler.

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?

For a simple two-parameter export tool with an output schema present, the description covers purpose, workflow, disambiguation and both parameters. The main remaining omission is file-overwrite/error behavior, which matters because the tool writes to a caller-supplied path.

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%, so the description must compensate, and the Args block does define both parameters: form_uid as the form's unique identifier and output_path as the local path where the .xlsx is saved. It adds meaning over bare 'Form Uid'/'Output Path' titles, though it gives no format hints (uid pattern, whether the path may omit the extension).

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 first sentence gives a specific verb (Download), resource (an existing form) and output format (XLSForm .xlsx). It also explicitly distinguishes itself from get_form(), which returns JSON rather than XLSForm, so an agent can pick between the two without inspecting schemas.

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?

It names the exact scenario (modifying existing forms, e.g. adding translations) and lays out a three-step workflow ending in replace_form(). It also states a negative case: use this, not get_form(), when you need the actual .xlsx to edit and re-upload.

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