Skip to main content
Glama

Import

memory_import
Idempotent

Save past chat turns in order, or one document you write (kind "document"). Only import with the user's OK. An item that does not match the schema rejects the whole call and nothing is saved; a valid item the server cannot store is reported on its own in the results. Leave out passwords, keys and other secrets.

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": "memory_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
batch_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses critical behavior: schema-invalid items reject the entire call and save nothing, while valid items the server cannot store are reported individually. It also adds consent and secret-handling requirements, which are substantial operational details not covered by the annotations.

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 front-loaded with the core action and then adds the consent rule, atomic validation behavior, partial storage reporting, and secret-handling warning. Every sentence carries useful information and there is no redundant wording.

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?

The description covers important behavioral and safety context for a complex import tool with no output schema and 0% schema description coverage. However, it leaves major schema details unexplained, including most item kinds, required fields, batch limits, and the meaning of batch_id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions past chat turns and a document with kind "document," but the schema also supports memory_write, memory_forget, consent, and capture_session items. With 0% schema description coverage, the description does not explain required item fields, the items array limit, batch_id, or the nested payload and speaker structures.

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?

The description names a specific verb and resource: saving past chat turns in order, or one document of kind "document." This is more informative than a tautological title, but it does not differentiate the tool from siblings such as memory_capture_turn or memory_remember.

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 description gives a clear consent prerequisite: "Only import with the user's OK." It also implies the import use case for historical chat turns or a document, but it does not state when to use this instead of sibling tools like memory_capture_turn or memory_remember.

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.