Skip to main content
Glama

List A/B tests

list_ab_tests
Read-onlyIdempotent

Lists the store's A/B tests on bundles and carts, newest first: the bundle or cart tested, its status (draft, running, paused, decision_required, ended), the versions and their traffic, and what the results say so far. get_ab_test returns the numbers. Also returns how many test views the plan has left this period.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_ab_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 20.
statusNoOnly tests with this status.
cart_idNoOnly tests on this cart.
bundle_idNoOnly tests on this bundle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes beyond that by disclosing the sort order and, notably, that responses include remaining test views quota for the plan period — a rate-limit-adjacent trait the agent cannot get from the schema.

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 compact sentences, purpose and ordering front-loaded, with the sibling hand-off and the quota note placed after the core content. The long enumeration of returned fields is dense but every element earns its place for a list tool with no output schema.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing return contents, and it does: item fields, status vocabulary, version traffic, result summary, and the appended quota figure. Combined with annotations covering safety, an agent has everything needed to call and interpret this tool.

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 100%, with limit, status enum, cart_id and bundle_id all documented in the schema, so baseline is 3. The description mentions statuses in the return context and implies cart/bundle scoping but adds no filtering syntax or interaction semantics beyond the schema.

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 ("Lists the store's A/B tests on bundles and carts") plus ordering ("newest first") and enumerates what each item contains. It explicitly differentiates itself from get_ab_test, so an agent can choose between the two 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 Guidelines4/5

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

The line "get_ab_test returns the numbers" gives a clear routing rule: use this for the overview/roster, use the sibling for detailed metrics. However, it never states when not to use it (e.g., single-test lookups) or how the filters interact, so guidance is clear but not exhaustive.

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