Skip to main content
Glama

brain_auto_learn

Extracts facts from text, classifies their category and importance, and resolves conflicts or duplicates to store project-scoped memory.

Instructions

[v1.1] Manually trigger auto-learning from text. Extracts facts, classifies categories/importance, handles conflicts and deduplication.

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": {
      "text": "<text>"
    },
    "name": "brain_auto_learn"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to extract facts from (e.g., meeting notes, session summary, documentation).
projectNoProject to scope extracted facts to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does useful work by revealing the processing pipeline, and 'handles conflicts and deduplication' signals that existing stored facts may be merged or altered. It does not say what is permanently written, whether conflicting facts are overwritten or skipped, or whether the caller needs any precondition, which leaves real gaps for a mutating tool.

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?

Two tight sentences, front-loaded with the action and followed by the processing behavior; nothing is redundant. The '[v1.1]' version tag is minor noise that does not help an agent decide anything.

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 mutating tool with no annotations and no output schema, the description explains the mechanism but not the outcome: it never says what the caller gets back (e.g., count of facts learned) or what happens to pre-existing conflicting facts. That is enough to call it, but not enough to predict its effects confidently.

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%, and both parameters ('text' and 'project') are documented with examples and scoping intent in the schema itself. The description adds no additional meaning about how 'project' influences scoping or whether omitting it changes behavior, so baseline 3 applies.

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 concrete verb and object ('Manually trigger auto-learning from text') and enumerates the internal operations (fact extraction, categorization, importance classification, conflict handling, dedup). Compared with the sibling 'brain_remember', the emphasis on 'extract' and 'auto-learn' distinguishes it as a derived-fact pipeline rather than a direct write, though the contrast is never stated explicitly.

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

Usage Guidelines3/5

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

'Manually trigger' implies this is the on-demand counterpart to some automatic process, which hints at when to reach for it. However, there is no explicit statement of when to prefer this over brain_remember or brain_session_end, and no prerequisites or exclusions are given.

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