Skip to main content
Glama

Learn something

crbro_learn

Store a fact, decision, pattern, preference, error, or debt in long-term memory, merging duplicates and recording sources so future recalls stay accurate.

Instructions

Write a fact, decision, pattern, preference, error or debt to a neuron (created when the topic matches none). Recall first: it may exist. A replacement passes supersedes; retiring without one is crbro_revise; deleting is crbro_forget. A value that can change names its source (file, key, URL, person). Repeating a fact merges metadata, never verifies it (crbro_revise status=verified does). One claim per fact: past ~600 characters the answer suggests splitting; a huge neuron, crbro_revise move_to. Credentials become markers: crbro_secret them, store only the name. Returns neuron_id, action, shelf_life, near_duplicates, supersedes_unmatched (still live).

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": {
      "type": "<type>",
      "content": "<content>"
    },
    "name": "crbro_learn"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYeserror = a mistake with its fix; debt = a deliberate deferral with its ceiling and revisit trigger.
topicNoTopic name, e.g. "OctoChat"; or pass neuron_id.
domainNoSet on a new neuron, or replacing "general".
contentYesSelf-contained: recalled without this conversation. For a changeable value, say where it came from (file, key, URL, person).
keywordsNoFacts, expected: 2-5 words a future question may use that the text lacks (synonyms, other language, generic name).
temporalNoFacts: current state (default) or a historical record.
neuron_idNoExact id from crbro_recall; skips name matching.
rationaleNoDecisions: why. Indexed with it.
referenceNoFacts: where to check it (relative file, URL, person). Data, never fetched.
confidenceNoFacts: 0-1, default 1.
shelf_lifeNoFacts: volatile (versions, ports, hosts, config, roles) to permanent (history). Inferred if omitted.
supersedesNoIds or exact text of the facts this replaces; unmatched ones stay live.
keywords_replaceNoReplace, not merge, the keywords of an identical fact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv2.12.0
    • changedInput schema / properties / confidence / description
      Previous value: -"0.0-1.0, default 1.0. Facts only. On an exact-duplicate active fact the stored confidence is updated to this value (updated_in_place:true)."New value: +"Facts: 0-1, default 1."
    • changedInput schema / properties / content / description
      Previous value: -"The knowledge itself. Dense and self-contained: it is recalled without this conversation as context. For a value that can change (a version, price, port, host, setting, who holds a role), say where it came from — the file, config key, URL or person — so a later check knows where to look."New value: +"Self-contained: recalled without this conversation. For a changeable value, say where it came from (file, key, URL, person)."
    • changedInput schema / properties / domain / description
      Previous value: -"Domain, e.g. \"proyectos-web\". Applied when the neuron is created; on an existing neuron it only replaces the default \"general\" (crbro_revise domain replaces it unconditionally)."New value: +"Set on a new neuron, or replacing \"general\"."
    • changedInput schema / properties / keywords / description
      Previous value: -"Facts only, and expected on every fact: 2-5 words a future question may use that the text does not contain — synonyms, the other language, the generic name of the product named. Indexed with the fact, never shown; the largest measured lever on recall. Without them the fact is stored and the answer carries keywords_missing. The same text again with new keywords merges them."New value: +"Facts, expected: 2-5 words a future question may use that the text lacks (synonyms, other language, generic name)."
    • changedInput schema / properties / keywords_replace / description
      Previous value: -"When the exact fact text already exists, replace its stored keywords with `keywords` instead of merging (default false). Teammates in a shared space only ever receive the union."New value: +"Replace, not merge, the keywords of an identical fact."
    • changedInput schema / properties / neuron_id / description
      Previous value: -"Exact neuron id from crbro_recall, e.g. \"project_octochat\". Skips name matching entirely, and then topic is not needed."New value: +"Exact id from crbro_recall; skips name matching."
    • changedInput schema / properties / rationale / description
      Previous value: -"Why the decision was taken. Stored and indexed with it; ignored for other types."New value: +"Decisions: why. Indexed with it."
    • changedInput schema / properties / reference / description
      Previous value: -"Facts only: where to check this claim; a relative file, URL or person, optional field/project. Stored as data, never fetched or executed. No credentials."New value: +"Facts: where to check it (relative file, URL, person). Data, never fetched."
    • changedInput schema / properties / shelf_life / description
      Previous value: -"Facts only: how fast this value goes stale. volatile = versions, prices, ports, hosts, paths, config, who holds a role; durable = rarely moves; permanent = history that cannot change; normal otherwise. Omitted: inferred from the text, and returned."New value: +"Facts: volatile (versions, ports, hosts, config, roles) to permanent (history). Inferred if omitted."
    • changedInput schema / properties / supersedes / description
      Previous value: -"Facts this one replaces: their ids or exact text. They leave recall but stay in the file. Unmatched targets are reported and stay live."New value: +"Ids or exact text of the facts this replaces; unmatched ones stay live."
    • changedInput schema / properties / temporal / description
      Previous value: -"Facts only: a claim about current state or a historical record. Historical does not establish what is true now."New value: +"Facts: current state (default) or a historical record."
    • changedInput schema / properties / topic / description
      Previous value: -"Topic name, e.g. \"OctoChat\", \"Firebase\", \"SEO Strategy\". Required UNLESS you pass neuron_id, in which case the topic is taken from that neuron."New value: +"Topic name, e.g. \"OctoChat\"; or pass neuron_id."
    • changedInput schema / properties / type / description
      Previous value: -"error = a mistake plus its correction, in one entry. debt = a deliberate deferral: what was NOT done on purpose, its ceiling, and the revisit condition, e.g. \"DEFERRED: protecting the PDFs. CEILING: anyone can download them without signing up. REVISIT WHEN: the signup flow works.\""New value: +"error = a mistake with its fix; debt = a deliberate deferral with its ceiling and revisit trigger."
  2. Changed2 schema fields changedv2.10.0
    • addedInput schema / properties / reference
      Added value: +{
      +  "description": "Facts only: where to check this claim; a relative file, URL or person, optional field/project. Stored as data, never fetched or executed. No credentials.",
      +  "properties": {
      +    "field": {
      +      "maxLength": 256,
      +      "type": "string"
      +    },
      +    "kind": {
      +      "enum": [
      +        "file",
      +        "url",
      +        "person"
      +      ],
      +      "type": "string"
      +    },
      +    "project": {
      +      "maxLength": 256,
      +      "type": "string"
      +    },
      +    "value": {
      +      "maxLength": 2048,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "value"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / temporal
      Added value: +{
      +  "description": "Facts only: a claim about current state or a historical record. Historical does not establish what is true now.",
      +  "enum": [
      +    "current",
      +    "historical"
      +  ],
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv2.9.1
    • changedInput schema / properties / content / description
      Previous value: -"The knowledge itself. Dense and self-contained: it is recalled without this conversation as context."New value: +"The knowledge itself. Dense and self-contained: it is recalled without this conversation as context. For a value that can change (a version, price, port, host, setting, who holds a role), say where it came from — the file, config key, URL or person — so a later check knows where to look."
    • changedInput schema / properties / keywords / description
      Previous value: -"Facts only. 2-5 words a future question may use that the text does not contain: synonyms, the other language, the generic name of the product named. Indexed with the fact, never shown. The same text again with new keywords merges them."New value: +"Facts only, and expected on every fact: 2-5 words a future question may use that the text does not contain — synonyms, the other language, the generic name of the product named. Indexed with the fact, never shown; the largest measured lever on recall. Without them the fact is stored and the answer carries keywords_missing. The same text again with new keywords merges them."
    • addedInput schema / properties / shelf_life
      Added value: +{
      +  "description": "Facts only: how fast this value goes stale. volatile = versions, prices, ports, hosts, paths, config, who holds a role; durable = rarely moves; permanent = history that cannot change; normal otherwise. Omitted: inferred from the text, and returned.",
      +  "enum": [
      +    "volatile",
      +    "normal",
      +    "durable",
      +    "permanent"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changedv2.4.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  5. Changed3 schema fields changedv2.1.0
    • changedInput schema / properties / neuron_id / description
      Previous value: -"Exact neuron id from crbro_recall, e.g. \"project_octochat\". Skips name matching entirely."New value: +"Exact neuron id from crbro_recall, e.g. \"project_octochat\". Skips name matching entirely, and then topic is not needed."
    • changedInput schema / properties / topic / description
      Previous value: -"Topic name, e.g. \"OctoChat\", \"Firebase\", \"SEO Strategy\"."New value: +"Topic name, e.g. \"OctoChat\", \"Firebase\", \"SEO Strategy\". Required UNLESS you pass neuron_id, in which case the topic is taken from that neuron."
    • changedInput schema / required
      Previous value: -[
      -  "topic",
      -  "type",
      -  "content"
      -]New value: +[
      +  "type",
      +  "content"
      +]
  6. Changed3 schema fields changedv2.0.0
    • changedInput schema / properties / confidence / description
      Previous value: -"0.0-1.0, default 1.0. Facts only."New value: +"0.0-1.0, default 1.0. Facts only. On an exact-duplicate active fact the stored confidence is updated to this value (updated_in_place:true)."
    • changedInput schema / properties / domain / description
      Previous value: -"Domain, e.g. \"proyectos-web\". Applied when the neuron is created; on an existing neuron it only replaces the default \"general\"."New value: +"Domain, e.g. \"proyectos-web\". Applied when the neuron is created; on an existing neuron it only replaces the default \"general\" (crbro_revise domain replaces it unconditionally)."
    • addedInput schema / properties / keywords_replace
      Added value: +{
      +  "description": "When the exact fact text already exists, replace its stored keywords with `keywords` instead of merging (default false). Teammates in a shared space only ever receive the union.",
      +  "type": "boolean"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / keywords
      Added value: +{
      +  "description": "Facts only. 2-5 words a future question may use that the text does not contain: synonyms, the other language, the generic name of the product named. Indexed with the fact, never shown. The same text again with new keywords merges them.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  8. Changed9 schema fields changedv1.14.0
    • changedInput schema / properties / confidence / description
      Previous value: -"Confidence level 0.0-1.0 (default 1.0)"New value: +"0.0-1.0, default 1.0. Facts only."
    • changedInput schema / properties / content / description
      Previous value: -"The knowledge content to remember"New value: +"The knowledge itself. Dense and self-contained: it is recalled without this conversation as context."
    • changedInput schema / properties / domain / description
      Previous value: -"Domain category (e.g., \"proyectos-web\", \"infraestructura\")"New value: +"Domain, e.g. \"proyectos-web\". Applied when the neuron is created; on an existing neuron it only replaces the default \"general\"."
    • addedInput schema / properties / neuron_id
      Added value: +{
      +  "description": "Exact neuron id from crbro_recall, e.g. \"project_octochat\". Skips name matching entirely.",
      +  "type": "string"
      +}
    • changedInput schema / properties / rationale / description
      Previous value: -"Rationale for decisions"New value: +"Why the decision was taken. Stored and indexed with it; ignored for other types."
    • addedInput schema / properties / supersedes
      Added value: +{
      +  "description": "Facts this one replaces: their ids or exact text. They leave recall but stay in the file. Unmatched targets are reported and stay live.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / topic / description
      Previous value: -"The topic name (e.g., \"OctoChat\", \"Firebase\", \"SEO Strategy\")"New value: +"Topic name, e.g. \"OctoChat\", \"Firebase\", \"SEO Strategy\"."
    • changedInput schema / properties / type / description
      Previous value: -"Type of knowledge to store"New value: +"error = a mistake plus its correction, in one entry. debt = a deliberate deferral: what was NOT done on purpose, its ceiling, and the revisit condition, e.g. \"DEFERRED: protecting the PDFs. CEILING: anyone can download them without signing up. REVISIT WHEN: the signup flow works.\""
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "fact",
      -  "decision",
      -  "pattern",
      -  "preference"
      -]New value: +[
      +  "fact",
      +  "decision",
      +  "pattern",
      +  "preference",
      +  "error",
      +  "debt"
      +]
  9. First observedv1.4.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly=false, idempotent=false, destructive=false); the description adds substantial behavior beyond that: repeats merge metadata rather than verifying, unmatched supersedes stay live, values with changeable sources must name their source, and credentials must be replaced by markers. These are non-obvious semantics an agent could not infer from the schema or annotations.

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?

Front-loaded with purpose, then alternatives, then constraints, then return fields — a sensible ordering. The prose is extremely compressed and semicolon-chained, which occasionally reads as telegraphic, but no sentence is filler.

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?

For a 13-parameter mutation tool with a nested reference object and no output schema, the definition covers creation behavior, idempotency/merge semantics, size limits, credential handling, and even enumerates the return fields (neuron_id, action, shelf_life, near_duplicates, supersedes_unmatched). Nothing essential to a correct call is missing.

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?

With 100% schema coverage the baseline is 3, but the description adds genuine meaning beyond the schema: the source-naming rule for changeable values, the ~600-character one-claim-per-fact threshold, and the note that supersedes entries which fail to match remain live. It does not cover every parameter (confidence, temporal, keywords_replace), which keeps it below 5.

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?

"Write a fact, decision, pattern, preference, error or debt to a neuron" gives a specific verb and resource, and the parenthetical clarifies creation behavior when no topic matches. It is immediately distinguishable from crbro_revise (retire) and crbro_forget (delete), both named in the text.

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?

Explicit routing: "Recall first: it may exist" establishes the prerequisite check, then names the exact alternative for each adjacent operation (supersedes for replacement, crbro_revise for retiring, crbro_forget for deletion). It also gives a fallback path for oversized content (crbro_revise move_to) and for credentials (crbro_secret).

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