Skip to main content
Glama

Emer Ai Tools

This connector has been deprecated

Moved to com.steledger/gateway — same service, now at https://api.steledger.com/mcp

Store memories (batch)

store_memory_batch

Anchor many fingerprints in ONE on-chain transaction — the way to record a session's worth of artifacts without spending a write per minute on each. Each item becomes ai:gh:<github_id>:mem:<content_hash>, exactly as with store_memory: only hashes and metadata, never content. All or nothing: if any item is refused (a malformed hash, say), nothing is written.

Requires a signed-in session. A batch of N counts as N writes against the FREE-tier limits (10 per minute, 100 per 24 hours), so at most 10 items fit in one call on a fresh minute; the result says how many writes are left. One transaction id comes back for the whole batch; each name reads back pending at once and confirmed after the next block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordsYes1–100 items, each {"content_hash": "<digest>", "metadata": {...}}; metadata is optional. Same rules as store_memory for each item.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
txidYes
countYes
namesYes
quotaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses all-or-nothing atomicity, write accounting against rate limits, the signed-in session requirement, one transaction id for the whole batch, and pending/confirmed read-back behavior. These are precisely the side effects an agent needs to predict when invoking a batch write tool.

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 dense but well organized: core mechanism first, then item format, atomicity, auth and limits, and finally confirmation behavior. Every sentence contributes actionable information, with the most important transaction-level facts front-loaded.

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

Completeness5/5

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

For a batch write tool with one parameter, the description covers authentication, rate-limit costs, maximum practical batch size, failure atomicity, and return semantics. Since an output schema exists, not restating return fields is appropriate and does not create a completeness gap.

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?

The schema already documents the `records` parameter, and the description adds operationally significant meaning: items are content_hash plus optional metadata, only hashes and metadata are stored, and callers should treat 10 as the practical batch ceiling even though the schema allows 100. It could be slightly more self-contained on hash rules, but it does point to `store_memory` for the same per-item rules.

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 action and resource: "Anchor many fingerprints in ONE on-chain transaction" and gives the exact record naming format `ai:gh:<github_id>:mem:<content_hash>`. It clearly distinguishes itself from `store_memory` by adding the batch dimension while preserving the same item semantics.

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?

It gives clear context for when batching is appropriate: "a session's worth of artifacts without spending a write per minute on each," and states a hard practical limit of 10 items per fresh minute given free-tier limits. It references `store_memory` as the single-item counterpart but does not explicitly say "use `store_memory` for a single item."

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