Skip to main content
Glama

Search the brain

search_brain
Read-onlyIdempotent

Find bubbles by words (labels, notes and gathered facts).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 15).
queryYesWords to look for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is fully covered. The description adds real value by naming what is indexed (labels, notes, gathered facts), but it says nothing about match semantics (substring vs. full-text), ranking, or whether results are truncated by default.

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?

A single front-loaded sentence with zero filler; the search scope is placed immediately after the core action. It is efficient, though its brevity edges toward under-specification rather than optimal density.

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?

For a two-parameter read-only lookup with full schema coverage and rich annotations, the description covers the essentials and no output schema needs explaining. It is still incomplete on what a "bubble" is and how results are ordered or truncated, which matters for interpreting the returned list.

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 both query and limit are already documented, making 3 the baseline. The description's "words to look for" framing reinforces word-based matching but adds no syntax, phrase, or case-sensitivity guidance beyond the schema.

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 gives a specific verb and resource ("Find bubbles by words") and clarifies the search corpus as labels, notes and gathered facts, which tells an agent more than the title alone. The weak point is that "bubbles" is domain jargon left undefined, and no sibling is named for contrast, so an agent must infer the difference from answer_question or expand_node.

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?

There is no statement of when to use this tool versus alternatives — notably answer_question, which plausibly covers similar ground — and no prerequisites or exclusions. The agent must guess that this is the keyword-lookup path rather than the Q&A path.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources