Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

code-review

code-review
Idempotent

AI code review — bugs, security, performance, quality score ($0.05 USDC per call)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the bar is lower. The description adds useful context by disclosing a $0.05 USDC per-call cost, but it does not explain payment mechanics, auth requirements, or why readOnlyHint is false for a review operation.

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 a single front-loaded sentence with no filler; the price is appended efficiently. It is appropriately concise, though its brevity contributes to the overall documentation gaps.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter paid tool, the description covers purpose, review scope, and cost. However, with no output schema and 0% schema description coverage, it leaves parameter meanings, language optionality, and payment/return behavior undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, with two parameters (`code`, `language`) and no descriptions. The tool description does not mention either parameter, so it adds no semantic meaning beyond the bare schema property names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: 'code review,' and lists concrete review categories (bugs, security, performance, quality score). It is clear enough to distinguish from most siblings, though it does not explicitly compare itself to any alternative tool.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, no prerequisites, and no alternatives. It states what the tool does and its cost, but an agent gets no routing help beyond the obvious code-review intent.

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.