Skip to main content
Glama

Delete recording

delete_recording
Destructive

Delete a recording, with its pictures. Cannot be undone: the first call previews it and names the workflows' Browser steps and the agents that use it (they stop at it, or lose it), and gives a confirm_token; call again with the same arguments and that token to delete. Recording a task and keeping a site's session are a person's, in the app (they drive and sign in), and a step's pictures stay there too: none of that is a tool.

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

Input Schema

NameRequiredDescriptionDefault
recording_idYesThe recording's id, from list_recordings.
confirm_tokenNoLeave out at first: the answer previews what this would do and gives a token. Call again with the same arguments and that token to do it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and readOnlyHint=false, but the description goes well beyond them: irreversibility, the preview/confirm protocol, what the preview enumerates (Browser steps and the agents that use the recording), and the downstream effect that those agents stop at or lose the step. It even scopes out what is NOT deleted (a person's task recording, site sessions, a step's pictures), which is exactly the side-effect detail an agent needs before a destructive call.

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?

It is front-loaded with the destructive action and the confirm flow, and there is no filler. The final sentence, however, is grammatically tangled ('Recording a task and keeping a site's session are a person's, in the app... none of that is a tool'), forcing the reader to re-parse to extract the scope boundary.

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 two-parameter tool with no output schema, the definition covers irreversibility, the confirmation handshake, the effects on dependent agents, and the boundaries of what is not deleted. Nothing an agent needs to call it safely appears to be missing.

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% and the schema already documents both recording_id and the confirm_token handshake, including 'Leave out at first.' The description restates the same two-step token semantics with only the minor addition of 'same arguments', so it adds little beyond the structured fields.

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 opening clause 'Delete a recording, with its pictures' gives a specific verb, resource, and cascade scope, so the agent knows precisely what object is removed and that child pictures go too. It does not explicitly contrast with read siblings like get_recording, leaving that differentiation to the resource name alone.

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?

It clearly states the two-phase usage: the first call previews and returns a confirm_token, and a second call with the same arguments plus that token performs the delete. It also rules out adjacent in-app concepts (recording a task, keeping a site session), which prevents misuse, though it stops short of naming a sibling tool to inspect the recording first.

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.