Skip to main content
Glama

lint

Run linter checks and analyze code problems with resolution hints. Supports ruff and flake8 with optional auto-fix.

Instructions

[HINT: Linting tool. action=run|analyze. Run linter or analyze problems.]

Unified linting:

  • action="run": Execute linter (ruff/flake8), optionally analyze results

  • action="analyze": Analyze problems JSON with resolution hints

📊 Output: Linter results or problem analysis 🔧 Side Effects: May auto-fix issues (with fix=true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNorun
pathNo
linterNoruff
fixNo
analyzeNo
selectNo
ignoreNo
problems_jsonNo
include_hintsNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description discloses key behaviors: two modes, auto-fix capability, and output type. However, it lacks details on error handling, default behavior when parameters are omitted, and how analyze mode processes the problems JSON. No annotations are provided to compensate.

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 structured with bullet points and emojis but is verbose and includes informal 'HINT' formatting. It could be more concise while retaining clarity.

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 10 parameters, no schema coverage, and no annotations, the description is incomplete. It does not fully explain all parameters or the output structure despite an output schema existing. Key behavioral details are missing.

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?

With 0% schema coverage, the description should explain all 10 parameters. It only covers action, fix, and mentions problems_json. Parameters like select, ignore, include_hints, output_path, and the analyze boolean are not described, leaving significant gaps.

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 clearly identifies the tool as a linting tool with two distinct actions (run and analyze). It specifies the linter (ruff/flake8) and side effects (auto-fix). Among sibling tools, none are lint-related, so it stands out.

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?

No guidance is provided on when to use this tool versus alternatives, or when to choose run vs analyze. The description only hints at the action parameter without explaining selection criteria.

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/davidl71/project-management-automation'

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