Skip to main content
Glama

Delete A/B test

delete_ab_test
Destructive

Deletes a draft A/B test and its versions B, C and D. The bundle or cart stays as version A. Shoppers saw nothing of a draft, so nothing changes for them. A started test ends with end_ab_test 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": {
      "ab_test_id": "<ab_test_id>"
    },
    "name": "delete_ab_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
ab_test_idYesTest id from list_ab_tests.

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 already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description still adds real value beyond them: it spells out exactly what is destroyed (versions B, C, D) versus preserved (the bundle or cart as version A) and notes that shoppers see no impact. It stops short of addressing reversibility or permissions, which keeps it at a 4 rather than 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 and scope, followed by the preservation detail and the sibling routing. Every sentence carries distinct information with no repetition of the title or annotations.

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 mutation with full annotation coverage and no output schema, this is nearly complete: scope, destruction boundary, user impact, and the alternative are all stated. Only post-call expectations (whether anything is returned, whether the deletion is permanent) are unaddressed.

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 description coverage is 100% and the single parameter already documents itself as 'Test id from list_ab_tests.' The description adds no format, sourcing, or validation detail beyond that, so the baseline 3 applies.

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 ('Deletes a draft A/B test') and immediately scopes it: draft-only, removing versions B, C and D while version A remains. It also names the sibling it is not (end_ab_test), so an agent can distinguish it from related tools without opening a 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?

'A started test ends with end_ab_test instead' is an explicit when-not rule paired with the correct alternative, and 'draft' in the first sentence establishes the when-to-use condition. Nothing about tool selection is left to inference.

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