Skip to main content
Glama

Export a study's responses

gather_export_responses

Use this when someone wants a study's conversations as a file: exports them as a CSV and returns a private download link that works for 60 minutes. Completed respondents only unless include_incomplete is true. Get study_id from gather_list_studies.

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": {
      "study_id": "<study_id>"
    },
    "name": "gather_export_responses"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoOnly conversations up to this day, YYYY-MM-DD (UTC).
study_idYesThe study (an id from gather_list_studies).
start_dateNoOnly conversations from this day on, YYYY-MM-DD (UTC).
include_incompleteNoAlso include pending, screened-out, quota, quality and fraud respondents (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the output format (CSV), the artifact type (private, time-limited download link expiring in 60 minutes) and the default filtering rule (completed respondents only). The annotations already declare non-readOnly, non-idempotent, non-destructive, so the remaining gap is minor — it doesn't say whether repeat calls produce a new link each time or what happens when no responses match.

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?

Three short sentences, front-loaded with the use case, then the output contract, then the filtering default and the id lookup. Nothing is redundant with the title, and every clause carries operational information.

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?

For a four-parameter read-style export with no output schema, the description supplies the return shape (CSV file via time-limited private link), the default data scope, and where study_id comes from. An agent has everything needed to call it and to set expectations about the result.

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 coverage is 100%, so date bounds and formatting are already documented. The description adds meaning for include_incomplete by restating the default as a behavioral rule ("Completed respondents only unless include_incomplete is true"), but adds nothing for start_date and end_date beyond the schema, so the baseline holds.

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?

States a specific verb and resource ("exports... a study's conversations as a file") and pins down the concrete output: a CSV plus a private download link valid for 60 minutes. No sibling in the list offers exporting, and the wording makes the tool's job unmistakable.

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

Usage Guidelines4/5

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

Gives an explicit trigger ("Use this when someone wants a study's conversations as a file") and a prerequisite chain ("Get study_id from gather_list_studies"), which routes the agent correctly. It stops short of stating when not to use it, e.g. a single-response or summary alternative, so it is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources