Skip to main content
Glama
Gearset MCP Server
by jaredbt

Get All CI Job Runs (Reporting API)

get_all_ci_job_runs_via_reporting

Retrieve all CI job runs for a specified job and date range via the Reporting API, including manual, scheduled, and webhook-triggered runs.

Instructions

Get ALL CI job runs data using the Reporting API (async operation) - includes manually triggered, scheduled, and webhook runs

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": {
      "jobId": "<jobId>",
      "StartDate": "<StartDate>",
      "EndDate": "<EndDate>"
    },
    "name": "get_all_ci_job_runs_via_reporting"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe CI job ID to get runs for
EndDateYesEnd date/time in UTC format (e.g., 2024-01-31T23:59:59Z)
StartDateYesStart date/time in UTC format (e.g., 2024-01-01T00:00:00Z)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that this is an async operation, which changes how an agent must handle the response, but it never says whether an operation ID is returned, how to poll for completion, or what permissions/limits apply.

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?

One front-loaded sentence with the coverage scope stated first and the async trait appended; every clause is relevant. Slightly dense, but 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?

Three required params and no output schema keep the surface simple, but async behavior without explaining how the result is retrieved (operation ID, polling via get_operation_status/get_operation_result) leaves a real usability gap for an agent.

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%, with jobId and UTC date bounds fully documented in the schema. The description adds no extra meaning about date range semantics (inclusive/exclusive bounds, max span, defaults), so the baseline 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?

States a specific verb and resource (get ALL CI job runs) via the Reporting API, and the 'ALL ... includes manually triggered, scheduled, and webhook runs' clause implicitly separates it from get_manual_ci_job_runs_via_audit, which covers the manual-only/audit path. It stops short of naming that sibling, so the contrast requires light inference.

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 word 'ALL' signals this is the complete-coverage choice and the async note hints at a different calling pattern, but there is no explicit when-to-use/when-not guidance and no named alternative such as the audit-based manual-runs tool or the operation-status polling tools.

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