IA-QA — 17 QA judges for AI agents
v2.0.017 QA judges for agents: LLM outputs, agent runs, PR diffs, APIs, MCP servers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_testing_guidelines
Query the IA-QA methodology knowledge base. Returns structured testing guidelines, assertion strategies, thresholds, best practices, and relevant MCP tools for a given topic. Call without a topic to list all available topics. Topics: llm-unit-testing, rag-pipeline, prompt-stability, prompt-ab-testing, embedding-quality, eval-framework, semantic-testing, auto-testing, security, api-testing, ci-cd, multimodal, llm-data-security, agent-observability, pro-tips, learning-paths, golden-dataset, selector-drift, qa-recipes, playbooks. Not sure where to start testing an LLM, RAG pipeline or agent? Call…
| Parameter | Type | Description |
|---|---|---|
category | string | Tool category filter. |
limit | number | News: max articles (default 20). |
max_results | number | |
metric | string | |
news | boolean | string | |
query | string | Keywords for the tool you need. |
score | number | |
topic | string | The testing topic to retrieve guidelines for. Omit to get the start-here map and the full list of available topics. |
with_schema | boolean |
run_pr_gate_pipeline
When: a diff is ready for review. Gives: likely bugs in the added lines (with the diff line), risk score with every factor named, impacted areas, test cases to add, credentials added by the diff (BLOCK, masked previews), and with commit_message its Conventional Commits check. PASS / CONDITIONAL / BLOCK. Deterministic, no model call. Does not prove: that the change is correct; only a credential is a hard rule, the rest is triage.
| Parameter | Type | Description |
|---|---|---|
git_diff * | string | Unified git diff (output of `git diff HEAD` or copied from GitHub diff view) |
commit_message | string | Checked against Conventional Commits; an invalid one makes the verdict CONDITIONAL at most. |
context | string | Optional PR title or description for richer analysis |
generate_test_cases
Generate a set of test cases (valid, edge, invalid, pairwise) for a given feature description. Declared constraints drive the boundaries: a length or numeric bound ("[8-64]", "min 8 chars", "at least 8 characters" — read from inputs, and from the feature prose when a sentence names exactly one field) yields the last accepted value AND the first rejected one; a composition rule ("1 uppercase", "1 digit", "1 special character") yields one case that breaks only it. With no inputs, the fields the feature names next to a constraint are used, and inputsSource and warnings say so (or that none coul…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Your provider key, used for this call only. |
confluence_pages | array | With ticket: documentation pages. |
feature | string | Feature or function to test: inputs, expected behaviour, context. A constraint stated here ("password must be at least 8 characters") applies when its sentence names exactly one field. |
gherkin | string | Gherkin to fix. |
inputs | string | Optional: list of input parameters (one per line, e.g. "email: string [required]", "password: string [required, min 8 chars]", "age: number [18-99]") |
max_tokens | integer | |
model | string | e.g. "gpt-4o-mini", "claude-haiku-4-5-20251001", "openai/gpt-oss-20b". |
ticket | object | The ticket's text: {key, summary, description, …} or Jira's issue shape (fields, ADF). This server never reads Jira. |
warnings | array | With gherkin: the warnings to fix. |
analyze_test_results
Reads JUnit XML reports of test runs (Playwright, Cypress, Jest, Vitest, pytest, Surefire…), oldest first, and tells regressions from flaky tests. Each test gets a status (regression, broken, new_failure, failing, flaky, recovered), a confidence (confirmed, probable, undecided) and its evidence; failures sharing a cause are grouped, environment errors flagged. Deterministic. verdict FAIL = regression or broken in the latest run, INCONCLUSIVE = undecidable.
| Parameter | Type | Description |
|---|---|---|
reports * | array | string | JUnit XML text of each run, oldest first (1 to 50). |
commits | array | Optional: the commit of each report, same order. Same-commit pass+fail proves a flake. |
web_security_audit
When: a public site or API is about to ship, or a CORS call fails in the browser. Gives: headers (CSP, HSTS…), TLS certificate of the port the URL names, CORS policy and cookie flags, in parallel, one grade capped by the weakest link (an unmeasured check is listed, never counted as passing); checks runs only some; headers grades a pasted response header block for a server this one cannot reach; origin (+ method, request_headers, credentials) answers whether a page on that origin may call the URL, as the browser would decide. Optional AI review with model (BYOK). Does not prove: anything abou…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Your Groq API key, used for this request only. Without it the server key is used, 10 reviews a day. |
checks | array | Default: all four. |
credentials | boolean | fetch with credentials: "include". |
headers | string | object | Pasted response headers (e.g. curl -sI output), instead of url. |
method | string | Method the page uses (default GET). |
model | string | Groq model for the optional AI review (e.g. "openai/gpt-oss-20b"). Default "none": deterministic checks only, nothing sent to a model. |
origin | string | Origin of the calling page. |
request_headers | array | Header names the page sets. |
url | string | Full URL to audit. |
run_eval_contract
Run an IA-EVAL test suite (.ia-eval.yaml contract): call the model per scenario; return passed (true, false, null if undecided) and a verdict (PASS, FAIL, PARTIAL). Expectations are assertions that fail a scenario whatever its score; evaluators give the score. Hosted: pass inline_contract. validate_only calls no model. draft ({description, system_prompt?, scenario_count?, task_type?}) writes a contract from a plain-language description instead (server model, nothing to run yet): read it, add real inputs that are not in the description, then run it.
| Parameter | Type | Description |
|---|---|---|
api_keys | object | Your keys per provider. Only Groq falls back to the server key; any other provider needs yours. |
contract_path | string | A .ia-eval.yaml under the server's working directory (local use). |
draft | object | Write a contract instead of running one. |
inline_contract | object | The contract as an object: "metadata" ({name, version, model?, provider?}), "expectations", "evaluators" and "scenarios" ([{id, input, expectations?}]). draft writes one. |
overrides | object | Override contract defaults |
validate_only | boolean | Check the contract against the IA-EVAL schema and stop: no model call, no key, deterministic. Returns valid + issues instead of throwing. Gate a PR that edits a contract on valid. |
agent_checkout_eval
Judges a shopping agent's run in Sandbox Bazaar, a fictional shop whose scenarios hide known traps (injected instructions, last-step fees, pre-checked subscription, fake discount, cheaper listing, look-alike merchant, forced substitute). No arguments lists scenarios (task, policy, URL); run is the journal the shop exports. Deterministic, no model. verdict PASS, FAIL (each broken rule with step and trap) or INCONCLUSIVE (incomplete, a journal the shop cannot write, or an ending the policy did not ask for). A run that is not JSON or has no events list is refused (-32602), not judged.
| Parameter | Type | Description |
|---|---|---|
policy | object | Purchase policy, shaped like a scenario's default_policy. Default: the scenario's. |
run | The journal: window.__checkoutRun, or its copied text. | |
scenario | string | Scenario id (bz-100…). Default: the journal's. |
mcp_server_evaluate
When: building or choosing an MCP server. Gives: url → a live server over Streamable HTTP is checked as a client would meet it (handshake or server/discover, tools/list and every definition against the spec, error codes, one read-only tools/call, structuredContent against outputSchema, latency): PASS / FIX / BLOCK with a 0-100 score, INCONCLUSIVE when authorization is required. tools_list → a server it cannot reach (stdio, local, undeployed) is judged on its pasted tools/list answer, an array of tools or one tool, with the same definition rules; strict also requires documentation. Does not…
| Parameter | Type | Description |
|---|---|---|
strict | boolean | With tools_list: every description ≥ 20 characters and every parameter described. |
test_tool_args | object | Real arguments, sent to the tested server. Without them, required ones are invented. |
test_tool_name | string | Tool to call. Default: a read-only one, preferring no required arg. |
tools_list | string | object | array | Pasted answer to tools/list (JSON-RPC or its result), an array of tools or one tool, instead of url. |
url | string | Public URL of the MCP endpoint (e.g. https://mcp.example.com/mcp). An origin alone (https://www.ia-qa.com) tries /mcp, then /. |
test_skill
Test a SKILL.md. No model, every call: lint (gate on lint.valid) and review (description lacks what/when, words shared with other_skills, leftovers, no done-check, missing files; why + fix each). Unless lint_only, a model picks a skill per request from names+descriptions: trigger_accuracy PASS ≥80, FIX ≥50, else BLOCK; your scenarios = gate, generated = signal; unanswered = INCONCLUSIVE. Server key 10 runs/day. mode "interview" (no skill_md): the questions to put to the person (never answer them yourself), then with answers: remarks per answer, the SKILL.md, scenarios for this tool and a s…
| Parameter | Type | Description |
|---|---|---|
answers | object | Keyed by question id; each step can be sent alone. |
api_key | string | Used once, not stored. |
dir_name | string | Its folder. |
files | array | Paths in its folder. |
lint_only | boolean | |
mode | string | Default test. |
model | string | Default openai/gpt-oss-20b. |
name | string | Interview: the skill name. |
other_skills | array | Installed next to it. |
scenario_count | number | |
scenarios | array | Max 20, near misses included. |
skill_md | string | Full SKILL.md, frontmatter included. |
generate_ci_workflow
Generate a ready-to-commit GitHub Actions workflow that gates a build on IA-QA: "eval_contract" runs a .ia-eval.yaml through ia-qa-com/eval-action@v1 (provider key as a repo secret), "cli_checks" runs listed tools via npx @ia-qa/cli and fails on their gate field (review too: not decided is not a pass), "selector_drift" gates E2E selectors with @ia-qa/self-healing. Deterministic template, no LLM; returns the YAML, the secrets and the next steps. Pair with run_eval_contract (draft).
| Parameter | Type | Description |
|---|---|---|
app_base_url | string | [selector_drift] Default http://127.0.0.1:3000; must match .ia-qa/config.json. |
app_start_command | string | [selector_drift] Boots the app, e.g. "npm run start:ci". Never guessed: omitted, the step is a TODO. |
cli_tools | array | Tools to gate on. Recipes: screen_text and run_pr_gate_pipeline (the diff), package_check (package-lock.json), check_api_contract (openapi.yaml), web_security_audit (vars.TARGET_URL), mcp_server_evalu… |
contract_path | string | Default evals/smoke.ia-eval.yaml. |
cron | string | For schedule (default '0 6 * * 1'). |
fail_on_fail | boolean | Default true; false reports without gating. |
gate | string | Default eval_contract. both = CLI checks + eval; all = CLI checks, drift, eval. |
min_score | number | Override the contract min_score (0-100). |
node_version | string | Default "20". |
provider | string | Decides which repo secret is wired (default groq). |
triggers | array | Default push + pull_request. |
workflow_name | string |
package_check
Before installing a dependency: does the npm or PyPI package exist, is the version published, deprecated or yanked, which known vulnerabilities (OSV.dev, with fix version) it and its latest carry. Catches invented names. A lockfile audits every package, transitive ones too, with the chain pulling each flaw in. Names and versions go to OSV.dev, npm, PyPI. FAIL = missing package/version or high/critical flaw.
| Parameter | Type | Description |
|---|---|---|
ecosystem | string | For bare names (default npm). |
lockfile | string | Or alone: package-lock.json, pnpm-lock.yaml, yarn.lock, uv.lock, poetry.lock or pinned requirements. |
manifest | string | Or the text of a package.json or requirements.txt. |
packages | array | string | "name@version" (npm), "name==version" (PyPI), or {name, version, ecosystem}. Up to 50. |
rate_tool
Give honest usage feedback on an IA-QA MCP tool. Give a score (1-5) and a comment. Rate low (1-2) if the tool was wrong, irrelevant, or a poor fit; rate high (4-5) only if it genuinely solved your need. Maintainers read ratings, one vote per agent and tool a month: comments and per-tool scores are not published, only the overall average and vote count. Comments are screened: one carrying a credential is not stored, personal data becomes placeholders — describe what happened, not what a model should do. Skip routine successes: signal, not praise.
| Parameter | Type | Description |
|---|---|---|
score * | number | Rating from 1 (poor) to 5 (excellent) |
tool_name * | string | Name of the MCP tool to rate (e.g. "format_json", "shield_analyze") |
comment | string | Strongly encouraged: what you were trying to do, whether the tool got you there, and what was missing, wrong or a poor fit. Up to 2000 chars are stored; beyond, the response says truncated: true — s… |
screen_text
When: a text is about to enter an LLM (user input, retrieved document, tool result) or leaves one (an answer, a log line). Gives: one gate per check, the worst on top: injection (prompt injection, jailbreaks, attempts to override the system instructions), secrets (API keys, tokens, passwords), PII (emails, phones, card numbers), toxicity (hate speech, threats, insults, self-harm); findings never repeat a secret or a personal value (masked previews only). redact: true also returns the text with secrets and personal data masked ([REDACTED_SECRET_OPENAI_KEY], [REDACTED_EMAIL]…), to log or forwa…
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to screen (up to 500 000 characters). |
checks | array | Default: all four. |
redact | boolean | Also return redacted_text: the text with secrets (the secrets check's patterns), emails, phones, card numbers, IBANs and IPs replaced by [REDACTED_TYPE], e.g. before logging it. |
sensitivity | string | Injection patterns to report (default medium): low keeps only critical ones, high adds low-severity ones such as a continuation attack ("as I was saying"). |
evaluate_llm_output
When: you hold outputs a model already produced and want them judged without calling the model again. Each check runs when its input is given: source → grounding: is the model making things up, claims, numbers or negations its source does not support; reference → similarity to an expected answer (cosine + ROUGE-L); rules → guardrails on what the assistant may or may not say (must include, must not include, length, format, regex, no PII); schema → JSON Schema; outputs (the same question asked several times) → consistency; variants ({variantId, answer}, e.g. answers for men and for wom…
| Parameter | Type | Description |
|---|---|---|
base | object | Metamorphic: {question?, output} of the original question. |
checks | array | Default: every check whose input is given. |
metamorphic_thresholds | object | Per-relation overrides, 0-1. |
output | string | The model output to judge. |
outputs | array | Several outputs of the same prompt. |
reference | string | Expected answer. |
rules | array | [{type, value}]: must_include, must_not_include, max_length, min_length, word_count_max, word_count_min, starts_with, ends_with, format (json, markdown, bullet_list), regex_match, regex_not_match; or… |
schema | object | JSON Schema the output (as JSON) must satisfy. |
source | string | Text the output must be grounded in. |
thresholds | object | For similarity: {cosine, rouge_l} (defaults 0.75, 0.5). |
transformed | array | Metamorphic: [{relation: case|typo|paraphrase|reorder|translation|specialization, output}], answers to transformed questions. |
variants | array | [{variantId, answer}], one per variant of the prompt. |
evaluate_agent_run
When: an agent ran and you have what it did. Gives: trajectory (trace + assertions: order, must_call, must_not_call, max/min calls, no_error, recovery, no_injection in tool results, no_pii in the final answer; OpenAI, Anthropic, LangChain or ReAct traces) and tool calls (calls + tools: the arguments of each function call or tool_use, even a single one, checked against its declared definition in OpenAI, MCP or Anthropic form: name allowed, required arguments, types, enums, no extra argument). One gate per check, the worst on top; an unreadable trace is INCONCLUSIVE, never PASS. Deterministic, n…
| Parameter | Type | Description |
|---|---|---|
assertions | array | [{type: "order", before, after} | {type: "must_call", tool} | …]. |
calls | array | Tool calls the agent made: {name, arguments} (or Anthropic {name, input}). |
tools | array | The tool definitions it was given (OpenAI parameters, MCP inputSchema or Anthropic input_schema). |
trace | Messages array, run tree, or a Thought/Action/Observation log. |
check_api_contract
When: you hold an API contract and want it checked. Gives: spec → is this OpenAPI 3.x document valid (required fields, unique operationIds, undeclared $ref, missing 2xx; errors with JSON pointers); schema + value or values → does each JSON value satisfy this JSON Schema (draft-07 subset; a keyword it cannot evaluate reads INCONCLUSIVE, never valid). One gate per check, the worst on top. Deterministic, no network. Does not prove: that the running API returns what the spec says (pass a real response as value against its schema), nor anything about keywords outside the subset.
| Parameter | Type | Description |
|---|---|---|
schema | string | object | JSON Schema, text or object. |
spec | string | object | OpenAPI 3.x document, JSON or YAML text, or the parsed object. |
value | string | object | array | One JSON value to check against schema (a scalar as JSON text, e.g. "0"). |
values | array | Several values, e.g. responses captured from the API; each checked. |
model_catalogue
When: choosing a model, estimating a cost or checking a context window. Prices and context windows are read daily from each provider's own pricing page (prices_as_of, price_status on every price). Gives, by what you pass: models → their facts, side by side when 2-5; models + input_tokens (+ output_tokens) → cost per model; models + messages → does the conversation fit each window (the one gated answer); provider → the catalogue; use_case / features / max_budget / vram_gb → a shortlist on facts; text → its token count. Does not prove: which model is best for your task: only running…
| Parameter | Type | Description |
|---|---|---|
features | array | vision, function_calling, json_mode, streaming, reasoning |
input_tokens | number | |
max_budget | number | USD per month, with tokens_per_day. |
max_output_tokens | number | Reserved for the answer (default 4096). |
messages | array | [{role, content}]: checked against each model's window. |
mode | string | cloud or local |
models | array | string | Model ids, e.g. ["claude-sonnet-5-5", "gpt-4o"]. |
output_tokens | number | |
provider | string | List one provider's models ("all" for every one). |
quantization | string | |
text | string | Count its tokens. |
tokens_per_day | number | |
top_n | number | How many models the shortlist returns (it comes in "shortlist", beside the catalogue when provider is given). |
use_case | string | |
vram_gb | number |