Skip to main content
Glama

Get a test's results

get_test
Read-only

Use this after test_prompt, run_loaded_prompt or improve_prompt to follow a test until it's done. Each call waits up to about 20 seconds. While the status is queued or running it says how far the test has got and roughly how long is left: call it again with the same test_id until the status is done, then summarise. When done: a summary first (the pick, its pass rate and cost per 1,000 answers, and the verdict), each model's line, and sample failures. Spends nothing.

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": {
      "test_id": "<test_id>"
    },
    "name": "get_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoAlso give the full report: every version with its prompt, every model's figures and steadiness.
test_idYes
transcriptsNoFor a conversation test: include each conversation's transcript, with its tool calls and the dummy results. Left out by default.
wait_secondsNoWait up to this long for it to finish, at most 25. Default 20.

Output Schema

NameRequiredDescriptionDefault
urlYes
moreNo
nameNo
nextNo
pickNo
unitNo
errorNo
voiceNoWith writing samples: how each version's answers compare with the person's own writing. A style check, not an AI detector.
detailNo
modelsNo
statusYes
summaryYesOne or two plain sentences to lead with.
test_idYes
verdictNo
versionNo
failuresNo
progressNo
spent_usdNo
comparisonNoReady to show as a table: columns, then one row per model, best first.
most_passedNo
cheaper_setupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / voice
      Added value: +{
      +  "description": "With writing samples: how each version's answers compare with the person's own writing. A style check, not an AI detector.",
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • addedOutput schema / properties / models / items / properties / cost_per_1000_images
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / most_passed / properties / cost_per_1000_images
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / pick / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "cost_per_1000_answers": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "errors": {
      -        "type": "integer"
      -      },
      -      "model": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "of": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "pass_rate": {
      -        "description": "Percent of cases that passed every must check.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "passed": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "seconds": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "cost_per_1000_answers": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "cost_per_1000_images": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "errors": {
      +        "type": "integer"
      +      },
      +      "model": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "of": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "pass_rate": {
      +        "description": "Percent of cases that passed every must check.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "passed": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "seconds": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / unit
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "Also give the full report: every version with its prompt, every model's figures and steadiness.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / wait_seconds / description
      Previous value: -"Wait up to this long for it to finish, at most 25."New value: +"Wait up to this long for it to finish, at most 25. Default 20."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "cheaper_setup": {
      +      "type": "object"
      +    },
      +    "comparison": {
      +      "description": "Ready to show as a table: columns, then one row per model, best first.",
      +      "properties": {
      +        "cheaper": {
      +          "description": "check_cheaper_model only.",
      +          "properties": {
      +            "current": {
      +              "type": "string"
      +            },
      +            "fell_short": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "found": {
      +              "description": "The cheapest model that held up, or null.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "held_up": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "margin_points": {
      +              "description": "How many points of pass rate below the current model still counts as holding up.",
      +              "type": "number"
      +            },
      +            "saving_per_1000_answers": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "saving_percent": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "columns": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "pick": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "model": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "rows": {
      +          "items": {
      +            "properties": {
      +              "cells": {
      +                "description": "The row as text, one per column.",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "cost_per_1000_answers": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "current": {
      +                "description": "check_cheaper_model: the model the person is on now.",
      +                "type": "boolean"
      +              },
      +              "model": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "of": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "pass_rate": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "passed": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "pick": {
      +                "type": "boolean"
      +              },
      +              "seconds": {
      +                "description": "Median seconds per answer.",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "model",
      +              "name",
      +              "pick",
      +              "cells"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "verdict": {
      +          "description": "One plain line to lead with.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "columns",
      +        "rows",
      +        "pick",
      +        "verdict"
      +      ],
      +      "type": "object"
      +    },
      +    "detail": {
      +      "type": "object"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "failures": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "models": {
      +      "items": {
      +        "properties": {
      +          "cost_per_1000_answers": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "errors": {
      +            "type": "integer"
      +          },
      +          "model": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "of": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "pass_rate": {
      +            "description": "Percent of cases that passed every must check.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "passed": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "seconds": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "more": {
      +      "type": "string"
      +    },
      +    "most_passed": {
      +      "properties": {
      +        "cost_per_1000_answers": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "errors": {
      +          "type": "integer"
      +        },
      +        "model": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "of": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "pass_rate": {
      +          "description": "Percent of cases that passed every must check.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "passed": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "seconds": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "next": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "pick": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "cost_per_1000_answers": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "errors": {
      +              "type": "integer"
      +            },
      +            "model": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "of": {
      +              "type": [
      +                "integer",
      +                "null"
      +              ]
      +            },
      +            "pass_rate": {
      +              "description": "Percent of cases that passed every must check.",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "passed": {
      +              "type": [
      +                "integer",
      +                "null"
      +              ]
      +            },
      +            "seconds": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "progress": {
      +      "properties": {
      +        "answers": {
      +          "type": "integer"
      +        },
      +        "answers_done": {
      +          "type": "integer"
      +        },
      +        "models": {
      +          "type": "integer"
      +        },
      +        "models_done": {
      +          "type": "integer"
      +        },
      +        "seconds_left": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "spent_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "queued",
      +        "running",
      +        "done",
      +        "failed"
      +      ],
      +      "type": "string"
      +    },
      +    "summary": {
      +      "description": "One or two plain sentences to lead with.",
      +      "type": "string"
      +    },
      +    "test_id": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "verdict": {
      +      "type": "string"
      +    },
      +    "version": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "summary",
      +    "test_id",
      +    "status",
      +    "url"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / transcripts
      Added value: +{
      +  "description": "For a conversation test: include each conversation's transcript, with its tool calls and the dummy results. Left out by default.",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare it is a non-destructive read, so the bar is lower, yet the description adds real behavior: each call blocks for about 20 seconds, it reports progress and rough time remaining, and it costs nothing. It also sketches the return shape (pick, pass rate, cost per 1,000 answers, verdict, per-model lines, sample failures), which is actionable context beyond the annotations.

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?

Front-loaded with the trigger and the polling loop, then the return shape, then the cost note. Dense and purposeful, though a few phrases repeat the same completion idea ('until it's done' and 'until the status is done'), costing a little tightness.

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?

For a polling tool with four parameters, an output schema, and clean annotations, the definition covers trigger, loop termination, latency, cost, and output shape. Nothing an agent needs to invoke or re-invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 75%, so baseline 3; the description adds meaning by specifying that test_id must be reused across polls and that the wait is bounded (about 20 seconds per call, consistent with the schema's max of 25). It does not explain detail or transcripts, leaving those entirely to their schema descriptions.

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 (get/follow results) and resource (a test), and pins down its role in the workflow: it is the polling tool that follows test_prompt, run_loaded_prompt or improve_prompt. An agent can distinguish it from siblings like get_check or compare_models without opening the 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?

Explicit when-to-use is given (after test_prompt, run_loaded_prompt or improve_prompt) plus a concrete loop rule: call it again with the same test_id while status is queued or running, stop when status is done. That is a complete usage contract, not an implied one.

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.