Skip to main content
Glama

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