Skip to main content
Glama
xiaobenyang-com

Review-Code

代码审查工具 Review Code

一个基于Model Context Protocol (MCP)的代码审查工具服务器,提供多维度的代码审查和打分功能。 A code review tool server based on Model Context Protocol (MCP), providing multi-dimensional code review and scoring functions.## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

工具 Tool

描述 Description

review_code

构建用于代码整体审查与打分的 LLM 提示词(不直接调用 LLM)

review_diff

构建用于 Git diff 变更审查与打分的 LLM 提示词(不直接调用 LLM)

review_file

构建用于单文件审查与打分的 LLM 提示词(不直接调用 LLM)

parse_review_score

从审查文本中解析评分(提取 '总分:XX分' 格式)

检查服务 ## Inspector

工具在线测试: https://mcp.xiaobenyang.com/inspector/1777316659306499

Online Tool test https://mcp.xiaobenyang.com/inspector/1777316659306499

Related MCP server: code-review-mcp

服务配置 MCP Server Config

如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?

访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.

SSE

{
  "mcpServers": {
    "代码审查工具": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659306499/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "代码审查工具": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659306499/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "代码审查工具": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659306499",
          },
          "transport": "stdio"
        }
      }
}

Available Tools

4 tools
parse_review_scoreparse_review_scoreC

从审查文本中解析评分(提取 '总分:XX分' 格式)

ParametersJSON Schema
NameRequiredDescriptionDefault
reviewTextYes

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions parsing and extracting scores in a specific format, but doesn't describe what happens if the format isn't found (e.g., returns null, error), whether it handles multiple scores, or the output structure. This leaves key behavioral traits unspecified for a tool with mutation-like parsing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise—a single sentence in Chinese that directly states the tool's function. It's front-loaded with the core action and format, with zero wasted words, making it efficient and easy to parse.

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

Completeness2/5

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

Given the complexity (parsing task with no annotations, 0% schema coverage, and no output schema), the description is incomplete. It doesn't explain the return values, error handling, or edge cases, which are critical for a parsing tool. The lack of output schema means the description should cover return behavior, but it doesn't.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It implies the parameter 'reviewText' is the input text to parse, but doesn't explain its expected content (e.g., Chinese text, length limits) or provide examples. With 1 parameter undocumented in the schema, the description adds minimal semantic value beyond the parameter name.

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 clearly states the tool's purpose: parsing scores from review text, specifically extracting scores in the format '总分:XX分'. It uses specific verbs ('解析', '提取') and identifies the resource (review text). However, it doesn't explicitly differentiate from sibling tools like review_code, review_diff, or review_file, which might handle different aspects of reviews.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools or specify contexts where this parsing is appropriate (e.g., for text reviews vs. code reviews). There's no information on prerequisites or exclusions, leaving usage unclear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

review_codereview_codeC

构建用于代码整体审查与打分的 LLM 提示词(不直接调用 LLM)

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYes
styleNo
commitMessageNo

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool builds prompts for code review and scoring without directly calling the LLM, which implies it's a read-only or preparatory operation. However, it lacks details on permissions, rate limits, output format, or any side effects. For a tool with 3 parameters and no annotations, this is insufficient behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence in Chinese that clearly states the tool's function and a key constraint (not directly calling LLM). It is front-loaded with the main purpose and has no wasted words, making it appropriately concise for the complexity level.

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

Completeness2/5

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

Given the tool has 3 parameters, no annotations, no output schema, and 0% schema description coverage, the description is incomplete. It explains the high-level purpose but misses critical details like parameter meanings, behavioral traits, and output expectations. For a tool that likely generates structured prompts, more context is needed to guide effective use.

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

Parameters2/5

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

Schema description coverage is 0%, so the schema provides no parameter descriptions. The tool description does not mention any parameters ('code', 'style', 'commitMessage') or their meanings. With 3 parameters and no information in either the schema or description, the agent has no semantic guidance beyond the parameter names. This fails to compensate for the low schema coverage.

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

Purpose3/5

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

The description states the tool '构建用于代码整体审查与打分的 LLM 提示词(不直接调用 LLM)' which translates to 'Builds LLM prompts for overall code review and scoring (does not directly call LLM)'. This provides a clear verb ('builds') and resource ('LLM prompts'), but it's somewhat vague about the exact nature of the prompts and doesn't distinguish from siblings like 'review_diff' or 'review_file'. The purpose is understandable but lacks specificity.

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 provides no guidance on when to use this tool versus alternatives like 'review_diff' or 'review_file'. It mentions that it does not directly call the LLM, which hints at a preparatory step, but there's no explicit when-to-use or when-not-to-use context. Usage is implied rather than stated, leaving gaps for the agent to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

review_diffreview_diffC

构建用于 Git diff 变更审查与打分的 LLM 提示词(不直接调用 LLM)

ParametersJSON Schema
NameRequiredDescriptionDefault
diffYes
styleNo
commitMessageNo

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool builds prompts for review and scoring, but doesn't describe what the prompts look like, how they're structured, or any behavioral traits (e.g., whether it's idempotent, requires specific inputs, or has side effects). The mention of '不直接调用 LLM' hints at a non-execution role, but this is insufficient for a tool with 3 parameters and no 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise—a single sentence in Chinese that efficiently states the purpose and a key constraint ('不直接调用 LLM'). It's front-loaded with the main action and wastes no words. Every part of the sentence earns its place by clarifying the tool's role.

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

Completeness2/5

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

Given the complexity (3 parameters, 0% schema coverage, no annotations, no output schema), the description is incomplete. It explains the high-level purpose but fails to address parameter meanings, behavioral details, or output expectations. For a tool that likely generates structured prompts, more context is needed to guide effective use.

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%, meaning none of the 3 parameters ('diff', 'style', 'commitMessage') are documented in the schema. The description adds no information about these parameters—it doesn't explain what 'diff' should contain, what 'style' refers to, or how 'commitMessage' is used. With 0% coverage and no compensation in the description, this is a significant gap.

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 clearly states the tool's purpose: '构建用于 Git diff 变更审查与打分的 LLM 提示词' (builds LLM prompts for Git diff change review and scoring). It specifies the verb ('构建' - build), resource ('LLM 提示词' - LLM prompts), and scope ('Git diff 变更审查与打分' - Git diff change review and scoring). However, it doesn't explicitly differentiate from sibling tools like 'review_code' or 'review_file', which likely have overlapping purposes.

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 provides minimal guidance: it mentions '不直接调用 LLM' (does not directly call LLM), which implies this tool generates prompts rather than executing them. However, it offers no explicit when-to-use instructions, no alternatives (e.g., when to use 'review_code' instead), and no prerequisites. The context is vague, leaving the agent to infer usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

review_filereview_fileC

构建用于单文件审查与打分的 LLM 提示词(不直接调用 LLM)

ParametersJSON Schema
NameRequiredDescriptionDefault
filePathYes
contentYes
styleNo
commitMessageNo

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool builds prompts and does not directly call LLM, which clarifies it's a preparatory step rather than an execution tool. However, it lacks details on permissions, rate limits, error handling, or what the output looks like, which are critical for a tool with 4 parameters and no output schema.

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, efficient sentence that front-loads the core purpose without unnecessary details. It wastes no words, though it could benefit from slightly more structure to improve clarity.

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

Completeness2/5

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

Given the complexity (4 parameters, 0% schema coverage, no annotations, no output schema), the description is incomplete. It doesn't explain parameter roles, output format, or behavioral constraints, making it inadequate for an agent to use the tool effectively without additional context or trial-and-error.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It mentions 'single-file review and scoring' but doesn't explain what filePath, content, style, or commitMessage mean or how they relate to prompt building. This leaves key parameter semantics unclear, failing to add meaningful value beyond the bare schema.

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 clearly states the tool's purpose: '构建用于单文件审查与打分的 LLM 提示词(不直接调用 LLM)' which translates to 'Build LLM prompts for single-file review and scoring (does not directly call LLM)'. This specifies the verb ('build'), resource ('LLM prompts'), and scope ('single-file review and scoring'), though it doesn't explicitly differentiate from sibling tools like review_code or review_diff.

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 provides no guidance on when to use this tool versus alternatives. It mentions 'single-file review and scoring' but doesn't specify scenarios, prerequisites, or exclusions compared to siblings like review_code or parse_review_score, leaving the agent to infer usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updates
    • First observedparse_review_score
    • First observedreview_code
    • First observedreview_diff
    • First observedreview_file

TDQS

B3.2/5.0
Disambiguation4/5

The tools have distinct purposes: parse_review_score extracts scores from text, while the other three build prompts for different code review contexts (overall code, Git diff, single file). However, review_code, review_diff, and review_file could be confused as they all build LLM prompts for review, differing only in input scope. Descriptions clarify this, but the overlap in function is notable.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case: parse_review_score, review_code, review_diff, review_file. The naming is predictable and readable, with no deviations in style or convention across the set.

Tool Count5/5

With 4 tools, the count is well-scoped for a code review server. Each tool serves a clear purpose: one for parsing scores and three for building review prompts across different contexts. This is neither too thin nor too heavy for the domain.

Completeness3/5

The server covers parsing scores and building prompts for various review types, but there are notable gaps. It lacks tools for executing reviews (e.g., calling an LLM), managing review workflows, or handling feedback beyond scores. This limits agents to only prompt construction and score extraction, missing core review operations.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiaobenyang-com/1777316659306499'

If you have feedback or need assistance with the MCP directory API, please join our Discord server