Skip to main content
Glama

StudyScout for Business

Delete a draft that was never submitted

deleteStudy
DestructiveIdempotent

Delete a draft that was never submitted. This can’t be undone. Only a draft that was never submitted can go (its canDelete says so). Anything once submitted stays, a withdrawn study included: change it and launch it again, or leave it.

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": "deleteStudy"
  }
}

Input Schema

NameRequiredDescriptionDefault
studyIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so irreversibility and mutability are pre-disclosed; 'This can't be undone' largely restates that. The genuinely additive content is the precondition that the target's canDelete flag must be true and that submitted/withdrawn studies are excluded, which tells the agent to verify state first. It adds context but mostly reinforces what annotations already carry.

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?

The destructive warning and eligibility rule are front-loaded, and every sentence carries information. The final clause ('change it and launch it again, or leave it') is slightly convoluted and could be tightened without losing meaning.

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 one-parameter destructive tool with full annotation coverage and no output schema, the description covers what is destroyed, what is protected, and that the action is permanent — enough to call it correctly. The remaining gap is identifying what studyId refers to and what the agent should do if canDelete is false.

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 0% and studyId is never described, so the agent gets no explicit statement that the value is the study's identifier versus the draft's. The reference to 'its canDelete says so' usefully implies a prior getStudy-style lookup on the same object, which is real semantic value beyond the schema. That partial hint does not fully compensate for the undocumented parameter.

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 a specific verb ('Delete') and a narrowly scoped resource ('a draft that was never submitted'), which is more precise than the bare tool name. The eligibility qualifier immediately separates it from lifecycle siblings like withdrawStudy or endStudy, which act on submitted studies.

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 an explicit when-not rule: anything submitted, including a withdrawn study, must not be deleted, and instead should be changed and launched again. This is actionable routing guidance. It falls short of 5 only because it gestures at the alternative workflow ('change it and launch it again') without naming updateStudy or launchStudy.

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.