Skip to main content
Glama

StudyScout for Business

Take a study out of review

withdrawStudy
Idempotent

Take a study out of review. Before a person has decided: the whole hold goes back to the balance and it’s a draft again, to change and launch again. A study already live can’t be withdrawn: end it instead.

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": {
      "studyId": "<studyId>"
    },
    "name": "withdrawStudy"
  }
}

Input Schema

NameRequiredDescriptionDefault
studyIdYes
idempotencyKeyNoAny unique text, sent again unchanged when you retry this call: a retry gets the first answer back and spends nothing twice. Left out, one is made for this call and the answer says which, so a retry can use it.

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 declare the operation non-read-only, non-destructive, and idempotent; the description adds the materially useful facts those hints cannot convey: the held funds are released back to the balance and the study is restored to an editable draft state, so the action is recoverable rather than terminal. It omits auth/permission requirements and the shape of the response, which keeps it short of a 5.

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?

Three short sentences, front-loaded with the action, then the consequence, then the exclusion. No filler and nothing repeated from the title alone.

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 two-parameter state-changing tool with no output schema, the description covers the crucial semantics: precondition, effect on held funds, and resulting study state. The remaining gap is the undocumented studyId parameter and what a successful response returns beyond the echoed idempotency key.

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 coverage is 50%: idempotencyKey is thoroughly documented in the schema, but studyId has no schema description at all. The description partially compensates by constraining which study qualifies (one still in review), but it never explains what studyId format is expected or how to obtain it.

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 ('Take a study out of review') and immediately defines the resulting state transition: the hold returns to the balance and the study becomes a draft again. It also delineates the boundary case (a live study cannot be withdrawn) so an agent can distinguish this from sibling operations like endStudy or deleteStudy.

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 when-to-use condition ('Before a person has decided') and an explicit when-not-to-use condition with a redirect ('A study already live can't be withdrawn: end it instead'). The alternative is described by behavior rather than tool name, but the routing intent is unambiguous.

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.