Skip to main content
Glama

run_check

Idempotent

Run one preconfigured repository check (tests, lint, or build) in the repo root and return its exit code with stdout/stderr; arbitrary commands are refused. Use before pushing commits to verify changes.

Instructions

Run one check command preconfigured by the repo owner (tests, lint, build) in the repo root and return 'exit=' plus stdout/stderr. Arbitrary commands are refused. Use before commit_push to verify changes. Available: (none).

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": {
      "name": "<name>"
    },
    "name": "run_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of a configured check (see the tool description).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already state readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the description's added detail is what matters: it discloses working directory, return format ('exit=<code>' plus stdout/stderr), and the refusal of arbitrary commands. It also discloses the critical availability state ('Available: (none)'), which tells the agent the tool currently has no callable checks; what it does not cover is how non-zero exit codes or failures are surfaced.

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?

Three short front-loaded clauses deliver purpose, constraints, ordering guidance, and availability state with no filler. Even the terse 'Available: (none).' earns its place because it prevents a doomed invocation.

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 no output schema, the description correctly compensates by specifying the return shape (exit code plus stdout/stderr) and the execution location. The main residual gap is failure semantics—what an agent should conclude from a non-zero exit and whether output is truncated—but for a one-parameter tool this is close to complete.

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 single 'name' parameter is already documented as 'Name of a configured check (see the tool description).' The description reinforces that the value must come from the preconfigured list rather than an arbitrary command, but adds no naming syntax or enumeration beyond what the schema provides. Baseline 3 is appropriate.

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 ('run one check command preconfigured by the repo owner') plus the exact scope (tests, lint, build, executed in the repo root), and explicitly excludes arbitrary commands. An agent can immediately distinguish this from generic shell or repo_write siblings.

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?

Gives concrete when-to-use guidance ('before commit_push to verify changes') and an explicit exclusion ('arbitrary commands are refused'). It stops short of naming the specific sibling tools an agent should prefer for non-check operations, but the positive and negative conditions are both stated.

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