Skip to main content
Glama

Delete Recorder Session

delete_recorder_session
DestructiveIdempotent

Forget one saved login. Pick it by sessionId (from list_recorder_sessions). domain still works but only when the site has one session; with several it fails with a conflict that lists them, so ask the user which one and delete by id. Deleting the site's default makes its most recently used remaining session the new default. With no session left, recordings on that site have to sign in again.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_recorder_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoe.g. app.example.com. Only works when the site has a single session
sessionIdNoSession id from list_recorder_sessions. Preferred: a site can have several sessions

Output Schema

NameRequiredDescriptionDefault
idNo
domainNo
deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value beyond them: default-session reassignment to the most recently used remaining session, and the downstream effect that recordings on that site must sign in again once no session remains. The conflict error behavior is also disclosed, though the failure mode's exact response shape is left to the output schema.

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?

Four compact sentences, front-loaded with the primary action and the preferred parameter, then consequences. No filler and no repeated annotation content.

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?

Both optional parameters are covered in prose and schema, consequences of deletion are stated, and an output schema exists so return values need not be described. Nothing an agent needs in order to call this 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 100%, so baseline would be 3, but the description adds meaning the schema does not: domain is a fallback that fails with a conflict listing sessions when ambiguous, and sessionId is the preferred key because sites can have multiple sessions. That is genuine selection guidance rather than restated property text.

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?

Opens with a concrete verb+resource ('Forget one saved login') and immediately names the identifier to use. It is clearly distinct from list_recorder_sessions, which it references as the source of the id.

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

Usage Guidelines5/5

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

Explicitly states the preferred path (sessionId) and the conditional fallback (domain works only for single-session sites). It also prescribes the resolution path on the multi-session conflict: ask the user which one and delete by id.

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