Skip to main content
Glama

run_tests

Run regression tests on a system prompt with real LLM evaluation for a company. Use a saved prompt ID for speed or provide the system prompt text directly.

Instructions

Run regression tests against a system prompt with real LLM evaluation for a specific company. Use prompt_id (from save_draft_prompt) for faster performance, or system_prompt for direct text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolsNoOptional tool definitions for the test
prompt_idNoUUID of a saved draft prompt (from save_draft_prompt). Preferred for performance. Use this OR system_prompt, not both.
test_modelNoOptional model to use for testing (e.g., 'gpt-4')
company_nameYesCompany name in kebab-case (e.g., 'technical-life-care')
system_promptNoThe system prompt text to test. Use this OR prompt_id, not both.
test_case_idsNoOptional array of test case UUIDs to run. If omitted, runs all tests.
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'real LLM evaluation' implying cost/latency, but does not disclose side effects (e.g., whether results are saved, if a run record is created), rate limits, or the response/output format. For a tool that executes tests, this is a significant transparency gap.

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 concise sentences. The first sentence front-loads the core purpose ('Run regression tests against a system prompt with real LLM evaluation'), and the second covers the crucial parameter decision. No filler or redundancy.

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?

The description is adequate for a 6-parameter tool with full schema descriptions, but lacks information about return values or output format (no output schema), and does not explain the role of other parameters like tools, test_model, or test_case_ids beyond the schema. Given the tool's potential complexity (running LLM evaluations), the description should mention what the caller receives or what side effects occur.

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 meaningful semantic guidance by explaining the relationship between prompt_id and system_prompt, noting that prompt_id is 'from save_draft_prompt' and preferred for 'faster performance'. This goes beyond the schema's simple 'use one or the other' instruction.

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?

The description immediately states the specific action 'Run regression tests' against a 'system prompt' with 'real LLM evaluation' for a specific company. This clearly distinguishes it from sibling tools like create_test_case or list_test_cases, which create or list rather than execute tests.

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 description gives explicit guidance on parameter usage: 'Use prompt_id (from save_draft_prompt) for faster performance, or system_prompt for direct text.' This is practical guidance for when to use each option. However, it does not explicitly exclude alternatives or contrast with other tools, though no sibling tool performs the same test-running function.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/williamjonathanbowen/clerk-chat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server