Skip to main content
Glama

forget_session

Remove the saved record of an exited, stopped, or lost session to keep session tracking clean.

Instructions

Remove the saved record of an exited, stopped, or lost session.

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

Input Schema

NameRequiredDescriptionDefault
idYesSession id.

Output Schema

NameRequiredDescriptionDefault
okYes
stderrYes
stdoutYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully signals that only the saved record is removed rather than the live session, which is real behavioral context for a destructive-sounding tool. However, it does not say whether the removal is permanent/irreversible, whether the transcript or output is also discarded, or what permissions are required.

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 front-loaded sentence with zero filler; the important scope qualifier ('saved record') arrives immediately, and the state restriction is packed into a compact list rather than a second sentence.

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

Completeness4/5

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

This is a simple one-parameter tool with an output schema, so return values need no explanation, and the description covers the core scope and state precondition. It falls short only on irreversibility and error behavior for an id that is active or unknown, which an agent would want before calling a removal tool.

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?

Schema coverage is 100% for the single required 'id' parameter, which is already documented as 'Session id.' The description adds no format, validation, or edge-case detail (e.g. behavior for unknown or still-running ids) beyond what the schema provides, so the baseline applies.

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?

States a specific verb ('Remove') and a precisely scoped resource ('the saved record of a ... session'), which implicitly distinguishes it from stop_session (which would end a live session) by talking about the persisted record. It never names a sibling outright, so an agent must infer the boundary from the state qualifier rather than being told.

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?

The qualifier 'exited, stopped, or lost' implies a precondition: the session must already be non-running, so an agent should stop it first. There is no explicit when-not guidance and no named alternative for cleaning up running sessions, leaving the usage rule suggestive rather than stated.

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