Skip to main content
Glama

lint_files

lint_files

Run rule-pack diagnostics on specified files to detect code issues and persist findings consistently across code intelligence surfaces.

Instructions

Code-intelligence tool for diagnostics on an indexed file set: run rule-packs, including canonicalHelper producer/consumer checks, plus TS-aware and structural alignment diagnostics; persist indexed Reef findings/run metadata under source lint_files; and return typed AnswerSurfaceIssue findings. Same engine that powers the answer loop and review_bundle, so findings stay consistent across surfaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNo
projectRefNo
filesYes
verbosityNo
primaryFocusFileNo
maxFindingsNo
excludeAcknowledgedCategoryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNameYes
projectIdYes
resolvedFilesYes
unresolvedFilesYes
findingsYes
acknowledgedCountYes
truncatedYes
warningsYes
_hintsYes
Behavior3/5

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

Annotations indicate non-read-only, non-idempotent, and open-world. The description confirms persistence of findings and metadata, adding context beyond annotations. However, it does not disclose failure modes, rate limits, or other behavioral details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph of about 50 words. It front-loads the main purpose but uses jargon (canonicalHelper, Reef, AnswerSurfaceIssue) that may reduce clarity. It is somewhat concise but could be restructured for readability.

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?

Given the tool's complexity (7 parameters, no descriptions, multiple sibling lint tools), the description is incomplete. It does not explain how to use parameters or when to select this tool over alternatives. The output schema exists but the description only vaguely mentions typed findings.

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

Parameters1/5

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

Schema description coverage is 0%, yet the description provides no information about any of the 7 parameters, including the enum for verbosity. The description fails to compensate for the lack of parameter documentation, leaving agents without guidance on how to set inputs.

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 states the tool runs diagnostics on indexed files using rule-packs, including canonicalHelper checks and TS-aware diagnostics. It differentiates from siblings by noting it powers the answer loop and review_bundle, but does not explicitly distinguish from other lint tools like biome_diagnostics.

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?

The description does not provide explicit when-to-use or when-not-to-use guidance compared to alternative tools. It mentions consistency with answer loop and review_bundle, but lacks practical usage guidance or prerequisites.

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/drhalto/agentmako'

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