Skip to main content
Glama

search_decisions

Search recorded decisions by keywords, tags, or project metadata to quickly find relevant past choices.

Instructions

Search through recorded decisions by keywords or metadata.

This tool provides flexible project lookup. You can specify any combination of identifiers, and it will resolve to the matching project.

Priority: project_id > workspace_path > project_name

WHEN TO USE:

  • Looking for decisions about specific topics (e.g., "authentication", "database")

  • Checking if a particular technology or pattern was already decided upon

  • Finding decisions made by specific approaches or requirements

  • Researching the history of a specific feature or component

USEFUL FOR: Quickly finding relevant decisions without reading through all of them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoOptional tags to filter by - e.g., ["security", "architecture"]
queryYesSearch keywords - e.g., "authentication", "performance", "database" (required)
project_idNoProject ID from create_project() (optional if project_name or workspace_path provided)
project_nameNoProject name to look up (alternative to project_id)
workspace_pathNoWorkspace directory path (alternative to project_id)
Behavior3/5

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

With no annotations, the description must fully disclose behavior. It does explain the priority order for project identifiers (project_id > workspace_path > project_name) and mentions you can specify any combination. However, it does not clarify how query and tags interact (AND vs OR), what fields are returned in results, or why the project lookup sentence is included. This leaves room for uncertainty.

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 well-structured with a clear opening sentence, a priority note, and structured WHEN TO USE/USEFUL FOR sections. While it is moderately long, every section contributes meaningful guidance. The USEFUL FOR section is slightly redundant with WHEN TO USE but not excessively so.

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?

The tool has 5 parameters and no output schema, so the description must cover more ground. It explains the core purpose, usage scenarios, and identifier priority, but omits details about result structure, filtering behavior with tags, or potential edge cases. This leaves some gaps but still provides a usable baseline for an agent.

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?

Input schema descriptions already cover all parameters with 100% coverage, so baseline is 3. The description adds extra value by explicitly stating the resolution priority for project identifiers and providing example tag values, giving users a clearer mental model of precedence and usage.

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 'Search through recorded decisions by keywords or metadata' and the WHEN TO USE section reinforces specific decision-related use cases. This distinguishes it from sibling tools like get_project_decisions, which likely list all decisions without keyword search. The initial phrase 'flexible project lookup' adds slight ambiguity but does not undermine the core purpose.

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 WHEN TO USE section provides explicit scenarios with concrete examples (e.g., 'Looking for decisions about specific topics', 'Checking if a particular technology was already decided upon'). It does not explicitly name alternatives, but the context makes it clear this is the right tool for targeted decision search rather than general project listing.

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/siddiquesahabaj/CoordMCP'

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