Skip to main content
Glama

import_memory

Create or update up to 200 memories in a single call, skipping unchanged items and continuing past individual failures.

Instructions

Create or update up to 200 memories in one call; each item works like write_memory. Items whose body is unchanged are skipped, and a failing item does not stop the others.

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": {
      "items": "<items>"
    },
    "name": "import_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.6

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the non-obvious behaviors: unchanged bodies are skipped (idempotent updates) and a failing item does not abort the batch (partial-failure isolation). It omits what is returned per item (no output schema exists), whether skips are reported, and any permission or rate considerations for a 200-item mutation.

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?

One tight sentence that front-loads the batch capability and follows with the two behavioral caveats that matter most. No redundant restatement of the name or tool title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch mutation with no annotations, no output schema, and 0% schema coverage, the description covers batching and failure semantics but leaves return shape and per-field requirements unaddressed. That is a meaningful gap for a tool an agent will be composing large payloads against.

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 0% and the nested item fields (slug, body, name, type, createdAt, description) carry no descriptions, so the description must compensate. It partially does by deferring to write_memory semantics, but it never identifies required fields (slug, body), the meaning of type/name, or how createdAt is treated, leaving the field contract to inference.

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+resource ('Create or update ... memories') plus batch scope ('up to 200 in one call'), and pins semantics to the sibling by saying 'each item works like write_memory'. An agent can immediately tell this is the bulk variant of write_memory rather than the single-item tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'up to 200 memories in one call' framing implies this is the bulk path versus per-item write_memory calls, but it never explicitly says when to prefer it over write_memory or when not to use it (e.g., single edits). The guidance is implied rather than stated.

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