Skip to main content
Glama

gavel_judge

Run static analyzers and evaluate the quality gate for your projects. Get pass/fail verdict, findings count, coverage, and rule-level details.

Instructions

Run static analyzers and evaluate the quality gate for configured projects. Returns verdict (pass/fail), findings count, coverage, and rule-by-rule results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quickNoSkip coverage and architecture checks (findings only)
projectNoAnalyze only this project (omit for all projects)
affectedNoAnalyze only targets affected by changed files. Implies --quick.
gavelspaceNoAbsolute path to a gavelspace directory (omit to use the directory where Claude Code is running)
Behavior3/5

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

With no annotations, the description carries full burden. It states the tool runs analyzers and returns results, implying non-destructive behavior but omitting details on side effects, prerequisites (e.g., project initialization), or performance impact.

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 a single sentence with essential information: action and return values. Every word contributes, and it is front-loaded with the verb and object.

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?

Given no output schema, the description adequately lists return components (verdict, findings, coverage, rule-by-rule). However, it misses context about prerequisites (e.g., gavel_init requirement) and the concept of a quality gate.

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 coverage is 100%, so baseline is 3. The description adds no extra meaning beyond the schema's parameter descriptions; it does not elaborate on how parameters affect behavior.

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 static analyzers and evaluates a quality gate, returning a verdict and metrics. It distinguishes from siblings like gavel_findings and gavel_coverage by focusing on the combined verdict, but could explicitly contrast use cases.

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 explicit guidance on when to use this tool versus alternatives. The description only implies usage for running analyzers and checking quality, but does not mention when to prefer gavel_findings, gavel_coverage, or other siblings.

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/gavelcode/gavel'

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