Skip to main content
Glama

Edit, publish, open, or close a study

prism_studies_update
Destructive

publish: true takes a draft live (one-way — the participant link starts working). closed toggles whether a live study accepts responses. Also edits the study: title, the questions instrument (whole replacement — read prism_studies_get first; LOCKED once responses exist, the server refuses with invalid and the answer is a new study), adaptiveFollowUps (AI probes on curious answers), the closing chat (endChatEnabled + endChatFocus), completionRedirectUrl for a BYO panel (null clears), and autoAnalyzeTarget (null = manual only). Study ids come from prism_studies_list_workspace. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
titleNo
closedNo
publishNo
studyIdYes
questionsNoReplacement instrument (drafts only): ordered list of { type, prompt, options?, … } — read prism_studies_get for the shape.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNo
endChatFocusNoWhat the closing chat should be about; null clears.
endChatEnabledNo
adaptiveFollowUpsNo
autoAnalyzeTargetNo
completionRedirectUrlNohttp(s) URL respondents land on after submitting ({pid} = participant id); null clears.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare destructive/openWorld/not-readOnly; the description adds substantive behavior well beyond them — publish is one-way and starts working the participant link, questions is a whole-replacement that is LOCKED once responses exist (server refuses with `invalid`), null semantics for endChatFocus/completionRedirectUrl/autoAnalyzeTarget, and the possible `needs_confirmation` return. This is rich operational context.

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-loads the publish semantics and then moves through the edit surface efficiently; nearly every clause carries information. The dense parentheticals make it slightly hard to scan but nothing is gratuitous.

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-parameter, multi-purpose mutation tool with no output schema, the description covers the impactful fields and the locking/confirmation behaviors an agent must know. Coverage of workspace and approvalId is thin, but the structured schema fills that gap, keeping it close to complete.

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?

With only 33% schema description coverage, the description carries much of the load and does so well: it explains what questions replaces, that it needs prism_studies_get for shape, the null-clears behavior for several fields, and endChatEnabled+endChatFocus pairing. It leaves workspace/approvalId unexplained, but workspace is covered by the schema itself.

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?

The description names the resource (a study) and enumerates the concrete mutations it performs: publish, close/open, edit title, replace questions, set adaptive follow-ups, closing chat, redirect URL, and auto-analyze target. It also routes the agent by naming siblings prism_studies_get and prism_studies_list_workspace, so it is distinguishable from the read/list tools.

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?

It gives real when-to-use guidance: 'read prism_studies_get first', the LOCKED-once-responses rule with the explicit answer 'a new study', and where ids come from (prism_studies_list_workspace). It does not, however, contrast this with prism_studies_draft or explicitly state when not to use update at all, so it stops short of the top tier.

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