Skip to main content
Glama

review_code

Get a vetted human engineer to review your code, architecture, and design decisions — not just style, but correctness, security, and whether the structure will hold up. Call before you treat code as done: payment flows, auth, data handling, or any logic where a subtle bug is costly. Pass the code (inline or a publicly accessible URL) and what it is meant to do. Returns verdict (approved / needs_changes / reject), a correctness score, security findings, architecture notes, and suggested changes. Approved code receives a Taste content certificate on-chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe code to review. Paste it inline, or pass a publicly accessible URL (e.g. a gist or raw file).
intentYesWhat the code is meant to do — the behaviour and constraints, plus any correctness or security concerns to focus on.
contextNoOptional context. Use to clarify intent, constraints, audience, or anything that helps the expert evaluate.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipYes
statusYes
messageYes
offeringYes
priceUsdcYes
sessionIdYes

TDQS

A4.1/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 well: it discloses that a vetted human engineer performs the review, what kinds of issues are covered, and the exact output (verdict, correctness score, security findings, architecture notes, suggested changes). It also mentions the on-chain certificate for approved code, which is a notable behavioral outcome. It does not cover cost or turnaround time, but the core behavior is transparent.

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 well-structured and front-loaded, with purpose first, then usage context, then parameters, then outputs. It is denser than minimal but every sentence carries useful information, especially since there is no output schema content shown. It avoids repetition of schema field names and stays focused.

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 the tool's complexity and the lack of annotations, the description is quite complete: it explains what to pass, when to use it, and what the return value contains. It does not mention potential costs, expected turnaround time, or limitations (e.g., language support), which would be useful for a human-in-the-loop service, but it covers the essential decision-making and invocation context.

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?

The input schema already provides 100% coverage of all parameters with descriptions, so the baseline is 3. The description adds a small reiteration that code can be inline or a URL and that intent should describe behavior, but it does not meaningfully expand beyond the schema. Thus no extra credit beyond the schema's completeness.

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?

The description clearly identifies the tool as a human code review service, specifying the resource (code) and the focus areas (correctness, security, structural soundness) beyond mere style. It distinguishes from sibling tools like review_content and review_plan by explicitly targeting code, architecture, and design decisions.

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?

The description gives clear guidance on when to call the tool: 'before you treat code as done,' particularly for payment flows, auth, data handling, or logic where subtle bugs are costly. It does not explicitly name alternative tools or when not to use it, but the context is strong enough for an agent to select it appropriately.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a specific action or domain, with clear distinctions between similar ones (e.g., review_content vs prepublish_review for different review purposes, order_think_tank_session_30 vs _60 by duration). No ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with underscores, e.g., list_offerings, verify_certificate, request_human_approval. No mixing of conventions.

Tool Count4/5

17 tools is on the higher side but fully justified given the broad scope: expert consultations, think tanks, content reviews, verification, and human approval. Each tool serves a distinct purpose.

Completeness4/5

Covers the full workflow from discovery to ordering, revision, and on-chain verification. Minor gaps exist (e.g., no order cancellation or history listing), but core operations are well-represented.