review_technical_decision
Evaluate technical decisions by assessing impact, trade-offs, alternatives, and risks. Provides architectural recommendations based on system context and constraints.
Instructions
Review and evaluate a technical decision using GLM-4.6 architectural expertise. Assesses impact, trade-offs, alternatives, risks, and provides recommendations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Context including current architecture, constraints, and objectives | |
| decision | Yes | The technical decision to review |
Implementation Reference
- src/glm-client.ts:159-174 (handler)Handler function implementing the review_technical_decision tool. Constructs a query for technical decision review and calls consultArchitecture method.async reviewTechnicalDecision(decision: string, context: string): Promise<string> { const query = `Review the following technical decision: Decision: ${decision} Context: ${context} Provide: 1. Architectural impact assessment 2. Trade-offs analysis 3. Alternative approaches 4. Risk evaluation 5. Recommendation with justification`; return this.consultArchitecture(query); }
- src/index.ts:82-95 (schema)Input schema definition for the review_technical_decision tool, specifying parameters decision and context.inputSchema: { type: 'object', properties: { decision: { type: 'string', description: 'The technical decision to review', }, context: { type: 'string', description: 'Context including current architecture, constraints, and objectives', }, }, required: ['decision', 'context'], },
- src/index.ts:79-96 (registration)Tool registration in the tools array, including name, description, and schema, returned by listTools handler.{ name: 'review_technical_decision', description: 'Review and evaluate a technical decision using GLM-4.6 architectural expertise. Assesses impact, trade-offs, alternatives, risks, and provides recommendations.', inputSchema: { type: 'object', properties: { decision: { type: 'string', description: 'The technical decision to review', }, context: { type: 'string', description: 'Context including current architecture, constraints, and objectives', }, }, required: ['decision', 'context'], }, },
- src/index.ts:185-196 (registration)MCP server callTool handler case that dispatches to the reviewTechnicalDecision method on GLMClient.case 'review_technical_decision': { const { decision, context } = args as { decision: string; context: string }; const response = await glmClient.reviewTechnicalDecision(decision, context); return { content: [ { type: 'text', text: response, }, ], }; }