Skip to main content
Glama

memory_create

Saves a confirmed fact, rule or recipe as an agent memory record when the user asks to keep knowledge for future agent work; secrets and access values are kept as agent variables, and a record refers to the variable by name. The record starts personal and unverified: it applies to the token owner's agents at once, and a moderator can make it shared. level is the scope: company (Git, cloud, CI), user (personal preferences), project (stands, addresses, project infrastructure) or repository (conventions, tests, code pitfalls).

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": {
      "level": "<level>",
      "load": "<load>",
      "theme": "<theme>",
      "title": "<title>",
      "text": "<text>"
    },
    "name": "memory_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsNoJobs the record is for; at least one for job and request, none for always.
loadYesalways - delivered with any work, short; job - with the jobs in `jobs` (prevention, silent pitfalls); request - only in the `memory` index, read by ID (symptom diagnostics, narrow areas).
textYesOne topic, 1.5-3 thousand characters (max 4,000), in the language of the workspace data: rules and facts with reasons. Author and date are record fields, no "Source" line needed.
levelYes
themeYesTopic, the area of work (Git, CI, Release, Tests), up to 40 characters: one of the company topic dictionary (themes in the memory list and save responses); a topic similar to a dictionary one is rejected with its name.
titleYes"<situation or symptom>: <what's inside>" without the topic, up to 200 characters, in the language of the workspace data; agents judge relevance by the title in the memory index.
agentsNoWhich agents the record is for: all - everyone (default); user - agents working on a person's token, with that person's machine setup; system - Kosmodrom agent employees working on their own VM under the agent runner.
themeNewNoOnly for a topic outside the dictionary: why none of the dictionary topics fits; the moderator sees it at the "new topic" mark.
projectIDNoProject ID, for level = project.
productIDsNoFor level = project: the products where the record is delivered. Products of its own project: only in them (none of them listed - in all products of the project); products of other projects: in them too.
repositoryIDNoRepository ID, for level = repository.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / theme
      Added value: +{
      +  "description": "Topic, the area of work (Git, CI, Release, Tests), up to 40 characters: one of the company topic dictionary (themes in the memory list and save responses); a topic similar to a dictionary one is rejected with its name.",
      +  "maxLength": 40,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / themeNew
      Added value: +{
      +  "description": "Only for a topic outside the dictionary: why none of the dictionary topics fits; the moderator sees it at the \"new topic\" mark.",
      +  "maxLength": 300,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / title / description
      Previous value: -"\"<area> · <situation or symptom>: <what's inside>\", up to 200 characters, in the language of the workspace data; agents judge relevance by the title in the memory index."New value: +"\"<situation or symptom>: <what's inside>\" without the topic, up to 200 characters, in the language of the workspace data; agents judge relevance by the title in the memory index."
    • changedInput schema / required
      Previous value: -[
      -  "level",
      -  "load",
      -  "title",
      -  "text"
      -]New value: +[
      +  "level",
      +  "load",
      +  "theme",
      +  "title",
      +  "text"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / jobs / items / enum
      Previous value: -[
      -  "analysis",
      -  "dev",
      -  "qa",
      -  "devops",
      -  "review",
      -  "design"
      -]New value: +[
      +  "analysis",
      +  "dev",
      +  "qa",
      +  "devops",
      +  "review",
      +  "design",
      +  "marketing"
      +]
    • changedInput schema / properties / jobs / maxItems
      Previous value: -6New value: +7
  3. Changed1 schema field changed
    • addedInput schema / properties / agents
      Added value: +{
      +  "description": "Which agents the record is for: all - everyone (default); user - agents working on a person's token, with that person's machine setup; system - Kosmodrom agent employees working on their own VM under the agent runner.",
      +  "enum": [
      +    "user",
      +    "all",
      +    "system"
      +  ],
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / productIDs
      Added value: +{
      +  "description": "For level = project: the products where the record is delivered. Products of its own project: only in them (none of them listed - in all products of the project); products of other projects: in them too.",
      +  "items": {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • changedInput schema / properties / title / description
      Previous value: -"\"<area> · <situation or symptom>: <what's inside>\", up to 200 characters, in the language of the workspace data; agents judge relevance by it, and agents doing other kinds of work see it only up to \": \"."New value: +"\"<area> · <situation or symptom>: <what's inside>\", up to 200 characters, in the language of the workspace data; agents judge relevance by the title in the memory index."
  5. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / title / description
      Previous value: -"\"<area> · <situation or symptom>: <what's inside>\", up to 200 characters, in the language of the workspace data; agents judge relevance by it."New value: +"\"<area> · <situation or symptom>: <what's inside>\", up to 200 characters, in the language of the workspace data; agents judge relevance by it, and agents doing other kinds of work see it only up to \": \"."
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing lifecycle behavior: the record is personal and unverified, takes effect immediately for the token owner's agents, and can later be made shared by a moderator. That visibility/moderation story is information annotations cannot carry. It stops short of describing duplicate handling, validation failure modes, or what the create response returns.

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 the action and trigger, then secrets handling, then visibility lifecycle, then scope. Dense but every clause carries information; the final `level` enumeration is slightly list-like but is the only place that parameter is explained.

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 an 11-parameter mutation tool the description covers purpose, trigger, privacy lifecycle and the key scope enum, while the 91%-covered schema handles the rest. No output schema exists, so the post-create return shape (record ID, index placement) is an acknowledged gap, but nothing required for 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?

Schema coverage is already 91%, so the baseline is 3, but the description adds real value on the one required parameter the schema leaves bare: `level` is unpacked with concrete scope examples (company = Git/cloud/CI, project = stands/addresses, repository = conventions/tests). `load` and `jobs` semantics are left to the schema's own descriptions.

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?

States a specific verb plus resource ("Saves ... as an agent memory record") and narrows the content to confirmed facts, rules and recipes tied to future agent work. That is enough to separate it from the mutation siblings (memory_update, memory_delete) and from resource-specific creators such as task_create or bug_create without opening any 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?

Gives an explicit trigger: use it "when the user asks to keep knowledge for future agent work," and rules out a content class by redirecting secrets/access values to agent variables referenced by name. It does not say what to do when a memory on the topic already exists (update vs. create), so the when-not guidance is partial rather than complete.

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.

Resources