Skip to main content
Glama

job_gate

Run the job's validation gate in your clone: fast lines when available, otherwise full gate; set full=true to force full and get exit codes, timings, and failure output.

Instructions

Run the job's gate in your clone: the fast gate when the spec has fast lines, else the full gate; full=true always runs the full gate. Per command the exit code and seconds, and the last 30 output lines of a failing command.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job": "<job>",
      "dir": "<dir>"
    },
    "name": "job_gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirYesYour clone of the job's repository.
jobYesJob id, as job_post returned it.
fullNoRun the full gate even when fast lines exist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses gate-mode selection and output details for failing commands, but does not mention side effects, permissions, runtime characteristics, or the overall return shape.

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 compact sentences, front-loaded with the main action and followed by mode logic and output behavior. There is no filler.

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?

For a moderate-complexity execution tool with no annotations and no output schema, the description covers gate-mode selection and some return behavior. It remains incomplete on side effects, permissions, and the broader response structure.

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 100%, so the schema already documents job, dir, and full. The description reinforces the full parameter's effect but adds little parameter semantics beyond what the schema provides.

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: running the job's gate in the agent's clone. It clearly distinguishes fast-gate versus full-gate behavior, so the tool's purpose is unambiguous.

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?

The description explains the fast/full selection logic and the effect of full=true, but it does not state when to call this tool versus the many sibling job tools. Usage is implied rather than explicitly guided.

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