Skip to main content
Glama

Public Agent Memory

memory_write

Append a short titled plain-text entry to a PUBLIC, shared namespace. Anyone knowing the namespace can read or append. No editing, no authentication, no confidentiality. Never store personal data or secrets. Default expiry 48 hours; optional ttl_hours 1-168; content max 2048 UTF-8 bytes.

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": {
      "namespace": "<namespace>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "memory_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesShort entry title; maximum 120 characters.
contentYesPlain text only, maximum 2048 UTF-8 bytes.
namespaceYesShared public namespace (3-64 letters/digits/-/_).
ttl_hoursNoOptional whole hours; default 48, range 1-168.
client_labelNoOptional unverified client label, max 120 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses public readability, absent authentication, no confidentiality, immutability, default 48h expiry, ttl bounds, and content size cap. It leaves out what is returned on success (an id for later reads?), what happens after expiry, and whether concurrent appends are safe.

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?

Five compact clauses, zero filler, with the most decision-relevant facts (public, no auth, no secrets) front-loaded ahead of limits. Every sentence earns its place.

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?

Strong on constraints for a write tool with no output schema, but it never says what the call returns, which matters for a writer that creates a retrievable entry. Expiry semantics (is the entry gone entirely?) are also left implicit.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema by spelling out the confidentiality consequences of the namespace choice ("Anyone knowing the namespace can read or append") and tying ttl/content limits to concrete bounds. The ttl_hours default and byte cap largely restate the schema.

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 ("append"), a specific resource ("short titled plain-text entry"), and scope ("PUBLIC, shared namespace"), plus explicit limits ("no editing"). An agent can distinguish this from memory_read without opening either schema.

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 clear when-not-to-use guidance: the namespace is world-readable, no authentication or confidentiality, and "Never store personal data or secrets." "No editing" rules out update workflows. It does not explicitly name memory_read as the read counterpart, so it stops short of full alternative routing.

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