Skip to main content
Glama

ci_status

Fetches the current pipeline or workflow run status for a repository ref, including each job's pass, fail, or running state.

Instructions

The newest pipeline (GitLab) or workflow run (GitHub) of this repo's ref (default: the pipeline of HEAD) and each job's status. passed is True, False, or None while it still runs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
refNo
pipeline_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 load, and it does disclose one genuinely useful behavioral nuance: the ``passed`` field is True, False, or None while the pipeline is still running. It also explains the GitLab-vs-GitHub mapping. It omits auth/permission requirements, what happens when no pipeline exists, and any notion of result freshness or caching.

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 tight sentence that front-loads the resource and ends with the return-value nuance. RST-style double-backticks are slightly noisy but the content is dense and free of 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 two-parameter read tool with no output schema, the agent still lacks guidance on ``pipeline_id``, on what a job list looks like structurally, and on failure/empty cases. The description covers the core concept adequately but leaves visible gaps given the zero annotation and zero schema-description coverage.

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 0% for two parameters, so the description must compensate. It does explain ``ref`` (defaulting to HEAD's pipeline), but ``pipeline_id`` is never mentioned, leaving half the parameters undocumented anywhere. Partial compensation justifies a mid score.

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 names a specific resource (the newest pipeline on GitLab / workflow run on GitHub for a given ref) and what it returns (each job's status). It is clearly a status-read tool, distinguishable in intent from action-oriented siblings like ci_play, ci_retry and ci_run, though it never names those alternatives explicitly.

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?

Usage is only implied: an agent infers 'call this to check CI status' from the wording, and the parenthetical 'default: the pipeline of HEAD' clarifies default behavior. There is no explicit statement of when to prefer this over ci_run or how it relates to the triggering siblings.

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