Skip to main content
Glama

Create ai memory

create_ai_memory

Save a new AI memory note. Attach it to an entity by passing entity_type + entity_id (both or neither); omit both for an account-wide note the AI sees everywhere.

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": {
      "title": "<title>"
    },
    "name": "create_ai_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesShort title, e.g. 'Knee injury', 'Prefers morning classes'.
datetimeNoISO timestamp the note refers to (default: now).
entity_idNoUUID of the entity row (required if entity_type is set).
descriptionNoDetailed note text used as AI context.
entity_typeNoEntity kind. One of: participant, instructor, membership_plan, location, room, offering, class_session, user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false. The description earns credit for disclosing the visibility consequence — an account-wide note is seen everywhere by the AI — which is behavior beyond the annotations. It says nothing about duplicate handling (relevant given idempotentHint=false) or what is returned on success, so full transparency is not reached.

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?

Two tight sentences with zero waste. The core action comes first and the scoping rule follows immediately. Every clause earns its place.

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 single-entity create tool with full schema coverage and annotations, the description covers the action and the scoping decision, which are the two things an agent could get wrong. Without an output schema the return value goes unexplained, which is a small remaining gap.

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%, so the schema already documents all five parameters, making 3 the baseline. The description does add the cross-field both-or-neither constraint, which the schema only half-states ('required if entity_type is set'), but it says nothing about the title, datetime, or description parameters.

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?

States a specific verb and resource: 'Save a new AI memory note.' The verb distinguishes it from the update_ai_memory and delete_ai_memory siblings, though the description never names them explicitly, leaving that differentiation to inference.

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 a clear conditional rule: pass entity_type + entity_id to scope to an entity, omit both for an account-wide note 'the AI sees everywhere.' This is a genuine when-to-do-what guideline. It stops short of an explicit 'do not use this to modify an existing memory, use update_ai_memory instead' exclusion.

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