x402-ai-code-review
AI Code Review: Review code for bugs with AI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Code to process | |
| lang | No | Lang to process | |
| text | No | Text to process |
AI Code Review: Review code for bugs with AI.
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Code to process | |
| lang | No | Lang to process | |
| text | No | Text to process |
Changes observed during successful MCP inspections.
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 burden and delivers very little: it does not say what kind of output is produced, whether the code is sent to an external model, what 'bugs' covers, or any limits. 'With AI' is the only behavioral hint.
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 short sentence, which is appropriately sized, but half of it ('AI Code Review:') merely restates the name and title, so there is some wasted front-matter rather than front-loaded value.
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?
For a tool with zero annotations, no output schema, and three loosely-described optional parameters, the description is far too thin. It leaves the agent unable to predict the response shape or how the three inputs interact.
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?
Schema description coverage is 100%, so the baseline is 3, but the schema descriptions themselves are near-useless ('Code to process', 'Lang to process', 'Text to process'), and the description does not resolve the obvious ambiguity of why three overlapping inputs (code/lang/text) exist for a code-review tool.
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?
States a specific verb and resource (review code) plus the goal (find bugs with AI), so the agent knows roughly what to expect. It does not differentiate itself from the many nearby siblings such as x402-code-diagnose or x402-ai-diff-review, which is the main gap.
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 statement of when to use this tool versus the crowded cluster of code/AI audit siblings, and no prerequisites or exclusions. The agent must infer applicability purely from the name.
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.