Skip to main content
Glama

Ask the brain

ask_brain
Read-onlyIdempotent

Answer a free-form question from the user's memory, such as 'what do I know about X?' or 'when does my policy renew?'. Zenod reads across the vault with a read-only research loop and returns a written answer that cites the vault pages and source links it used. Suited to questions that span several notes; slower than search_memory because it runs a language model.

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": {
      "question": "<question>"
    },
    "name": "ask_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYesThe question, in natural language
contextRefsNoExact tenant-local evidence refs to ground first, e.g. Log/2026-06-11.md#^e-7f3a2c

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely new context: the multi-pass research loop, the latency cost relative to search_memory, and that the answer cites vault pages and source links. It stops short of saying how the citations are formatted or whether the answer is bounded in length.

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?

Three sentences, front-loaded with purpose, then behavior, then the sibling comparison. The two illustrative questions could be trimmed to one without losing meaning, but nothing else is wasted.

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?

With no output schema, the description correctly carries the burden of describing what comes back (a written answer citing pages and source links), which is the key unknown for this tool. Its only gap is silence on the optional contextRefs grounding input.

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 parameters are already documented, and the description's example questions only loosely illustrate the question field. The contextRefs parameter, which is the more subtle one (pinned evidence refs to ground first), gets no mention in the description at all, so it adds nothing beyond the schema.

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 names a specific verb and resource (answer a free-form question from the user's memory) and immediately distinguishes itself from the sibling search_memory by explaining it runs a language model. An agent can tell this apart from the retrieval siblings without reading either schema.

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?

It states the fitting scope (questions that span several notes) and gives a concrete discriminator against search_memory (this one is slower because of the LLM). What's missing is an explicit inverse instruction such as 'use search_memory for simple keyword lookups,' so the routing logic is implied rather than spelled out.

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.