Skip to main content
Glama

brain_state_delete

Delete exactly one structured record by specifying its type and key. Use it to remove a single stored entry without affecting other records in your second brain.

Instructions

Delete one structured record by exact type+key.

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": {
      "type": "<type>",
      "key": "<key>"
    },
    "name": "brain_state_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

C2.6/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 disclosure burden for a destructive mutation. It does imply single-record scope and exact-match targeting (no wildcards or bulk delete), but says nothing about irreversibility, permission/auth requirements, or behavior when the record does not exist.

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?

One short sentence with the scope constraint front-loaded and no filler. Nothing in it is redundant or padded.

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?

For a destructive, unannotated tool with zero parameter documentation and no output schema, the definition is too thin. It omits outcome/error behavior and any confirmation of what state is destroyed, leaving meaningful gaps an agent would need filled.

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%, so the two parameters are undocumented everywhere. The word "exact" hints that match is exact rather than prefix or pattern-based, but the valid values or expected format of "type" and the meaning of "key" are never clarified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete one structured record" names a clear verb and resource, and "by exact type+key" adds the matching basis. However, it never distinguishes this from the many sibling mutation tools (e.g. brain_forget, brain_remember), so an agent cannot tell from the text alone when this is the right deletion path.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites, and no named alternative for deleting other kinds of state. The agent must infer that this applies only to structured records addressed by type+key.

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