x402-ai-code-review
AI Code Review: Review code for bugs with AI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| lang | No | ||
| text | No |
AI Code Review: Review code for bugs with AI.
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| lang | No | ||
| text | No |
Changes observed during successful MCP inspections.
Input schema / properties / code / descriptionRemoved value: -"Code to process"Input schema / properties / lang / descriptionRemoved value: -"Lang to process"Input schema / properties / text / descriptionRemoved value: -"Text to process"Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden and discloses almost nothing. "Review" implies a read-only analytical operation, but there is no mention of permissions, cost/rate limits, whether the code is sent to an external model, or what the response contains (the stated purpose hints at bug findings). This is thin for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is a single front-loaded sentence with no filler, which is structurally clean, but it spends its one clause restating the name rather than adding information, so its brevity reflects under-specification more than efficiency.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations, no output schema, 0% parameter description coverage, and three ambiguous inputs (notably the code/text overlap), the description is far too sparse to let an agent invoke this tool correctly. It needs at minimum input-field semantics and expected output.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Three parameters (code, lang, text) exist with 0% schema description coverage, and the description mentions none of them. The purpose implies "code" is the input, but the presence of both "code" and "text" is unexplained and "lang" is undocumented, leaving the caller unable to know which field to populate or whether lang is required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a verb and resource ("Review code for bugs"), so the general purpose is inferable, but it largely restates the tool name ("AI Code Review") and gives no detail about scope, language support, or what kinds of bugs are targeted. It provides no differentiation from close siblings such as x402-ai-code-explain, x402-ai-diff-review, or x402-code-diagnose, so an agent cannot confidently pick this over the alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use, when-not-to-use, or alternative-tool guidance of any kind. The agent is left to guess whether this is for pasted snippets, whole files, or diffs, and how it differs from the many other review/explain siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.