Skip to main content
Glama
hidetaka-cci

advanced-circleci-mcp-server

by hidetaka-cci

Get Workflow Health

get_workflow_health

Assess workflow reliability by analyzing duration, success rates, MTTR, and identifying slowest, most-failed, and flaky tests to optimize test splitting and reduce flakiness.

Instructions

Return a combined health report for a specific workflow: duration/success/MTTR metrics, slowest and most-failed tests, and flaky tests. Use this to evaluate test splitting opportunities, flakiness, and overall reliability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoFilter to a specific branch. Defaults to the default branch.
all_branchesNoSet true to aggregate across all branches.
project_slugYesProject slug (e.g. gh/org/repo or circleci/orgID/projectID).
workflow_nameYesExact workflow name as it appears in the config.
reporting_windowNoTime window for Insights aggregation.last-30-days
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes what the tool returns but fails to state whether it is read-only, destructive, or any side effects. No mention of auth requirements, rate limits, or data freshness.

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?

The description is two sentences: the first lists contents, the second provides use cases. No redundant or extraneous information. Efficient and well-structured.

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?

Given no output schema, the description partially compensates by listing metric categories, but it does not describe the structure or format of the report (e.g., JSON fields). Adequate but could be more explicit about the output.

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%, so the schema already documents all parameters. The description lists metrics but does not add parameter-specific details beyond what the schema provides. Baseline of 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?

The description precisely states the tool returns a combined health report for a specific workflow, listing concrete metrics (duration, success, MTTR, slowest/failed tests, flaky tests). It clearly distinguishes from siblings (get_bottlenecks, get_config, etc.) which focus on other aspects.

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?

The description explicitly advises when to use the tool: 'Use this to evaluate test splitting opportunities, flakiness, and overall reliability.' It provides clear context but does not mention when not to use it or alternative tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hidetaka-cci/advanced-circleci-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server