Skip to main content
Glama

self-check

Checks environment and required dependencies (Node, vitest, stryker) before repository analyses, validating prerequisites and optionally applying automatic fixes.

Instructions

🔍 Verifica ambiente e dependências (Node, vitest, stryker). Valida pré-requisitos antes de executar análises. Flag --fix para correções automáticas.

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

Input Schema

NameRequiredDescriptionDefault
fixNoTentar corrigir problemas automaticamente
repoNoCaminho do repositório.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden alone. It does disclose that the tool can mutate state via the --fix flag, which is useful context beyond the schema, but it does not say what the fixes actually touch, whether they are reversible, or what a normal (non-fix) run returns.

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?

Three short sentences, with the core purpose front-loaded and the fix option last. Nothing is wasted, though the emoji adds no semantic value, and the sentences would be stronger if the prerequisites list were expanded beyond tool names.

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 two-parameter tool with a full input schema, no output schema, and no annotations, this covers purpose, when to run it, and the one behavior-changing flag. The gap is that the agent is not told what a successful check reports or which problems --fix can remediate.

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%: both `fix` and `repo` are documented in the schema, so the description adds little new meaning. Its reference to the --fix flag merely restates the `fix` boolean without clarifying what corrections are attempted or how `repo` scope affects the check.

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 a specific verb and resource set: it checks the environment and dependencies (Node, vitest, stryker) and validates prerequisites. That is concrete enough to distinguish it from analyze, run_mutation_tests, or validate, but it never explicitly contrasts itself with those siblings, so the separation is inferred rather than stated.

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?

'Valida pré-requisitos antes de executar análises' gives a clear trigger condition: run this before analyses. It stops short of telling the agent when not to use it or which sibling to pick instead (for example, after changing dependencies versus before a mutation run).

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