Skip to main content
Glama

Save to memory

tzivia_compress

Save text to the user's Tzivia memory: notes, decisions, preferences, documents, or conversation excerpts the user wants kept. Any length is accepted; long input is processed in chunks. Returns a compress_id and a summary of what was stored. Use tzivia_recall to retrieve it later.

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": {
      "text": "<text>"
    },
    "name": "tzivia_compress"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesRaw text to compress (any length -- streamed internally)
labelNoHuman-readable label for this compression (optional)
cyclesNoLearning cycles to run (0 = auto from corpus size)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write, so the safety bar is partly covered. The description adds real context beyond them: arbitrary input length is accepted, long input is chunked internally, and the call returns a compress_id plus a summary. It does not warn that repeated calls with the same text create separate entries, which is the main behavioral gap for a non-idempotent write.

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?

Three short sentences, front-loaded with the action and resource, then behavior, then the sibling hand-off. No filler and nothing repeated from the title alone.

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?

There is no output schema, and the description compensates by naming the return values (compress_id, summary). For a 3-parameter write tool with annotations present this is nearly complete; the unaddressed pieces are what cycles controls and whether storing the same text twice is safe.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents text, label, and cycles, and the baseline is 3. The description reinforces the text parameter ("any length... processed in chunks") but says nothing about label or what a cycle count means, so it adds only marginal meaning beyond 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?

"Save text to the user's Tzivia memory" is a specific verb plus resource, and the enumeration of content types (notes, decisions, preferences, documents, conversation excerpts) makes the scope concrete. It also names tzivia_recall as the retrieval counterpart, so an agent can separate it from siblings 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?

The clause "the user wants kept" gives a clear condition for calling this, and the final sentence explicitly routes retrieval to tzivia_recall. It stops short of saying when to prefer other write-ish siblings (tzivia_feedback, tzivia_synthesis) or when not to call it, so not a full 5.

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.