Skip to main content
Glama

veristate_memory_write

Store JSON values in TTL-aware shared key-value memory so subagents can persist temporary state with automatic expiration.

Instructions

Store a JSON value in TTL-aware shared key-value memory for subagents.

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>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "veristate_memory_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
valueYes
api_keyNo
namespaceYes
ttl_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It says memory is 'TTL-aware' and 'shared', but never states whether writing an existing key overwrites or fails, how namespaces isolate keys, whether api_key is required for auth, or what a successful write returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity comes at the cost of the detail needed elsewhere.

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

Completeness2/5

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

This is a mutation tool with no annotations, no output schema, and zero parameter documentation, yet the description is one sentence. For that complexity profile, overwrite semantics, auth requirements, and namespace behavior should all be stated and are missing.

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?

Schema description coverage is 0% across 5 parameters, so the description must compensate and largely does not. Only TTL semantics is vaguely conveyed by 'TTL-aware'; key, value, namespace, and api_key receive no explanation, and the 1–2592000 second TTL cap is undocumented anywhere in prose.

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 states a specific verb ('Store') and resource ('a JSON value in TTL-aware shared key-value memory') and adds a scoping qualifier ('for subagents'). It is clear enough to distinguish from the sibling veristate_memory_read, though the distinction is inferred from the name rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The phrase 'for subagents' hints at the intended caller but leaves it to inference whether an agent should write here versus using veristate_checkpoint_create for persistence.

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