Skip to main content
Glama

check

Run syntax, lint, and test validation on specified files and their related tests, or on the entire project and full test suite when no files are provided.

Instructions

Syntax, lint and tests. With files: only those files and the tests related to them. Without: the whole project and full test suite.

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": "check"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It discloses the scoping behavior clearly, but it does not state whether the operation is read-only, whether it modifies files, how long it may take, whether it requires a prepared environment, or whether it fails fast. These are meaningful gaps for a tool that runs tests and linters.

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?

The description is very short and front-loaded, with no wasted words. The first sentence is a fragment ('Syntax, lint and tests') rather than a complete clause, which slightly weakens immediate clarity, but the conditional scoping sentences are crisp and well structured.

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?

The tool is moderate complexity: it runs checks across a project and has an output schema. The description covers purpose and scoping but leaves out behavioral context that matters for invocation, such as read-only safety, expected duration, and environment prerequisites. With no annotations, those omissions are more significant.

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?

Schema description coverage is 0%, so the description must explain the single 'files' parameter. It does so effectively: providing files restricts checking to those files and related tests; omitting it runs the whole project and full suite. It does not specify path format (relative vs absolute, globs), which keeps it from a 5.

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 names the concrete operations performed: syntax checking, linting, and tests. It does not use a clear verb like 'run', and the name 'check' is generic, but the sentence makes the tool's purpose unambiguous. Sibling tools are unrelated (checkpoint, outline, etc.), so no sibling differentiation is required.

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?

It explicitly states the two modes: when 'files' is provided, only those files and their related tests are checked; when omitted, the whole project and full test suite are checked. That is precise scoping guidance. It does not name alternatives because no sibling tool performs a similar function, so the absence of alternatives is not a gap.

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