Skip to main content
Glama

Mnemos: memory for AI agents

Close the space

mnemos_close_space
Destructive

Close this space for good: every memory is deleted, the key stops working and credits left are dropped. Needs confirm: "close". Export first if you want a copy. Free.

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": {
      "confirm": "<confirm>"
    },
    "name": "mnemos_close_space"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour space key (mk_...). Only needed if your client cannot send the Authorization header.
confirmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds genuinely new behavioral facts: everything is destroyed, the key becomes unusable, unused credits are forfeited, a confirm token is mandatory, and the call is free. These are exactly the side effects an agent needs before invoking an irreversible operation, and none of them are recoverable from the annotation block.

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 irreversible outcome, then the required token, then the alternative and cost. Every sentence carries distinct information with no restatement of the name or title.

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 two-parameter destructive tool with no output schema, the description covers consequences, the confirm requirement, the cost, and the safer alternative path. Nothing an agent needs in order to decide or to call it correctly is missing.

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 only 50%, with the 'key' parameter documented in-schema but 'confirm' carrying just an enum. The description compensates by stating the required token value ('Needs confirm: "close"'), turning the enum into an actionable instruction, though it does not restate when the 'key' fallback is needed.

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 names a specific verb and resource ('Close this space for good') and immediately enumerates the concrete consequences: memory deletion, key invalidation, credit loss. That is enough for an agent to distinguish this terminal operation from siblings such as mnemos_export or mnemos_forget 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 gives a clear pre-condition ('Export first if you want a copy'), routing the agent to the export sibling before committing, and the consequence list makes the irreversible nature obvious. It stops short of explicitly stating when not to close or naming the alternative tool, so it is strong context rather than a full decision rule.

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