Skip to main content
Glama

Forget a session

forget_session

Permanently deletes a session's stored original values from the vault, making its tokens unrestorable.

Instructions

Delete a session's stored originals now. Its tokens can no longer be restored.

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

Input Schema

NameRequiredDescriptionDefault
session_idYesSession to delete from the vault

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior1/5

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

The annotations declare destructiveHint=false, yet the description explicitly says it deletes stored originals permanently and that tokens can never be restored — the definition of a destructive, irreversible operation. This is a direct conflict with the structured safety signal, which could lead an agent to call it under a false assumption of reversibility.

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?

Two short sentences, front-loaded with the action and followed by the consequence. Nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. However, for an irreversible deletion tool the description is thin: it never reconciles the permanence claim with the non-destructive annotation, nor explains what 'stored originals' versus 'tokens' implies for the caller's subsequent state.

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?

There is only one parameter and the schema documents it fully (100% coverage: 'Session to delete from the vault'). The description adds minor domain framing ('stored originals', 'tokens') but no new syntax or format detail, so the schema carries the semantics.

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

Purpose4/5

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

The description uses a specific verb and resource — 'Delete a session's stored originals' — so an agent knows exactly what the tool removes. It does not, however, differentiate itself from adjacent tools such as restore or redact, which operate on the same sessions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'now' and 'tokens can no longer be restored' imply that this is a permanent, immediate operation, giving implicit guidance about when to choose it. There is no explicit statement of when to use this versus restore/redact, nor of any preconditions for deletion.

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