Skip to main content
Glama

Update Brain

oi.brain.save-feedback

Propose or save a direct durable update into Org Brain or User Brain. Use this for requests like update our org brain, add this to Brain, remember this for the organization, save this as team memory, or update my private Brain. Do not create or update Contexts or Workflows when the user asks to update Brain unless they explicitly ask for those surfaces. For the smoothest UX, call with scope=auto and confirmed=false when you notice a durable memory or need scope confirmation; Oi will return a confirmation prompt and saveArguments. If the user has already explicitly asked to update Org Brain or User Brain with specific content, choose scope=organization or scope=user and set confirmed=true. Use scope=organization for organization-wide facts, vocabulary, policies, approval rules, shared project context, or repeated team workflows that should apply to the current organization. Use scope=user for personal preferences, recurring individual working style, or user-specific context that should follow the authenticated user. Confirmed Brain updates use an AI markdown update pass: compare the latest Brain markdown with the requested change, preserve existing structure, create headings when needed, add only missing guidance, and make the smallest accurate edit. Return a simple saved response when a new version is released, or a simple no-change response when the requested guidance appears to already exist in some capacity. Never save one-off task details, guesses, secrets, credentials, sensitive private data, or unconfirmed assumptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOptional model identifier to store on the Brain release provenance.
scopeNoWhere to save the durable feedback. Use auto before confirmation so Oi can recommend the safest scope. Choose organization for shared team/org/project memory. Choose user for private personal context.
reasonNoOptional short release summary explaining why this Brain update was saved.
runtimeNoOptional client runtime that produced the feedback, such as codex or chatgpt. Stored on the Brain release provenance.
feedbackYesThe concise durable Brain update to apply or remember for future runs.
providerNoOptional model provider name to store on the Brain release provenance.
confirmedNoSet false or omit to get a confirmation proposal. Set true only after the user explicitly asks or agrees to save this durable memory.
scopeReasonNoOptional explanation for why this memory belongs in the selected Brain scope.
confirmedUserWordingNoOptional exact user wording that confirmed the memory should be saved.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
brainNo
scopeNo
statusNo
scopeReasonNo
sourceModelNo
saveArgumentsNo
sourceRuntimeNo
versionNumberNo
sourceProviderNo
recommendedScopeNo
confirmationPromptNo

Schema Changelog

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

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations are minimal (no readOnly, no destructive flags), so the description carries the behavioral burden and fully delivers. It discloses the confirmation flow (Oi returns a prompt and saveArguments), the AI markdown update-pass mechanics (preserve structure, create headings, smallest accurate edit), response shapes (saved vs no-change), and a blacklist of content that must never be saved.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but dense — every sentence earns its place for a 9-parameter tool with a subtle confirmation flow. It is front-loaded with the core purpose and trigger phrases, then flows naturally through exclusions, scope selection, behavioral mechanics, and negative constraints without repetition.

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 — dual propose/save modes, three scopes, confirmation semantics, and sibling surfaces — the description is complete. It covers when to call, how to set the two pivotal parameters, what the update pass will do, what responses to expect, and what content to refuse. An output schema exists, so return-value documentation is already handled elsewhere.

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, but the description adds genuine semantic value for the key parameters: it explains the interaction between scope and confirmed, gives concrete decision criteria for each scope enum, and describes what confirmed=true triggers (the markdown update pass). The provenance parameters (model, runtime, provider) and optional fields (reason, scopeReason) are left to the schema, which is acceptable.

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 precise verb-resource pair, 'Propose or save a direct durable update into Org Brain or User Brain,' and gives concrete trigger phrases ('update our org brain,' 'remember this for the organization'). It further distinguishes itself from sibling surfaces by explicitly excluding Contexts and Workflows unless the user asks for them.

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 is explicit about when to use this tool and how to vary its behavior: scope=auto with confirmed=false for unconfirmed durable memories, scope=organization for org-wide facts/policies, and scope=user for personal preferences. It names the alternatives to avoid (Contexts, Workflows) and gives a clear condition for invoking them instead.

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.

TDQS

A3.5/5.0
Disambiguation4/5

Resource prefixes (contexts, skills, guardrails, workflows, connections) make most tools clearly distinct, and parallel lifecycle verbs are scoped by resource name. The main ambiguity is within the guardrails publish/release/unpublish lifecycle and between brain.save-feedback, contexts.save-draft-feedback, and the two report tools, though detailed descriptions mostly resolve it.

Naming Consistency4/5

Tools overwhelmingly follow an oi.<resource>.<verb> snake_case pattern, with create/get/list/update/use repeated consistently across resource types. Deviations include resource-less oi.recommend, noun-style oi.auth.whoami, and inconsistent release handling (separate guardrails.release vs action=release on contexts/skills update).

Tool Count2/5

38 tools is too many for a single server, mainly because the same lifecycle pattern is repeated across Contexts, Skills, Guardrails, and Workflows. Each tool may be individually justifiable, but the set feels bloated and could benefit from consolidation or splitting into per-resource servers.

Completeness3/5

CRUD coverage is uneven: Guardrails have create/update/delete/list/get plus publish/unpublish/release, while Contexts, Skills, and Workflows lack any delete or archive tool, and Brain has only save-feedback with no read/update/delete path. Connections and auth are read/use-only, which may be intentional but leaves management actions absent.