Skip to main content
Glama

Design a research study

gather_design_study

Use this when someone wants research with real people, e.g. "Set up a study with 20 HR leaders about benefits budgets": it designs a study one step at a time, and nothing reaches anyone until gather_launch_study. The first call (no study_id) starts a new design and creates a draft study in your workspace; each step's answer returns study_id, step and what to do next. Pass that study_id on every later call to continue the same design. step "questions": GatherHQ asks for something missing (objective, audience, who qualifies); ask the person as written and send their answer in instructions. step "plan_ready": GatherHQ shares a link to a research plan and interview guide (GatherHQ's research team sees the plan too); send feedback in instructions to revise it, or, only when the person approves it, call again with approve true. GatherHQ then builds the interview and tries to set up its audience: when it can, the answer has a test link; when GatherHQ's research team has to finish the targeting, the answer says so and has no test link yet, so check on the study later with gather_list_studies. step "built": done; nothing goes to real people until gather_launch_study.

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": {
      "instructions": "<instructions>"
    },
    "name": "gather_design_study"
  }
}

Input Schema

NameRequiredDescriptionDefault
approveNotrue only when the person has approved the research plan and interview guide (step "plan_ready").
study_idNoThe study_id from the design's earlier answers, to continue it. Leave out to start a new design.
instructionsYesThe person's request, answer, feedback or approval, in their words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare non-readonly, non-idempotent, non-destructive, closed-world; the description goes well beyond that by disclosing the draft study created in the workspace, that GatherHQ's research team sees the plan, and that the answer may or may not contain a test link depending on whether targeting could be automated. It also explains the approve gate, which is the real write-vs-read risk here.

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 trigger and the safety boundary, then walks the step states in order, so it reads as a procedure rather than prose. It is dense and semicolon-chained in places, which slows scanning, 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?

There is no output schema, and the description compensates by stating exactly what comes back (study_id, step, next action, presence or absence of a test link) and what each step value means. For a stateful, multi-call tool this covers everything an agent needs to drive 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%, so the baseline is 3, but the description adds the state-machine meaning the schema cannot: which step requires which kind of value in instructions (answer, feedback, approval), and when it is legitimate to set approve true. It largely restates the schema's approve and study_id wording, which keeps it off a 5.

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 ('designs a study one step at a time') and frames the concrete user request it answers. It also distinguishes itself from the two siblings that matter, gather_launch_study (the only path to real participants) and gather_list_studies (later status checks).

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?

Explicit trigger condition ('when someone wants research with real people'), explicit boundary ('nothing reaches anyone until gather_launch_study'), and a named alternative for checking on a study that GatherHQ's team must finish targeting. The agent knows both when to call and when not to.

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