Skip to main content
Glama

test_prompt

Start a test of one prompt across several models. Spends credit, never more than max_spend_usd by estimate. Returns at once with a test_id: call get_test for the results. Cases and checks are drafted if left out.

Input Schema

NameRequiredDescriptionDefault
nameNoA short name, like Support triage.
casesNoRealistic inputs, up to 12.
checksNoYes/no statements a good answer meets.
modelsNoModel IDs from list_models, up to 6. Default: a starting mix.
promptYesThe user prompt, with {{variables}}.
systemNoThe system prompt, if any.
max_spend_usdNoLimit for this test. Default 1. Models are left out, dearest first, to fit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does it well: it discloses credit spend bounded by max_spend_usd, that it returns immediately rather than blocking, that a test_id is issued for follow-up, that cases/checks are auto-drafted when omitted, and that models are dropped dearest-first to fit budget.

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?

Four tight sentences, front-loaded with purpose, then cost, then the async return contract, then defaults. Nothing is redundant.

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 an async job-launching tool with no output schema, the description supplies everything an agent needs: cost implications, non-blocking return, the test_id handoff to get_test, and default behavior for optional inputs.

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 100%, so the baseline is 3; the description adds real meaning on top by explaining the defaulting behavior for cases and checks and the budget-driven model selection logic that the schema does not state.

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 ('Start a test of one prompt across several models') and distinguishes itself from the sibling that retrieves results by naming get_test explicitly.

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?

Clear context: use this to launch a multi-model test, then call get_test for results. It does not contrast with improve_prompt or say when a test is inappropriate, so it falls short of full when/when-not guidance.

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