Skip to main content
Glama

Get Survey Response

get_survey_response
Read-onlyIdempotent

Returns one respondent's response (result case): answers in Items (each addresses a question by variable name, e.g. Q1, Q2.3), device, browser, platform, source, language, duration, completion state and timestamps. resultCaseID is the response's stable identifier — the key for de-duplicating incremental reads via list_survey_responses' ChangedSince. Respondent contact / personal data is not returned through this API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesSurvey publication code — the 8-character code from the survey's public link (e.g. 1a2b3c4d). Returned by list_surveys.
personalizedIDYesThe respondent's PersonalizedID: the value supplied when the respondent/response was created, or the system-generated identifier if none was supplied.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoThe answers: one item per question variable (question, value, code).
deviceNoDevice bucket the response came from: monitor, tablet or cellphone.
sourceNoTraffic source of the response, e.g. link, email, external.
browserNoBrowser family, as detected server-side.
durationNoTime spent on the survey, in seconds.
languageNoLanguage the survey was answered in.
platformNoOperating-system family, as detected server-side.
startDateNoWhen the response was started (UTC).
isCompletedNoWhether the response is marked complete.
resultCaseIDNoSystem identifier of the response.
completionDateNoWhen the response was completed (UTC); absent while it is in progress.
personalizedIDNoThe respondent's PersonalizedID: the value supplied when the response or respondent was created, or the system-generated identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds meaningful extra context: the stable-identifier semantics of resultCaseID and, importantly, that respondent contact/personal data is deliberately excluded from the response — a privacy boundary the annotations do not convey.

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?

Two dense sentences that are front-loaded with the core result and then the identifier/personal-data caveats. It is information-rich without wasted clauses, though the payload enumeration is long enough that it borders on listing what the output schema already shows.

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 two-required-param read tool with full schema coverage and an output schema, the description covers purpose, the key usage scenario, identifier semantics, and a data-exclusion caveat — everything needed to call it correctly. The enumeration of returned fields is partly redundant against the existing output schema, which keeps it just under full marks.

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 description coverage is 100%, so both 'code' (8-character publication code) and 'personalizedID' are already fully documented in the schema. The description adds interpretive context (what a result case is, that items address questions by variable name) but contributes nothing new about the two parameters themselves, so the baseline 3 applies.

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 ('Returns one respondent's response (result case)') and immediately enumerates the payload it yields (items, device, browser, source, duration, completion state). The singular 'one respondent's response' contrasts cleanly with the sibling list_survey_responses, so an agent can pick between them without opening a schema.

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?

Explains the incremental-read scenario by tying resultCaseID to de-duplicating reads via list_survey_responses' ChangedSince, which is concrete usage context. It stops short of an explicit 'use this when you need a single response vs the list tool' statement, so it's clear context rather than full when/when-not guidance.

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