Skip to main content
Glama

update_thankyou_screen

DestructiveIdempotent

Edit a survey's thank-you screen — shown after a respondent submits. Every survey has at least one by default. A survey can have more than one when branching logic routes different respondents to different thank-you screens — identify which one with screenId (from get_survey_details) or its 0-based position in thankyouScreens; omit both to target the default (position 0). Editable fields: title, description, button text, image layout, whether social share icons show, whether the BlockSurvey branding footer shows, the parent-redirect setting for iframe embeds, and hideAlways (keeps the screen configured but skips it for respondents — useful when a survey has multiple thank-you screens and one should only ever be reached via branching logic, never as a fallback). Does NOT support setting the screen's image itself or the social-follow-icons section (needs actual social links, which this tool has no way to supply) — those stay in the builder UI.

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": {
      "surveyId": "<surveyId>"
    },
    "name": "update_thankyou_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew thank-you screen title/headline. Omit to leave unchanged.
teamIdNoWhich team workspace to act in (ids come from get_account_info or list_surveys). Optional: if omitted, the server uses the team that owns the given surveyId, or your only team. Required for create_survey when you belong to several teams.
brandingNoWhether to show the "Powered by BlockSurvey" branding footer. Omit to leave unchanged.
positionNo0-based index into the survey's thankyouScreens array. Provide this OR screenId, not both. Omit both for the default screen (position 0).
screenIdNoThe thank-you screen's id, as seen in get_survey_details's output
surveyIdYesThe Survey ID containing the thank-you screen
buttonTxtNoNew button label (e.g. a redirect/close-tab button). Omit to leave unchanged.
hideAlwaysNoWhether to hide this specific thank-you screen from respondents while keeping its content configured. Omit to leave unchanged.
socialIconNoWhether to show social share icons on this screen. Omit to leave unchanged.
descriptionNoNew thank-you screen body text. Omit to leave unchanged.
screenLayoutNoWhere the screen's image sits: "left", "right", or "" (centered/no image layout). Only visible once a screen image is set in the builder — this tool can't set the image itself. Omit to leave unchanged.
parentUrlFlagNoWhether the parent/host page should redirect when this survey is embedded via iframe on a third-party site and the respondent submits. Irrelevant for a standalone survey link. Omit to leave unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=true and readOnlyHint=false. The description usefully adds partial-update semantics ('omit to leave unchanged'), the hideAlways side effect on respondents, and the parent-iframe redirect behavior. It stops short of stating whether edits are reversible or require publish_survey to take effect — material for a destructive mutation.

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 purpose, then targeting, then editable fields, then exclusions — a logical order with no filler. It is on the long side (a single dense paragraph with parenthetical asides), which slightly hurts scanability for a 12-parameter tool.

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 12-param destructive mutation with no output schema, it covers targeting, the editable field set, the important side effect (hideAlways), and unsupported capabilities. The main missing piece is post-update behavior — whether changes are live immediately or need publish_survey — plus any permission expectations.

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 baseline is 3; the description earns a step up by defining the screenId/position mutual exclusivity and default fallback, and by explaining hideAlways's intent and parentUrlFlag's iframe-only relevance. It does not add syntax or format detail for the string fields, but those are already covered by the schema.

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 ('Edit a survey's thank-you screen'), plus immediate disambiguation of the post-submit screen and how multiple screens arise via branching logic. An agent can distinguish this from update_thankyou_screen_logic (which edits routing, not screen content) 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 Guidelines4/5

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

Gives explicit targeting rules: use screenId (from get_survey_details) or 0-based position, omit both for the default, and explains hideAlways's when-to-use case. Also states clear exclusions (image and social-follow icons must be set in the builder UI). No MCP-level alternative tool is named, which keeps it just below a 5.

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