Skip to main content
Glama

CI checks for a ref

github_checks

Retrieve CI check runs for a GitHub branch or commit SHA to verify build and test status before merging or reporting progress.

Instructions

Get CI check runs for a GitHub branch or commit SHA.

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

Input Schema

NameRequiredDescriptionDefault
refYesBranch name or commit SHA.
repoNoGitHub repo as "owner/repo". Defaults to GITHUB_REPO env var.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the purpose. It omits that this is a read-only call, whether it requires a token, whether results include queued/in-progress runs, how many runs are returned, or how failures surface.

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?

A single front-loaded sentence with zero filler, and the resource and scope appear immediately. It is efficient but so terse that the concision comes at the cost of substance.

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 simple two-parameter read tool with fully documented parameters and no output schema, the description covers the essential purpose. However, with no annotations and no output schema, it should say something about what a check run result contains or what auth is expected.

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 description coverage is 100%: 'ref' is documented as 'Branch name or commit SHA' and 'repo' as 'owner/repo' with a documented env-var default. The description's mention of 'branch or commit SHA' merely echoes the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and a specific resource ('CI check runs') scoped to 'a GitHub branch or commit SHA', so an agent knows exactly what it retrieves. It is clearly distinct from siblings like github_pr, but it does not explicitly contrast itself with any of them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of alternatives or complementary tools (e.g., github_pr for PR metadata), and no stated prerequisites such as authentication or the GITHUB_REPO default. Usage must be inferred entirely from the one-line purpose.

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