Skip to main content
Glama

Get Survey Test Config

getSurveyTestConfig
Read-onlyIdempotent

Get one saved survey respondent by id (from listSurveyTestConfigs or a survey result's configId), in full: the fields listSurveyTestConfigs returns plus mission (who the respondent is and how they feel) and acceptance (what counts as a pass). Use when: you want to explain what a survey test checks. Name its persona with getProfile. Read-only. Needs testing:read. Returns 404 if the config is not in your workspace.

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": {
      "id": "<id>"
    },
    "name": "getSurveyTestConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSurvey test config identifier.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
tagsNo
sectorYesWhat the survey is about — customer satisfaction, meter read. You name it, not us.
missionYesFree text — what this person is doing and how they feel about it.
voiceIdNoVoice surveys only; ignored on an SMS conversation.
scenarioYesHow the respondent behaves once the survey is under way. A closed set, deliberately. Each value maps to wording nopaque maintains, so the behaviour can be improved without you rewriting saved configs, and a scenario cannot be saved that has no behaviour behind it. Clients design for the happy path; the other four are where survey testing earns its keep. Answers are never scripted. A survey explains its own scale as it goes ("press 1 to 5, where 1 is least happy") and a real respondent does not know that until they are contacted — so the config says who the person is, and the respondent maps that onto whatever the survey presents.
createdAtYes
profileIdNoA workspace-scoped Profile, used as the persona.
updatedAtYes
acceptanceYesFree text — what counts as a pass.
descriptionNo
workspaceIdYes
expectedTurnsNoHow many questions this survey asks. **The only limit that is actually enforced.** After this many answers the conversation is disabled at the carrier, so the "thanks for your feedback" that ends most surveys reaches a respondent that cannot reply. Set it here rather than per test — a survey asks the same number of questions every time. A single run may override it. Optional. Without it nothing is enforced, because guessing would cut a survey short.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world, and the description reinforces read-only. It adds value the annotations cannot carry: the required `testing:read` scope and the 404 failure mode when the config is outside the caller's workspace. It does not add further traits such as pagination or latency, but nothing important is hidden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what is returned, then the trigger, then the persona sibling, then the safety/auth/error facts. Telegraphic fragments like 'Read-only. Needs testing:read.' are dense rather than padded, and nothing restates the name or title.

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?

An output schema exists so return shape need not be spelled out, yet the description still characterizes the two extra fields in plain language. Combined with the auth scope, the 404 case, and the id's source, an agent has everything needed to select and invoke it correctly.

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% and the single `id` already documents its UUID format, so the baseline would be 3. The description earns more by explaining the identifier's provenance (from listSurveyTestConfigs or a survey result's configId), which is the one thing the schema cannot say.

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 (get one saved survey respondent by id) and immediately scopes it against the sibling: it returns the fields listSurveyTestConfigs returns plus `mission` and `acceptance`. An agent can distinguish this from the list sibling without opening either 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?

Gives an explicit trigger ('Use when: you want to explain what a survey test checks'), tells the agent where the `id` comes from (listSurveyTestConfigs or a survey result's configId), and routes a related need to a named sibling ('Name its persona with getProfile'). This is real routing rather than implied usage.

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.