Skip to main content
Glama
turingmindai

TuringMind MCP Server

Official
by turingmindai

turingmind_update_spec_node

Update a SpecNode's contract or metadata to refine specs based on new information. Automatically invalidates downstream subgraphs.

Instructions

Update the contract or metadata of an existing SpecNode. Updating a contract triggers automatic subgraph invalidation downstream. Use this when refining specs based on new information or audit results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesSpecNode ID to update
contractNoStrict mathematical contract: inputs, outputs, invariants, metrics
priorityNo
complexityNoRelative implementation complexity
effort_daysNoEstimated calendar days to complete
dependenciesNoIDs of upstream SpecNodes this node depends on
surface_typeNoRisk surface classification. api_endpoint nodes appear in Risk Posture Map.
intent_justificationNoRationale for why this node exists (e.g. from gap analysis)
Behavior3/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. It discloses that updating a contract triggers automatic subgraph invalidation, which is a key behavioral trait. However, it does not mention if metadata updates have similar effects, nor does it cover auth, rate limits, or idempotency.

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 two sentences, front-loading the action and effect, then providing usage guidance. Every word adds value, with no redundancy.

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?

Given the tool has 8 parameters, no output schema, and no annotations, the description is relatively sparse. It explains the key behavioral effect (subgraph invalidation) but omits return values, prerequisites (e.g., node must exist), and details on metadata updates.

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 88%, so most parameters are already described in the schema. The description adds little beyond the schema, only mentioning that 'contract' is a strict mathematical contract. This meets the baseline but does not significantly enhance understanding.

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 updates an existing SpecNode's contract or metadata, distinguishing it from creation tools like turingmind_create_spec_node. It uses a specific verb and resource, and adds context about triggering subgraph invalidation.

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 explicitly advises using this tool 'when refining specs based on new information or audit results,' providing clear context. However, it does not explicitly state when not to use it or compare alternatives like promotion.

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