Skip to main content
Glama

Code review service — Atom

Code review service

code_review_service
Read-onlyIdempotent

Submits a declared code-review record manifest (PR size and description, review-checklist coverage, declared comment counts and labels, response and resolution record, approval-gate record, red-line and merge record) and returns a deterministic CODE_REVIEW_READY / CODE_REVIEW_NOT_READY / INSUFFICIENT_EVIDENCE review across six sections, including computed PR-size-vs-stated-aim, checklist-coverage, labeled and answered comment and unresolved-at-approval checks, with per-check evidence. Validates the declared record; it does not read or review code.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "code_review_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNoPR size and description evidence.
gatesNoApproval-gate evidence.
mergeNoMerge-discipline evidence.
entityNoTeam / repository the review record covers.
feedbackNoComment labeling and feedback evidence.
checklistNoReview-checklist coverage evidence.
red_linesNoRed-line evidence.
resolutionNoResponse and resolution evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavior beyond that: a deterministic three-valued verdict, six named check sections, and per-check evidence output. It still doesn't disclose what makes a run INSUFFICIENT_EVIDENCE versus NOT_READY, which is the key behavioral distinction an agent would want.

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?

Two sentences, front-loaded with the action and the return contract, with zero filler. The first sentence is dense and long, packing six section names into a single parenthetical, which costs some readability but no sentences are wasted.

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 an 8-parameter nested-object tool with no output schema, the description does well to specify the verdict values and that per-check evidence is returned. It stops short of describing what evidence is sufficient per section or what the nested manifest objects must contain, leaving the agent to hunt through the referenced SERVICE.md field table.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning by mapping the manifest contents (PR size/description, checklist coverage, comment counts and labels, resolution record, gate record, red-line and merge record) onto the top-level properties in more detail than the schema's one-line 'evidence' descriptions. It does not, however, explain the nested field structures inside those objects.

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 (submits) plus the exact resource (a declared code-review record manifest), enumerates the manifest's constituent sections, and specifies the deterministic verdict vocabulary and its six-section scope. It also pre-empts the most likely misreading by stating it does not read or review code.

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?

Gives clear usage context – call it to validate a declared review record and obtain a CODE_REVIEW_READY / NOT_READY / INSUFFICIENT_EVIDENCE verdict – and an explicit when-not clause ('does not read or review code'). No alternatives are named, but the exclusion covers the main confusable case.

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.