Skip to main content
Glama

Create Respondent

create_respondent
Destructive

Creates a respondent in the survey's respondent list (the list 'External for {survey}' is auto-created, unknown custom fields are auto-created too). PersonalizedID is optional and NOT checked for uniqueness; when omitted, the respondent's links use the generated internal ID. sendInvitation: the invitation email is sent ONLY when explicitly true — leave it off unless the user clearly asked to send invitations. Returns the contact's PERSONAL survey link (surveyLink, …/Share/{code}/{personalizedID}); responses through it are attributed to this contact. Verified by readback: the respondent is read back after the write and the reply reports what is actually stored, not merely the acknowledgement of the write.

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.
respondentYesThe respondent to create: firstName, lastName, email, language, personalizedID and custom fields.
sendInvitationNoSend invitation email.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNoWhat the call did, verified, refused or previewed — the complete human-readable outcome.
previewNotrue when the call was a preview (confirm not passed): nothing was changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond annotations: auto-creates the 'External for {survey}' list and unknown custom fields, PersonalizedID is not uniqueness-checked, links fall back to the generated internal ID, email fires only on explicit true, and the write is verified by readback. This goes well past destructiveHint/openWorldHint and materially affects how an agent should call it.

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?

Dense single paragraph with the primary purpose front-loaded; every clause carries information (side effects, defaults, return). It is longer than ideal and the nested parentheticals make it slightly hard to scan, but no sentence 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 non-idempotent, destructive, open-world mutation with an output schema and a nested object parameter, the description covers the risky behaviours (auto-creation, invitation email, non-unique ID, readback verification). Nothing an agent must know before invoking is missing.

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, but the description adds semantics the schema only implies: the uniqueness behaviour of personalizedID, its role in the personal link, and the exact sendInvitation trigger. That is meaningful value over the structured fields.

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?

Specific verb+resource: "Creates a respondent in the survey's respondent list." It distinguishes this tool from siblings like create_survey_response by naming the respondent list entity and by enumerating the side effects (auto-created list, custom fields). An agent can tell what it does without opening the 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?

Explicit conditional guidance for sendInvitation ("sent ONLY when explicitly true — leave it off unless the user clearly asked"), which is exactly the kind of default-trap an agent needs. It does not, however, contrast this tool with alternatives or state prerequisites beyond the optionality of PersonalizedID.

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