Skip to main content
Glama

revisar_projeto

Run a local pre-review before code review: catches lint, type, and test failures plus exposed secrets, conflict markers, leftover debug code, and large files, returning only issues with file and line.

Instructions

Revisão local antes da sua: lint, tipos, testes e o que há de suspeito nas alterações (senhas e chaves, marcas de conflito, depuração esquecida, arquivos grandes).

Devolve só os problemas, com arquivo e linha. Use antes de revisar código ou de dar uma tarefa como pronta. testes=False pula os testes; opiniao=True pede ao modelo de código local uma leitura do diff (confira antes de agir).

Input Schema

NameRequiredDescriptionDefault
pastaYes
testesNo
opiniaoNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses that only problems are returned, with file and line, and warns that opiniao output comes from a local model and should be verified before acting. It omits whether the tool is read-only or how long a run takes, but the trust caveat on opiniao is a genuinely useful behavioral detail.

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?

Front-loads the scope, then output behavior, then usage, then parameter notes; each sentence earns its place. The parenthetical enumeration of suspicious patterns is dense but informative rather than redundant.

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?

An output schema exists, so the brief return-value note ('only problems, with file and line') is a bonus rather than a necessity. Combined with the scope list, usage trigger, and parameter toggles, an agent has enough to call it correctly; only read-only/permission behavior is unaddressed.

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 compensate, and it explains two of three parameters: testes=False skips tests, and opiniao=True asks the local code model to read the diff. The required pasta parameter's meaning is left implicit from the name, which is a minor gap.

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?

Opens with a specific verb-plus-scope: a local review that runs lint, type checks, tests, and scans changes for secrets, conflict markers, leftover debug code, and large files. That enumeration makes it clearly distinct from narrow siblings like rodar_testes (testing only) and segunda_opiniao (model opinion only), since this tool composes all of them.

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?

Gives an explicit trigger: use it before reviewing code or declaring a task done. It does not name alternatives explicitly (e.g. when to call rodar_testes alone instead), but the timing guidance is clear and actionable.

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