Skip to main content
Glama

Ask the project brain a question (whole-brain, correction-aware answer)

brain_ask

Ask a natural-language question about a project and receive synthesis-ready context, including archived decisions and live corrections, for accurate, cited answers.

Instructions

Answer a natural-language question from the WHOLE project brain — "what did we decide about X?", "where did the auth work land?", "why did we drop Y?". Ranks every card lexically, blended with on-device semantic similarity ONLY when the optional local model is installed (a fresh install is lexical; it degrades cleanly). INCLUDES superseded/archived history (flagged, so you can see how a decision changed), and attaches each stale card's live CORRECTION so the answer reflects the current truth, not an outdated card. Returns a synthesis-ready context (full cards + provenance + lifecycle) for you to turn into a direct, cited answer — it does not itself write prose. Prefer this over search_canvases when the user asks a QUESTION (not a keyword lookup). Optional as_of (YYYY-MM-DD) answers "what was true then". Defaults to the project brain ("brain").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNoMax cards to surface for synthesis (default 10, capped 20).
as_ofNoOptional YYYY-MM-DD: answer as of that date (superseded cards count as live if they were current then).
canvasNoBrain canvas filename/path. Defaults to the project brain ("brain").
questionYesThe natural-language question to answer from the brain.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses lexical ranking, conditional semantic ranking only when a local model is installed, graceful degradation on fresh installs, inclusion of superseded/archived history with flags, attachment of live corrections, and the fact that it returns synthesis-ready context rather than writing prose. This is far beyond minimal disclosure.

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 dense and fairly long, but every sentence adds meaningful information about behavior, usage, or outputs. It is front-loaded with the core purpose and supported by examples, ranking behavior, correction handling, and routing guidance. Slight trimming could improve readability, but the richness is justified for a complex tool.

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

Completeness5/5

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

Given the tool's complexity, absent annotations, and lack of an output schema, the description covers what an agent needs: question types, ranking behavior, historical context, correction awareness, return format (full cards + provenance + lifecycle), synthesis handoff, as_of semantics, and defaults. Nothing essential seems missing for correct selection and invocation.

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%, so the baseline is 3. The description adds extra meaning beyond the schema: it explains what as_of means behaviorally ('superseded cards count as live if they were current then'), gives concrete question examples for the question parameter, and clarifies the default canvas. This raises it above baseline, though k is only covered by its schema description.

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 identifies a specific verb and resource: 'Answer a natural-language question from the WHOLE project brain,' with concrete example questions. It distinguishes itself from search_canvases by stating that brain_ask is for questions, not keyword lookups. This leaves no ambiguity about the tool's role among its siblings.

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?

The description explicitly states when to prefer this tool: 'Prefer this over search_canvases when the user asks a QUESTION (not a keyword lookup).' It also names the alternative tool, explains the optional as_of parameter for historical questions, and notes the default canvas behavior. This is clear, actionable guidance.

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

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/dahshanlabs/klypix-mcp'

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