Skip to main content
Glama

Review code (instant checks)

review_code
Read-onlyIdempotent

Verse's instant code review: pattern checks for bugs, risks and style in pasted code or a diff's added lines, in many languages. The same checks a-to-mind.com runs when someone asks Verse to review code. No model; the closer read is not included. Its structured result says basis 'patterns' and confidence 'low'.

Input Schema

NameRequiredDescriptionDefault
codeNoThe code to review (up to 60,000 characters).
diffNoA unified diff instead of code: only the added lines are reviewed, with their line numbers in the new file.
langNoThe language, if known (javascript, python, go, rust, sql, ...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, closed-world, non-destructive), but the description adds substantive context beyond them: no model is invoked, the basis is 'patterns', and results carry confidence 'low'. That materially changes how much an agent should trust the output, which is the kind of disclosure annotations cannot express.

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 sentences, front-loaded with the core purpose and immediately scoped. The a-to-mind.com sentence is marginally promotional but does convey that the engine matches the public site, so it mostly earns its place; the confidence disclosure is well placed at the end.

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?

With no output schema, the description carries the return-value burden and does so partially, disclosing that the structured result reports basis 'patterns' and confidence 'low'. Combined with 100% schema coverage, an agent has enough to call the tool correctly, though the shape of the findings list itself is not described.

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 all three parameters are already documented, making 3 the correct baseline. The description re-frames the schema's semantics ('pasted code or a diff's added lines', 'in many languages') but adds no syntax, format or precedence rules, such as what happens if both code and diff are supplied.

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?

States a specific verb (pattern checks for bugs, risks and style) and resource (pasted code or a diff's added lines), plus a language scope. It also carves out its boundary against review_code_closer by declaring 'No model; the closer read is not included', so an agent can tell the instant check apart from the deeper one without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes this is the 'instant' pattern-based check and explicitly notes the closer read is excluded, which implies when it is the wrong choice. However, it never names review_code_closer or states the condition that should route the agent to it, leaving the selection rule to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.