Skip to main content
Glama
Unified MCP Server

Unified MCP Server

by qingyunyupan

code_architect

Evaluate architecture decisions and design trade-offs, then generate architecture decision records (ADRs) with context-aware recommendations and constraints.

Instructions

作为资深软件架构师,对系统设计、技术选型和架构决策提供专业咨询。生成架构决策记录(ADR)并评估权衡。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "decision": "<decision>"
    },
    "name": "code_architect"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYes需要评估的架构决策或设计问题
system_contextNo系统的当前架构和约束条件

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It states that the tool provides consulting, generates ADRs, and evaluates trade-offs, but it does not clarify whether it inspects a codebase, what the output format is, or any operational limits.

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 compact and front-loaded: the first sentence establishes the architecture-advisory role, and the second states the ADR and trade-off outputs. There is minor repetition around architecture decisions, but no wasted filler.

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 two-parameter advisory tool with no annotations and no output schema, the description covers the core purpose and high-level output. It still lacks explicit usage guidance versus sibling tools, expected output structure, and behavioral details that would help an agent call it confidently.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already well documented. The description adds no parameter-specific syntax, constraints, or examples beyond what the schema provides, making the baseline score appropriate.

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 names the resource and actions: consulting on system design, technology selection, and architecture decisions, plus generating ADRs and evaluating trade-offs. It is specific enough to distinguish this architecture-level advisory tool from code-level siblings, though it does not explicitly contrast itself with tools like code_plan or code_review.

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

Usage Guidelines3/5

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

Usage is implied by the listed scenarios (system design, technology selection, architecture decisions, ADRs), so an agent can infer when it is appropriate. However, there are no explicit when-to-use or when-not-to-use rules, and no alternative sibling tool is named.

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