Skip to main content
Glama
decisionnode

decisionnode/DecisionNode

Official

search_decisions

Query existing development decisions before implementing changes to ensure consistency. Search by natural language and project to find relevant conventions and avoid rework.

Instructions

MANDATORY: Call this FIRST before ANY code changes. When user asks you to: add a feature, modify code, fix a bug, implement something, refactor, style UI, or make ANY technical choice — you MUST call this tool FIRST to check for existing conventions. Skipping this causes inconsistency and wasted rework. Query with what you're about to work on: "button styling", "error handling", "API design", "authentication", "database schema", "component structure". If no decisions exist, proceed freely; if decisions exist, FOLLOW them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language query describing what you are about to work on (e.g., "button styling", "API error handling", "database connection")
limitNoMaximum number of results (default: 3)
projectYesREQUIRED: The project folder name. Extract this from the user's active file path (e.g., if path is ".../decisionnode-marketplace/src/...", use "decisionnode-marketplace"). Call list_projects first if unsure.
Behavior4/5

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

Annotations are not provided, so description carries full burden. It implies the tool is a safe read operation (searching) with no destructive behavior stated. Strongly indicates it's a required prerequisite step, but doesn't explicitly state it's read-only.

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?

Description is front-loaded with the mandatory instruction. While verbose, every sentence is meaningful. Bold and caps for emphasis make it clear. Could be slightly shorter but maintains effectiveness.

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?

Covers when to call, what to query, and expected outcomes. Does not describe output structure (e.g., list of decisions with details), but usage guidance is comprehensive enough for agent to act correctly.

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

Parameters4/5

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

Schema coverage is 100%, and description adds value beyond schema: provides examples for query parameter, and gives explicit guidance for project parameter (REQUIRED, extract from path, call list_projects if unsure).

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's purpose: search for existing decisions/conventions before making code changes. It uses the verb 'search' and resource 'decisions', and distinguishes itself from siblings like add_decision, delete_decision, etc. by emphasizing it must be called first.

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

Usage Guidelines5/5

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

Explicitly says 'MANDATORY: Call this FIRST before ANY code changes.' Provides detailed when-to-use scenarios (add feature, modify code, fix bug, etc.) and what to query. Also explains what to do if no decisions exist (proceed freely) and if they exist (follow them).

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/decisionnode/DecisionNode'

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