Skip to main content
Glama

IA-QA — 17 QA judges for AI agents

generate_ci_workflow

Read-onlyIdempotent

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).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_ci_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
cronNoFor schedule (default '0 6 * * 1').
gateNoDefault eval_contract. both = CLI checks + eval; all = CLI checks, drift, eval.
providerNoDecides which repo secret is wired (default groq).
triggersNoDefault push + pull_request.
cli_toolsNoTools 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_evaluate (tools-list.json), evaluate_agent_run, evaluate_llm_output (metamorphic), test_skill. A name with no recipe gets a step that reports and does not fail.
min_scoreNoOverride the contract min_score (0-100).
app_base_urlNo[selector_drift] Default http://127.0.0.1:3000; must match .ia-qa/config.json.
fail_on_failNoDefault true; false reports without gating.
node_versionNoDefault "20".
contract_pathNoDefault evals/smoke.ia-eval.yaml.
workflow_nameNo
app_start_commandNo[selector_drift] Boots the app, e.g. "npm run start:ci". Never guessed: omitted, the step is a TODO.

Output Schema

NameRequiredDescriptionDefault
modeNo
pathNo
yamlNo
notesNo
next_stepsNo
secrets_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / cli_tools / description
      Previous value: -"Tools to gate on, e.g. [\"secret_scan\",\"prompt_injection_scan\"]."New value: +"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_evaluate (tools-list.json), evaluate_agent_run, evaluate_llm_output (metamorphic), test_skill. A name with no recipe gets a step that reports and does not fail."
    • removedOutput schema / properties / gate
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / mode
      Added value: +{
      +  "type": "string"
      +}
  2. Changed13 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {}
      +]
    • changedInput schema / properties / app_base_url / description
      Previous value: -"URL the drift gate waits for before capturing (default: http://127.0.0.1:3000). Must match config.baseUrl in .ia-qa/config.json."New value: +"[selector_drift] Default http://127.0.0.1:3000; must match .ia-qa/config.json."
    • changedInput schema / properties / app_start_command / description
      Previous value: -"Command that boots the app for the selector_drift gate, e.g. \"npm run start:ci\". Cannot be guessed — omitted, the step carries an explicit TODO and the note says so, because a plausible default would silently map nothing."New value: +"[selector_drift] Boots the app, e.g. \"npm run start:ci\". Never guessed: omitted, the step is a TODO."
    • changedInput schema / properties / cli_tools / description
      Previous value: -"IA-QA tool names to run as deterministic gates, e.g. [\"secret_scan\",\"prompt_injection_scan\"]. Tools with no known CI recipe get a --stdin step flagged in notes."New value: +"Tools to gate on, e.g. [\"secret_scan\",\"prompt_injection_scan\"]."
    • changedInput schema / properties / contract_path / description
      Previous value: -"Path to the .ia-eval.yaml contract, relative to the repo root (default: evals/smoke.ia-eval.yaml). Only used when the gate includes eval_contract."New value: +"Default evals/smoke.ia-eval.yaml."
    • changedInput schema / properties / cron / description
      Previous value: -"Cron expression when triggers include 'schedule' (default: '0 6 * * 1' — Mondays 06:00 UTC)."New value: +"For schedule (default '0 6 * * 1')."
    • changedInput schema / properties / fail_on_fail / description
      Previous value: -"Fail the build on a FAIL/PARTIAL verdict (default: true). Set false to report without gating."New value: +"Default true; false reports without gating."
    • changedInput schema / properties / gate / description
      Previous value: -"Which gate to emit. eval_contract = LLM eval via the action (default). cli_checks = deterministic CLI assertions. selector_drift = an E2E selector-drift gate via @ia-qa/self-healing (boots the app, captures, diffs against the committed baseline, branches on exit code 0/1/2). both = CLI checks + eval. all = CLI checks, then drift, then eval."New value: +"Default eval_contract. both = CLI checks + eval; all = CLI checks, drift, eval."
    • changedInput schema / properties / min_score / description
      Previous value: -"Override the contract min_score (0-100). Omit to use the value in the contract."New value: +"Override the contract min_score (0-100)."
    • changedInput schema / properties / node_version / description
      Previous value: -"Node version for the CLI steps (default: \"20\")."New value: +"Default \"20\"."
    • changedInput schema / properties / provider / description
      Previous value: -"LLM provider the contract runs against — decides which repository secret the workflow wires (default: groq)."New value: +"Decides which repo secret is wired (default groq)."
    • changedInput schema / properties / triggers / description
      Previous value: -"Workflow triggers (default: push + pull_request)."New value: +"Default push + pull_request."
    • removedInput schema / properties / workflow_name / description
      Removed value: -"Workflow display name (default: \"IA-QA Quality Gate\")."
  3. Changed4 schema fields changed
    • addedInput schema / properties / app_base_url
      Added value: +{
      +  "description": "URL the drift gate waits for before capturing (default: http://127.0.0.1:3000). Must match config.baseUrl in .ia-qa/config.json.",
      +  "type": "string"
      +}
    • addedInput schema / properties / app_start_command
      Added value: +{
      +  "description": "Command that boots the app for the selector_drift gate, e.g. \"npm run start:ci\". Cannot be guessed — omitted, the step carries an explicit TODO and the note says so, because a plausible default would silently map nothing.",
      +  "type": "string"
      +}
    • changedInput schema / properties / gate / description
      Previous value: -"Which gate to emit. eval_contract = LLM eval via the action (default). cli_checks = deterministic CLI assertions. both = CLI checks first, eval last."New value: +"Which gate to emit. eval_contract = LLM eval via the action (default). cli_checks = deterministic CLI assertions. selector_drift = an E2E selector-drift gate via @ia-qa/self-healing (boots the app, captures, diffs against the committed baseline, branches on exit code 0/1/2). both = CLI checks + eval. all = CLI checks, then drift, then eval."
    • changedInput schema / properties / gate / enum
      Previous value: -[
      -  "eval_contract",
      -  "cli_checks",
      -  "both"
      -]New value: +[
      +  "eval_contract",
      +  "cli_checks",
      +  "both",
      +  "selector_drift",
      +  "all"
      +]
  4. Added

TDQS

A3.7/5.0
Behavior3/5

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

The strongest addition is "Deterministic template, no LLM", which tells the agent there is no model call and therefore no latency/variance risk, plus "returns the YAML, the secrets and the next steps", which discloses that a repo secret must be created afterwards. That goes beyond the supplied readOnly/idempotent hints. It still does not say whether anything is written to disk or whether existing workflow files would be overwritten.

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 core purpose and every clause carries information; no filler sentences. It is dense to the point of being slightly over-packed, restating gate-value detail the enum already covers, which costs a little readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need no explanation, and 0 required parameters keep invocation low-risk. The description covers determinism, the secret hand-off, and the sibling pairing, leaving only side effects on existing workflow files unstated.

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 92%, so the schema already documents all 12 optional parameters thoroughly, which sets the baseline at 3. The description reinforces two points not obvious from the schema alone: the provider key becomes a repo secret, and unnamed CLI tools degrade to non-failing report steps. Useful but marginal on top of an already rich schema.

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?

"Generate a ready-to-commit GitHub Actions workflow that gates a build on IA-QA" is a specific verb plus a specific artifact, and the three gate modes (eval_contract, cli_checks, selector_drift) make the output concrete. An agent can tell this apart from run_eval_contract or check_api_contract without opening any schema.

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?

"Pair with run_eval_contract (draft)" gives some sequencing context, and the gate semantics hint at which mode to pick, but the parenthetical is ambiguous (is run_eval_contract the draft, or is this the draft stage?). There is no explicit statement of when to reach for this versus simply running an eval directly, and no exclusions.

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.