Skip to main content
Glama
ryo-manba

stylelint-mcp

by ryo-manba

lint-files

Lint CSS files using Stylelint. Supply absolute file paths to check for coding errors and enforce style rules.

Instructions

Lint files using Stylelint. You must provide a list of absolute file paths to the CSS files you want to lint. The absolute file paths should be in the correct format for your operating system.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathsYes
Behavior3/5

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

No annotations are provided, so the description must reveal behavioral traits. It explains that the tool uses Stylelint and requires absolute paths, but it does not disclose error handling, return format, or behavior with non-existent files. For a linting tool, this is adequate but not comprehensive.

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 two sentences with no filler. The first sentence states the core action, and the second gives the critical input requirement. It is front-loaded and efficiently conveys the necessary information.

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

Completeness4/5

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

For a simple tool with one parameter and no output schema, the description is fairly complete. It covers the tool's purpose and the sole input requirement. It could mention the output (lint results) but is not essential for basic usage.

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

Parameters4/5

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

The input schema provides no description for the 'filePaths' parameter (0% coverage). The description compensates by specifying that paths must be absolute, refer to CSS files, and be in the correct OS format. This adds valuable meaning beyond the schema.

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 states the tool lints files using Stylelint, specifically CSS files. The verb 'lint' and resource 'files' are specific, and the tool name reinforces this. With no sibling tools provided, the distinction is clear.

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

Usage Guidelines4/5

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

The description explicitly instructs the user to provide absolute file paths in the correct OS format, which is essential for proper usage. No exclusions or alternatives are mentioned, but given no siblings, this is sufficient.

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/ryo-manba/stylelint-mcp'

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