Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TheySaid. If you published it, claim ownership there.

Export responses

export_responses

Export the RAW individual survey responses for one or more projects as a downloadable xlsx — one row per respondent, one column per question (scores, ratings, multiple choice, open text) plus email and completion, matching the in-app "export responses" download. Data is fetched server-side (you provide no rows). Each project becomes its own worksheet and carries its own optional filters (date range, sentiment, channel, quality, completion, read state, keyword); repeat a project id with different filters for separate sheets. Use this when the user wants all the underlying answers in a file. Returns a signed download URL once the file is ready; for a large export it returns { downloadId, status: "processing" } — then call get_export with that downloadId to get the link. The signed URL is SHORT-LIVED — read the exact expiry from the expiresAt field, tell the user to download promptly, and re-run get_export for a fresh link if it has expired. Do NOT invent a URL or an expiry. Response export is a PAID feature: if the organization's plan does not include it the tool returns an error saying so — relay that reason to the user verbatim, do not retry.

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": {
      "projects": "<projects>"
    },
    "name": "export_responses"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectsYesOne entry per project (each its own sheet); repeat a project id for different filters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / projects / items / properties / filters / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "channels": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "enum": [
      -                "link",
      -                "website",
      -                "qr-code",
      -                "email",
      -                "social-media",
      -                "theysaid-panel",
      -                "ux-agent-panel"
      -              ],
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Collection channels to include."
      -      },
      -      "insightRead": {
      -        "anyOf": [
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Only read (true) or unread (false) responses."
      -      },
      -      "maxProgress": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "0-1 completion; include responses with progress <= this."
      -      },
      -      "minProgress": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "0-1 completion; include responses with progress >= this."
      -      },
      -      "qualities": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "enum": [
      -                "low",
      -                "medium",
      -                "high"
      -              ],
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Quality buckets to include; include \"low\" to also export archived responses."
      -      },
      -      "searchKeyword": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Match email, name or summary (min 2 chars)."
      -      },
      -      "signals": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "enum": [
      -                "positive",
      -                "negative",
      -                "neutral",
      -                "mixed",
      -                "unknown"
      -              ],
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Sentiment signals to include."
      -      },
      -      "since": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Include responses created on/after this. ISO date (YYYY-MM-DD) or timestamp."
      -      },
      -      "until": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Include responses created on/before this. A YYYY-MM-DD date covers that whole day."
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "channels": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "enum": [
      +                "link",
      +                "website",
      +                "qr-code",
      +                "email",
      +                "social-media",
      +                "theysaid-panel",
      +                "ux-agent-panel"
      +              ],
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Collection channels to include."
      +      },
      +      "insightRead": {
      +        "description": "Only read (true) or unread (false) responses.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "maxProgress": {
      +        "description": "0-1 completion; include responses with progress <= this.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "minProgress": {
      +        "description": "0-1 completion; include responses with progress >= this.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "qualities": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "enum": [
      +                "low",
      +                "medium",
      +                "high"
      +              ],
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Quality buckets to include; include \"low\" to also export archived responses."
      +      },
      +      "searchKeyword": {
      +        "description": "Match email, name or summary (min 2 chars).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "signals": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "enum": [
      +                "positive",
      +                "negative",
      +                "neutral",
      +                "mixed",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Sentiment signals to include."
      +      },
      +      "since": {
      +        "description": "Include responses created on/after this. ISO date (YYYY-MM-DD) or timestamp.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "until": {
      +        "description": "Include responses created on/before this. A YYYY-MM-DD date covers that whole day.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and idempotentHint=false; the description adds substantial behavior the agent could not otherwise know: data is fetched server-side, each project becomes its own worksheet, results may be async ({ downloadId, status: "processing" }), the signed URL is short-lived with an expiresAt field, and there is a paid-plan gate. It even warns against fabricating a URL or expiry, which is exactly the failure mode this tool invites.

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 verb and output format, and nearly every sentence carries operational information (async fallback, expiry, paid-plan error). It is a single dense block rather than segmented, and the filter enumeration early on is slightly redundant with the schema, but nothing is filler.

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 single-parameter, non-idempotent export with no output schema, the description covers the whole lifecycle: what is produced, the synchronous and asynchronous return cases, the follow-up call needed to resolve a processing job, URL lifetime handling, and the entitlement failure mode. An agent could invoke and recover correctly without further documentation.

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 coverage is 100%, so the baseline is 3; the description earns above baseline by explaining the non-obvious structural semantics — one entry per project, each its own sheet, and repeating a project id with different filters yields separate sheets. It does not restate individual filter fields (since, until, signals, channels, qualities, progress bounds), which the schema already documents well.

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 ("Export the RAW individual survey responses") plus the exact output shape (xlsx, one row per respondent, one column per question, plus email and completion) and ties it to the in-app equivalent. That level of detail lets an agent separate it from sibling read tools like recent_responses or responses_search, which return records rather than a file.

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?

Gives an explicit selection rule ("Use this when the user wants all the underlying answers in a file") and then routes the agent through the follow-up path: poll get_export with the returned downloadId when status is "processing", and re-run get_export for a fresh link after expiry. It also names a when-not/error path — paid-plan feature — with instructions to relay the reason verbatim and not retry.

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