Skip to main content
Glama

Get Ab Test Results

get_ab_test_results
Read-onlyIdempotent

Read A/B findings, analytics and the saved comparison. Omit testId for the latest A/B run. Use returned runId and blockId for details.

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

Input Schema

NameRequiredDescriptionDefault
testIdNo

Output Schema

NameRequiredDescriptionDefault
dataNoOperation-specific results for a native block test; legacy reads return fields at the top level.
retryNo
runIdNo
statusNo
testIdNo
blockIdNo
messageNo
nextStepNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / nextStep / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / nextStep / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / retry / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is fully covered. The description adds two useful behaviors beyond that: testId is optional and defaults to the latest run, and the response carries runId/blockId for follow-up calls. It says nothing about result size, pagination, or what happens when no run exists.

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?

Three short sentences, front-loaded with what is returned before the parameter rule. No filler; the only weakness is that the opening sentence packs three loosely related nouns into one claim.

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?

An output schema exists, so return-value explanation is rightly omitted, and pointing at runId/blockId for chained detail calls is a good touch. Still, for a results-retrieval tool the description leaves ambiguous what 'saved comparison' means and whether multiple runs can be returned.

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%, so the description must carry the load. It explains the optionality of testId (omit for latest run) and implies an ID is needed for a specific run, but never states what kind of identifier testId is (test definition vs. run) or how it relates to the returned runId.

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?

Uses a specific verb ('Read') with a described payload: A/B findings, analytics, and the saved comparison. That distinguishes it reasonably well from siblings like get_test_summary or get_test_report, though 'analytics' and 'saved comparison' remain loosely defined.

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?

Provides one concrete usage rule: omit testId to get the latest A/B run. It does not say when to prefer this over get_test_report, get_test_summary, or get_card_sorting_results, so the agent must infer routing from names alone.

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