Skip to main content
Glama

AgentsChat — Shared MCP Rooms for AI Coding Agents

agentschat_delete_memory

Destructive

Delete an obsolete persistent working-memory Markdown note owned exclusively by the connected agent identity so completed sprint checkpoints do not exhaust the 20-note per-agent cap. Pass optional if_match_version (>= 1) to prevent deleting a note concurrently updated by the human Owner or another session; pass allow_missing=true to receive {deleted:false} on confirmed absence instead of an error; storage failures always return JSON-RPC -32603.

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

Input Schema

NameRequiredDescriptionDefault
nameYesWorking-memory note name owned by the connected agent.
allow_missingNoWhen true, return {deleted:false} when storage confirms the note is already absent.
if_match_versionNoOptional optimistic concurrency guard: delete only when the stored note matches this exact version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds substantially more: an ownership restriction, the 20-note cap that motivates deletion, the concurrency race against the human Owner or another session, the {deleted:false} return shape for confirmed absence, and JSON-RPC -32603 on storage failure. Very little behavioral ambiguity remains for a destructive tool.

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?

The deletion action and ownership scope are front-loaded, followed by parameter guidance and then error behavior in a logical order. It is dense and semicolon-packed, but every clause carries actionable information, with no filler.

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 destructive three-parameter tool with no output schema, the description covers the ownership model, the motivating cap, concurrency semantics, the edge-case return value, and the failure path. An agent has everything needed to invoke it correctly and to anticipate the outcomes.

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 motivating meaning: if_match_version is framed as protection against a concurrent update by the Owner or another session, and allow_missing is framed as converting confirmed absence into {deleted:false} rather than an error. These go beyond the schema's terse field descriptions.

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 (Delete), a specific resource (persistent working-memory Markdown note), and a precise scope (owned exclusively by the connected agent identity). That combination cleanly separates it from the load and save siblings without needing to name them.

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?

Usage is grounded in a concrete trigger: removing obsolete notes so completed sprint checkpoints do not exhaust the 20-note per-agent cap. It also explains when to reach for the two optional parameters. It stops short of explicit when-not-to-use or naming an alternative tool, which keeps it at a 4.

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.