Skip to main content
Glama
turingmindai

TuringMind MCP Server

Official
by turingmindai

turingmind_classify_failure

Classify a SpecNode failure as spec_gap, test_gap, implementation_bug, or dependency_failure and escalate to the appropriate mode.

Instructions

Classify a SpecNode failure deterministically. Do NOT guess. Exactly one classification applies: spec_gap → contract is incomplete or ambiguous → escalate to Architect Mode test_gap → tests don't cover the failure scenario → escalate to Tester Mode implementation_bug → code is wrong, spec and tests are correct → escalate to Builder Mode dependency_failure → upstream node is broken, block this node

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYes
evidenceNoWhy this classification was chosen
failure_traceYesRaw test output, stack trace, or error message
classificationYes
Behavior4/5

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

With no annotations, the description carries the burden. It declares the tool is 'deterministic' and lists the outputs per classification. It does not cover error cases or idempotency, but the core behavior is transparent.

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, front-loading the core purpose and using a clear bullet-like format. Every sentence adds value without redundancy.

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

Completeness4/5

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

Given the tool's complexity (4 params, enum, no output schema), the description covers the classifications and their actions well. It assumes domain knowledge of SpecNode but otherwise is sufficiently complete for correct tool invocation.

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 coverage is 50% (descriptions for evidence and failure_trace). The description adds meaning for 'classification' by explaining the enum values, but node_id and evidence lack additional context beyond what is in the schema.

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?

The description clearly states the tool classifies a SpecNode failure deterministically, listing the four exact classifications and their meanings. This distinguishes it from sibling tools like 'detect_conflicts' or 'analyze_diff'.

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?

The description provides explicit when-not instructions ('Do NOT guess') and defines each classification's action (escalate to Architect/Tester/Builder Mode, block node). However, it does not compare directly to other sibling tools for alternative use cases.

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

Install Server

Other Tools

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/turingmindai/turingmind-mcp'

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