Skip to main content
Glama
0gm-memory

0gm-memory

Official
by 0gfoundation

Ask project memory

ask_memory
Read-only

Search long-term project memory for past agent sessions and return dated verbatim quotes relevant to a specific, self-contained question.

Instructions

Search this project's long-term memory (0GM-CMSA memory holding past agent sessions). Returns VERBATIM quotes of the relevant past messages, each with its session date, or NO RELEVANT MESSAGES. It does not answer: reason over the quotes yourself. Slow (seconds on a small wallet, up to about 100 s on a large one) and costs about $0.003 to $0.03 per call, so ask one specific, self-contained question rather than many small ones. Recent sessions may still be buffered locally; matches from the buffer are listed separately.

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": {
      "query": "<query>"
    },
    "name": "ask_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesWhat to look for: a specific description of the past messages you need, with any names, files or identifiers you know.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds latency (seconds to ~100 s), monetary cost per call ($0.003–$0.03), the exact return shape (verbatim quotes plus session date, or NO RELEVANT MESSAGES), and a buffering caveat. That is substantive behavior beyond what structured fields provide, and nothing contradicts the annotations.

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?

Everything is front-loaded: purpose, return format, then cost/latency constraints, then the buffer caveat. No sentence is filler, though the dense stacking of clauses in one paragraph costs a little readability.

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?

There is no output schema, so the description must describe returns and it does so precisely, including the empty-result case and separately listed buffer matches. For a one-parameter search tool this leaves nothing an agent needs 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 coverage is 100% and the single query parameter is already documented, so the baseline is 3. The description still adds real guidance on how to shape the query (one specific, self-contained question with names/files/identifiers), which meaningfully raises it above the schema alone.

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?

"Search this project's long-term memory ... holding past agent sessions" gives a specific verb and a scoped resource, and the description immediately bounds the scope with "It does not answer: reason over the quotes yourself." An agent can tell this apart from a status or write tool without opening any 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?

It states how to use the tool well ("ask one specific, self-contained question rather than many small ones") and implies cost/latency tradeoffs that argue against many small calls. It never names memory_status or save_session as alternatives, so the when-not-to-use routing is left to inference.

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

Deploy Server

Other Tools