Skip to main content
Glama

memory_set_batch

Idempotent

Save up to 50 memory entries in one atomic SQLite transaction using a single user intent. Prevents storing secret-shaped keys or values, with namespace support for organized access.

Instructions

Upsert up to 50 entries in one SQLite transaction. One explicit_user_intent covers the batch. Rejects secret-shaped keys/values. Namespace-aware.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesYesUpsert up to 50 entries atomically in one transaction.
explicit_user_intentYesMust be true. Set ONLY when the current user message explicitly asks the agent to modify memory (set/forget/export). Do not infer intent.
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark the tool as idempotent and non-destructive. The description adds genuinely useful behavioral context: secret-shaped keys/values are rejected, namespace awareness, and that a single explicit_user_intent covers the entire batch. This goes beyond the structured fields and enriches the agent's mental model without contradiction.

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 sentences, zero filler. The most important information (upsert, batch size, transaction) is front-loaded, and each clause earns its place by adding a distinct constraint or behavior.

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?

The description covers the batch mechanics, transaction semantics, intent requirement, secret handling, and namespace scope. It doesn't describe the return value or error cases, but given the lack of an output schema and the richness of the input schema and annotations, the description is sufficiently complete for an agent to call it correctly.

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 description coverage is 100%, so the schema already documents both parameters. The description adds value by clarifying that 'entries' is a batch upsert in one transaction and that 'explicit_user_intent' is batch-scoped, plus the secret-detection rule affecting values and metadata. These clarifications go beyond the schema's basic 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?

The description opens with a specific verb-resource pair ('Upsert up to 50 entries') and adds critical scoping details: the batch limit, atomic transaction, a single intent covering the batch, secret-shape rejection, and namespace awareness. It clearly distinguishes this from the single-entry sibling memory_set and other memory tools.

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 implies batch use and atomicity, and the sibling list makes the contrast with memory_set obvious, but it never explicitly states when to prefer this over alternatives (e.g., 'use when you need to write multiple entries atomically'). It also doesn't mention any exclusions or prerequisites.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/delx-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server