Skip to main content
Glama

detect_flaky_tests

Analyze recent builds of a Jenkins job to identify flaky tests that inconsistently pass or fail.

Instructions

Identify flaky tests (inconsistent pass/fail) across recent builds

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFull job name
build_countNoNumber of recent builds to analyze
formatNoOutput formatsummary
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the function but does not mention whether the tool is read-only, requires specific permissions, or what side effects (if any) occur. It lacks depth for a safety-critical assessment.

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 a single, front-loaded sentence with no unnecessary words. It conveys the core purpose efficiently, making it easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the schema covering parameters, the description does not indicate what the tool returns (e.g., a list of flaky tests with metrics), nor does it address context like build history dependency or output format variations. This leaves the agent with incomplete expectations.

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%, so the baseline is 3. The description does not add meaning beyond the schema; it merely repeats the concept of analyzing builds. No additional semantics or parameter-specific guidance are provided.

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 uses the specific verb 'identify' and resource 'flaky tests' with the qualifier 'across recent builds', clearly differentiating from sibling tools like get_failed_tests or compare_runs that serve different purposes.

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 description implies when to use (to find flaky tests) but does not explicitly state when not to use it or mention alternatives among the 22 sibling tools. No exclusions or context are provided.

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/thecturner/jankins'

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