Skip to main content
Glama

rush_fix

Automatically fix formatting and linter issues at a specified path while enforcing strict path confinement. Returns status, findings, and a summary.

Instructions

Safely auto-remediate formatting and linter issues at . Returns {status, findings[], summary}. Enforces strict path confinement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo.
forceNo
dry_runNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNo
toolNo
engineNo
statusNo
metricsNo
summaryNo
findingsNo
metadataNo
artifactsNo
duration_msNo
review_kindNo
engine_versionNo
review_providerNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior, and it adds useful context: 'Safely' signals caution, 'Enforces strict path confinement' is a concrete safety guarantee, and the return shape is stated. However, it does not explain what 'safe' entails, whether files are modified in place, or how force/dry_run affect execution.

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 compact and informative, using three short clauses that each add value: the action, the return format, and the safety constraint. It is front-loaded with the core purpose and has no filler or redundant wording.

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?

Although an output schema exists and the description includes the return shape, the tool has no annotations and the parameter documentation is incomplete. Missing context around force versus dry_run behavior and the exact side effects of remediation leaves an important gap for an agent deciding whether and how to invoke it safely.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needs to compensate, but it only clarifies the path parameter via '<path>'. The meaning and effect of 'force' and 'dry_run' are not explained at all, leaving the agent to guess their roles despite them being important for a remediation tool.

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 clearly identifies the tool as an auto-remediation action for formatting and linter issues at a specific path, using a strong verb ('auto-remediate') and resource ('formatting and linter issues'). It is distinguishable from siblings like rush_lint, but it does not explicitly contrast with rush_format or other closely related tools, so it stops 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?

The context of use is implied: use this tool when formatting or linter issues need to be automatically fixed at a path. However, there is no explicit guidance about when to prefer rush_fix over rush_lint, rush_format, or rush_review, nor any stated exclusions or prerequisites.

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

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/jamesdsizemore/rush-cli'

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