Skip to main content
Glama

flaky_fix_suggestions

Generate targeted code fixes to stabilize flaky tests using a root cause diagnosis and framework details.

Instructions

Generate specific code fixes to stabilize flaky tests (Pro)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
diagnosisYesRoot cause diagnosis of the flaky behavior
frameworkNoTest framework being used
test_codeYesThe flaky test source code to fix
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not say whether the tool modifies files, returns suggestions only, requires an API key, or has any side effects. It also gives no hint about the output format or that it is a Pro/gated feature.

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?

The description is a single, tightly written sentence with no filler. The core action and target are front-loaded, though it is terse enough that it could have used a bit more context without becoming bloated.

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?

With no annotations and no output schema, the description is too thin to fully support correct invocation. It does not state what the returned fix looks like, how framework or diagnosis are used, what 'Pro' implies, or how this fits into the flaky-test workflow alongside the sibling tools.

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?

All four parameters already have schema descriptions, so the schema bears most of the semantic weight. The description adds minimal extra meaning beyond implying that the tool consumes the diagnosis and test code to produce fixes.

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 the action ('generate'), the artifact ('specific code fixes'), and the domain ('flaky tests'). It is reasonably distinct from nearby flaky_* siblings because it focuses on fixes rather than detection or diagnosis, but it does not explicitly differentiate itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to use this tool versus alternatives like flaky_diagnose_root_cause or flaky_detect_patterns. The required 'diagnosis' parameter suggests a prior diagnosis step, but that is encoded in the schema, not explained in the description.

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/barnburner121/claude-plugin-marketplace'

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