Skip to main content
Glama
xcode-cloud-mcp

xcode-cloud-mcp

by thatfactory

list_build_runs

Read-onlyIdempotent

Scan recent build runs for an Xcode Cloud workflow, filter by outcome or full source commit SHA, and see whether more runs remain beyond the limit.

Instructions

Scan recent build runs for a workflow with source provenance. Optionally filter by outcome and full source commit SHA. The scan reports whether additional runs remain beyond the limit.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of runs scanned before filtering. Defaults to 20.
statusNo
workflowIdYes
sourceCommitShaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.0
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of build runs to return. Defaults to 20 if not specified."New value: +"Maximum number of runs scanned before filtering. Defaults to 20."
    • addedInput schema / properties / sourceCommitSha
      Added value: +{
      +  "pattern": "^(?:[0-9a-f]{40}|[0-9a-f]{64})$",
      +  "type": "string"
      +}
  2. First observedv0.5.3

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile needs no restating and the description correctly avoids repeating it. It does add one genuinely useful behavioral fact — that the response reports whether more runs exist beyond the limit — and the 'scan' wording hints that filtering happens after a bounded scan. However, it says nothing about ordering, what happens when no runs match, or the shape of the returned runs, leaving meaningful gaps for a read tool with no output schema.

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 short sentences with the scope first, then the filters, then the return-behavior note. No filler and nothing buried.

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?

For a four-parameter read-only tool with no output schema, the definition covers scope, filters, scan-vs-filter semantics, and the has-more indicator, which is close to sufficient. Minor omissions (ordering of results, behavior on empty result sets) are the only remaining gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% (only 'limit' is documented in the schema), so the description must compensate and it largely does: it explains status as 'outcome', clarifies that sourceCommitSha must be a full SHA (important given the strict 40/64 hex pattern), and establishes that workflowId scopes the scan. It still does not explain the 'all' enum member or the relationship between limit and filtering, so it stops short of full coverage.

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 verb and resource ('Scan recent build runs') and scopes it to a workflow with source provenance, which an agent can distinguish from siblings like list_workflows or get_build_logs. It does not explicitly contrast itself with those siblings, so it falls short of a 5.

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?

It states the available filters ('Optionally filter by outcome and full source commit SHA'), which implies how to narrow a scan, but gives no explicit when-to-use guidance, no prerequisites, and does not name an alternative tool for retrieving run details or logs. Usage is inferable but not directed.

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