Skip to main content
Glama

create_survey

Create a new BlockSurvey survey with a title, a complete list of questions, a welcome screen, and a thank-you screen, all in one call. You (the assistant) write ALL of this content yourself from the conversation with the end user — this tool does not generate anything itself, it just persists exactly what you send. Ask the end user what the survey should cover, and for any choice-style or matrix question, ask for the actual answer choices — never invent placeholder questions or options. For any 'customerexperience' question, ask which metric they want — NPS, CSAT, or CES — if they haven't said (don't default to NPS silently), then ask the matching follow-up: NPS's scale color theme (npsTheme — Solid / Gradient / 2 Color Bleed, default Solid) or, for CSAT/CES, whether it should show as a 1-5 Opinion Scale or a Choose Single with text labels (componentType) — that's visible to respondents, not a technical detail. Skip asking only if the user already stated a preference or says the default is fine. Always also compose welcomeScreen and thankyouScreen content tailored to that same topic (see their field descriptions) — include both by default, the same way you'd never leave the questions blank; only skip one if the end user explicitly says they don't want it. Use add_answer_choice / edit_answer_choice / delete_answer_choice / update_question / update_welcome_screen / update_thankyou_screen for any later edits.

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": {
      "title": "<title>",
      "questions": "<questions>"
    },
    "name": "create_survey"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe survey's title
teamIdNoTeam workspace to create the survey in. Optional if you belong to only one team; if you belong to several, pass the id of the team to use. Must be a team you are a member of.
questionsYesThe survey's questions, in order. At least one question is required.
welcomeScreenNoThe welcome (cover) screen shown before question 1. Always include this with real, survey-specific title/description text you compose yourself from the conversation - don't leave it out by default, and don't ask the end user to write it unless they'd rather customize it themselves. Only omit entirely if the end user explicitly says they don't want a welcome screen (the survey then starts directly on question 1).
thankyouScreenNoThe thank-you screen shown after submitting (every survey gets one either way, but with generic boilerplate text if you skip this). Always include real, survey-specific title/description text you compose yourself from the conversation - don't leave it out by default, and don't ask the end user to write it unless they'd rather customize it themselves.

Output Schema

NameRequiredDescriptionDefault
titleYes
surveyIdYes
totalQuestionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-derivable behavior: the tool 'does not generate anything itself, it just persists exactly what you send', and a skipped thankYouScreen still produces a generic-boilerplate screen while a skipped welcomeScreen makes the survey start on question 1. It stops short of stating whether the survey is created as a draft vs. published, but overall it adds real context beyond the annotations.

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 purpose and 'all in one call' scope before the workflow instructions. The repeated 'you write this yourself / ask the end user' theme appears three or four times, which is effective emphasis but adds length; overall still well-structured rather than padded.

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 complex, deeply nested creation tool with an output schema, the description covers the workflow, default behavior for optional screens, the customer-experience follow-up branch, and the hand-off to edit tools. Nothing an agent needs in order to call it correctly is missing.

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 the schema already documents exType, npsTheme, componentType and every options sub-field in detail. The description reinforces a few of these (npsTheme choices with default 'Solid', csat/ces Opinion Scale vs Choose Single) but mostly restates what the schema says. Baseline 3 is appropriate when the schema carries the full parameter burden.

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?

Opens with a specific verb and resource — 'Create a new BlockSurvey survey with a title, a complete list of questions, a welcome screen, and a thank-you screen, all in one call' — and the closing sentence routes incremental edits to add_answer_choice / update_question / update_welcome_screen / update_thankyou_screen, which are the relevant siblings. An agent can tell this apart from the granular add/update tools without opening any schema.

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?

Explicitly separates creation from later mutation ('Use add_answer_choice / edit_answer_choice ... for any later edits'), specifies what to ask the end user before calling, and names the skip condition ('Skip asking only if the user already stated a preference or says the default is fine'). It also gives a when-not for the optional screens: only omit if the end user explicitly declines.

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