Skip to main content
Glama

Save to emero brain

save_to_emero_brain

Save ONE real decision the user made (a rule, a look, a subject to reuse, a decision, or "remember this") into this brand's emero brain; later generations in any chat reuse it. kind: rule (must/never/prefer) · preference (a leaning) · subject (asset_kind + image_job_ids) · decision · look (detail = the full look-lock sheet). scope "project" or "brand", required for rule/preference/decision/look. Reported conflicts stay active: supersede only if the user's message replaces them, else ask. Save ONLY what the user said or did; never invent rules. load_skill("emero-brain") for when to use each kind and scope.

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": {
      "kind": "<kind>",
      "title": "<title>",
      "summary": "<summary>"
    },
    "name": "save_to_emero_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
scopeNo
titleYes
detailNo
aliasesNocharacter: other names the person goes by.
consentNocharacter: required. "self" = the user's own face; "confirmed" = the user said this person agreed.
summaryYes
asset_kindNo
glasses_okNocharacter: true only after the user saw the glasses warning and chose "Save anyway". A face photo with glasses is refused without it (emero-brain, Faces).
image_metaNosubject: one entry per image_job_ids id (null to skip): angle, look, glasses.
project_idNoOpaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. An agent working in a folder (Claude Code, Codex) uses the folder's .emero.json project_id instead: load_skill("projects").
project_nameNoShort human title for the project (2-5 words from the user request, e.g. "Perfume ad campaign"). Pass it on your first generate/ingest_url so the project is not left "Untitled". You may also rename at will later — pass an updated project_name (on a generate/ingest_url, or on set_settings with no other change) whenever the user asks, e.g. "call this project cats".
image_job_idsNosubject: its reference image ids, first = primary (job:<uuid>#0, upload:<id>, memory:<id>).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list."New value: +"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. An agent working in a folder (Claude Code, Codex) uses the folder's .emero.json project_id instead: load_skill(\"projects\")."
  2. Changed1 schema field changed
    • changedInput schema / properties / project_id / pattern
      Previous value: -"^p-[a-z0-9]{6}$"New value: +"^[A-Za-z0-9_-]{1,64}$"
  3. Changed1 schema field changed
    • changedInput schema / properties / project_id / pattern
      Previous value: -"^[A-Za-z0-9_-]{1,64}$"New value: +"^p-[a-z0-9]{6}$"
  4. Changed1 schema field changed
    • addedInput schema / properties / glasses_ok
      Added value: +{
      +  "description": "character: true only after the user saw the glasses warning and chose \"Save anyway\". A face photo with glasses is refused without it (emero-brain, Faces).",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / image_meta / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "angle": {
      -        "enum": [
      -          "front",
      -          "3/4 left",
      -          "3/4 right",
      -          "profile left",
      -          "profile right",
      -          "other"
      -        ],
      -        "type": "string"
      -      },
      -      "glasses": {
      -        "type": "boolean"
      -      },
      -      "look": {
      -        "description": "e.g. \"beard\", \"clean-shaven\", \"short hair\"",
      -        "maxLength": 60,
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "angle": {
      +        "enum": [
      +          "front",
      +          "3/4 left",
      +          "3/4 right",
      +          "profile left",
      +          "profile right",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "extras": {
      +        "description": "anything else in frame: other people, hair, hands, objects, e.g. \"someone's hair bottom-left\"",
      +        "maxLength": 160,
      +        "type": "string"
      +      },
      +      "glasses": {
      +        "type": "boolean"
      +      },
      +      "look": {
      +        "description": "e.g. \"beard\", \"clean-shaven\", \"short hair\"",
      +        "maxLength": 60,
      +        "type": "string"
      +      },
      +      "top": {
      +        "description": "the top worn in the photo, colour + type, e.g. \"dark navy crew-neck tee\"",
      +        "maxLength": 80,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  6. Changed3 schema fields changed
    • addedInput schema / properties / aliases
      Added value: +{
      +  "description": "character: other names the person goes by.",
      +  "items": {
      +    "maxLength": 60,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
    • addedInput schema / properties / consent
      Added value: +{
      +  "description": "character: required. \"self\" = the user's own face; \"confirmed\" = the user said this person agreed.",
      +  "enum": [
      +    "self",
      +    "confirmed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / image_meta
      Added value: +{
      +  "description": "subject: one entry per image_job_ids id (null to skip): angle, look, glasses.",
      +  "items": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "angle": {
      +            "enum": [
      +              "front",
      +              "3/4 left",
      +              "3/4 right",
      +              "profile left",
      +              "profile right",
      +              "other"
      +            ],
      +            "type": "string"
      +          },
      +          "glasses": {
      +            "type": "boolean"
      +          },
      +          "look": {
      +            "description": "e.g. \"beard\", \"clean-shaven\", \"short hair\"",
      +            "maxLength": 60,
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "maxItems": 12,
      +  "type": "array"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / image_job_ids / description
      Added value: +"subject: its reference image ids, first = primary (job:<uuid>#0, upload:<id>, memory:<id>)."
  8. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Opaque per-chat project id. Mint one on your first emero action, pass that SAME id every call. One project per chat: NEVER mint a second for a new topic/campaign/subject/vibe — all stay in the one project; a new id is only for a new chat (server folds a stray id back in). A new chat the user says continues an earlier project reuses that project's id (from get_emero_brain's project list)."New value: +"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list."
  9. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare this is a non-read-only, non-destructive, non-idempotent write; the description adds real behavioral context beyond that — how conflicts are handled (stay active unless the user's message supersedes them), the one-item-per-call constraint ('Save ONE'), and the no-invention guardrail. It does not address duplicate behavior despite idempotentHint=false, which is the main remaining gap.

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?

Purpose is front-loaded and every clause carries information, but the middle 'kind: ... · preference ... · subject ...' segment is telegraphic and hard to parse on first read. No filler sentences are present; the density is justified by the tool's complexity, though readability suffers slightly.

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?

For a 13-parameter mutation tool with no output schema, the definition covers the parts an agent could most easily get wrong (kind semantics, scope conditionality, conflict handling, no fabrication) and points to skills for the remainder. The character-specific requirements (consent, glasses_ok) are handled by schema descriptions, so nothing critical is silently 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 54% schema coverage the description needs to compensate, and it does for the highest-risk fields: it defines each kind value (rule = must/never/prefer, preference = a leaning, subject = asset_kind + image_job_ids, look = detail is the full look-lock sheet) and adds the conditional scope requirement that the schema does not express. The required title and summary remain undefined in both places, which is why this is not a 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?

The description opens with a specific verb and resource: save ONE real decision (rule, look, subject, decision, or 'remember this') into this brand's emero brain, with the downstream effect ('later generations in any chat reuse it') spelled out. The enumerated kinds and the sibling contrast with get_emero_brain/manage_emero_brain (read vs. edit) make it unambiguous which tool this is.

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 gives clear context: 'scope required for rule/preference/decision/look', an exclusion ('Save ONLY what the user said or did; never invent rules'), and a conflict rule ('supersede only if the user's message replaces them, else ask'). Per-kind when-to-use is delegated to load_skill('emero-brain') rather than stated inline, which leaves the definition slightly dependent on an external call.

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.