Skip to main content
Glama

lint_project

Read-onlyIdempotent

Lint Solidity files across the current project with Solhint, optionally using a project-relative glob to target specific files or folders.

Instructions

Lint Solidity files in this server instance project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lint_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternNoOptional project-relative glob

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description's contribution is the scoping detail that linting is confined to the server instance's project (no arbitrary paths), which is useful but not much beyond the annotation set; it says nothing about output, report format, or whether it also auto-fixes.

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?

A single short sentence with the scope qualifier front-loaded; nothing is wasted. It is perhaps too terse for a tool with five similar siblings, but structurally sound.

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

Completeness3/5

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

With a complete schema and rich annotations, the description only needs to add routing and scoping, and it partially does so via "this server instance project." Fleet context (lint_solidity, lint_file, fix_solidity, fix_file) means an agent still lacks the cues to select this tool confidently.

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?

Schema description coverage is 100%, so the single optional `pattern` glob is already documented inline as a project-relative glob. The description adds no extra meaning about the parameter (e.g., what happens when omitted, glob syntax support), so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (lint Solidity files) plus a scope ("in this server instance project"), which hints at a project-wide sweep. However, it never distinguishes itself from the near-identical siblings lint_solidity and lint_file, so an agent cannot tell which lint variant to choose from the description alone.

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 on when to use this versus lint_solidity or lint_file, and no mention of prerequisites. The only implied usage signal is the phrase "in this server instance project," which the agent must interpret as project-scoped rather than file-scoped.

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