Skip to main content
Glama

Delete an A/B variant

delete_variant
DestructiveIdempotent

Remove a variant from a step (soft delete: its sent emails stay in the stats). A step keeps at least one variant.

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": {
      "id": "<id>",
      "step_id": "<step_id>",
      "label": "<label>"
    },
    "name": "delete_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
labelYes
step_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so credit goes to what the description adds: the deletion is a soft delete and previously sent emails remain in stats, plus the invariant that a step retains at least one variant. It does not say what happens on a failed attempt against the last remaining variant.

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?

Two short sentences with no filler; the soft-delete consequence and the surviving-variant constraint are both front-loaded and each carries information the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter destructive tool with no output schema, the description covers the important semantic behavior (soft delete, stats retention, minimum-variant invariant) but leaves the parameter identities and the failure mode on the last variant unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning, but it never explains what 'id' identifies versus 'step_id', or that 'label' is the variant letter constrained to A-D. All three required parameters remain ambiguous to an agent reading the description alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Remove a variant from a step') and clarifies the removal is scoped to a variant within a step, which cleanly separates it from add_variant and update_variant without naming them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the verb, and the constraint 'A step keeps at least one variant' tells the agent one precondition for a valid call. It does not explicitly say when to prefer this over update_variant or how it relates to delete_step.

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.