Skip to main content
Glama

search_thoughts

Search for thoughts in a brain by query text, with options to limit results and filter by thought names only.

Instructions

Search for thoughts in a brain

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brainIdNoThe ID of the brain
queryTextYesSearch query text
maxResultsNoMaximum number of results
onlySearchThoughtNamesNoOnly search in thought names (not content)
Behavior2/5

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

With no annotations, the description carries full burden but only states 'search for thoughts'. It does not disclose behavioral traits such as default search mode (names vs content), result ranking, or whether it requires text indexing. The schema parameters (e.g., onlySearchThoughtNames) are not mentioned in the description.

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 a single, succinct sentence with no wasted words. However, it is arguably too brief given the tool's complexity; a bit more detail would improve clarity without harming conciseness.

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

Completeness2/5

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

No output schema exists, so the description should clarify return format (e.g., list of thought IDs, objects with content). It fails to specify what the search results contain or how to interpret them, leaving a significant gap for the agent.

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 description coverage is 100%, so baseline is 3. The description adds no parameter details beyond what the schema provides. It does not explain how queryText is used or the purpose of brainId, but the schema descriptions are sufficient.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'search' and resource 'thoughts in a brain', distinguishing it from sibling tools like get_thought (single retrieval) or get_thought_graph (graph traversal). However, it lacks specificity about the scope (e.g., content vs. names) and does not differentiate from potential search variants.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., get_thought for by-ID lookup, get_modifications for recent changes). The description does not mention prerequisites, typical use cases, or when not to use it.

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/redmorestudio/thebrain-mcp'

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