Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KOBO_SERVERNoThe KoboToolbox server URL. Defaults to https://kf.kobotoolbox.org. Use https://eu.kobotoolbox.org for the EU server or a custom instance URL.
KOBO_API_TOKENYesYour KoboToolbox API token. Required by the server to authenticate.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
infoA

Get help and discover KoboToolbox MCP capabilities and workflows.

Call this tool to learn what tools are available and how to use them together for common tasks like translating forms, deploying surveys, or exporting data.

Args: topic: Optional topic for detailed guidance. One of: "overview" (default) — list all tools and workflows "translate" — step-by-step guide to adding form translations "deploy" — how to deploy a new XLSForm "data" — how to fetch and export submission data

Returns: Workflow documentation as text.

list_formsA

List all KoboToolbox forms/surveys.

Use this as a starting point to find form UIDs for other tools. Call info(topic="translate") or info(topic="data") for workflow guidance.

Args: search: Optional search term to filter forms by name.

Returns: JSON list of forms with uid, name, status, and submission count.

get_formA

Get a form's JSON structure including questions, choices, and settings.

Returns the internal JSON representation — useful for inspecting form structure. To get the editable XLSForm (.xlsx), use export_form() instead.

Args: form_uid: The unique identifier (uid) of the form.

Returns: JSON object with form details including questions/fields.

resolve_formA

Find the form UID that corresponds to an Enketo submission URL.

Given an Enketo URL (e.g. https://ee.kobotoolbox.org/single/6F7QA1uJ), searches all deployed forms to find the one whose deployment links match. Returns the form UID, name, and all deployment links.

Args: enketo_url: The Enketo submission URL to look up.

Returns: JSON object with uid, name, and deployment_links, or an error if not found.

export_formA

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.

get_submissionsA

Get submissions (responses) for a form.

Args: form_uid: The unique identifier (uid) of the form. limit: Maximum number of submissions to return (default 100). start: Offset for pagination (default 0). query: Optional JSON query string to filter submissions (e.g., '{"field": "value"}').

Returns: JSON object with count and list of submissions.

deploy_formA

Upload and deploy a NEW XLSForm to KoboToolbox.

Creates a new form and makes it live. The XLSForm can include multiple languages via label::Language (code) columns.

To update an EXISTING form, use replace_form() instead — it preserves the form UID and all existing submissions.

Args: file_path: Path to the XLSForm (.xlsx) file. form_name: Optional name for the form (defaults to filename).

Returns: JSON object with uid, enketo_url (web form link), and management_url.

replace_formA

Replace an existing form with a new XLSForm version.

Updates the form definition while preserving the form UID and all existing submissions. Use this for adding translations, modifying questions, or any update to a live form.

Typical translation workflow:

  1. export_form() → download the .xlsx

  2. Add label::Language (code) columns to survey and choices sheets

  3. replace_form() → redeploy with translations

Call info(topic="translate") for detailed guidance.

Args: form_uid: The unique identifier (uid) of the form to replace. file_path: Path to the new XLSForm (.xlsx) file.

Returns: JSON object with uid, enketo_url, and management_url.

set_validation_statusA

Set the validation status of submissions.

Use this to approve, reject, or flag submissions without deleting them. Useful for marking test/garbage data so it can be filtered out of analysis.

Args: form_uid: The unique identifier (uid) of the form. submission_ids: List of submission _id values to update. status: One of "approved", "not_approved", "on_hold".

Returns: JSON object with update status.

export_dataB

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 10 tools

Disambiguation4/5

Most tools target clearly distinct operations: form inspection vs export vs deployment vs replacement vs submission data are well separated. The only mild overlap is between get_submissions and export_data, since both retrieve submission data, but their descriptions distinguish row-level retrieval from bulk export.

Naming Consistency4/5

The set is mostly consistent snake_case verb_noun naming: get_form, export_form, deploy_form, replace_form, list_forms, get_submissions, set_validation_status, export_data. The lone meta-tool 'info' is a noun and breaks the pattern slightly, but the convention is still easy to follow.

Tool Count5/5

Ten tools is well-scoped for a Kobo forms/submissions server. Each tool maps to a meaningful lifecycle action or workflow aid, with no apparent padding.

Completeness4/5

The surface covers the core lifecycle: list/get forms, resolve Enketo URLs, export and deploy/replace XLSForms, fetch submissions, export data, and set validation status. Minor gaps remain around destructive/maintenance operations such as deleting forms or submissions, but typical agent workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues