Skip to main content
Glama

MagicInterview: delete turns

magicinterview_delete_turns
Destructive

Delete selected turns from one conversation.

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": {
      "conversationId": "<conversationId>",
      "turnIds": "<turnIds>"
    },
    "name": "magicinterview_delete_turns"
  }
}

Input Schema

NameRequiredDescriptionDefault
turnIdsYes
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered structurally. The description adds the scoping fact that deletion is confined to 'one conversation' and limited to 'selected' turns, which is useful, but it says nothing about irreversibility, whether remaining turns are reindexed, or what happens if an ID is unknown.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity borders on under-specification given the destructive nature of the operation.

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 mutation with no output schema and 0% schema description coverage, the definition is too thin. An agent cannot tell from it whether deletions are reversible, whether partial failure is possible, or how the turn IDs should be obtained, all of which matter before calling a destructive tool.

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 description carries the full burden, yet it only obliquely gestures at the two parameters ('one conversation', 'selected turns') without explaining them. It never clarifies that turnIds are identifiers rather than positions, that the array is capped at 100 non-empty strings, or how invalid IDs are handled — meaning the agent learns nothing beyond the parameter names.

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 ('Delete') and resource ('turns from one conversation'), which distinguishes it from the sibling delete_conversation (whole conversation) and append_turns (additive). The scope word 'selected' makes clear it is a partial, targeted removal rather than a bulk wipe, though no sibling is named explicitly.

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 guidance, no mention of alternatives such as magicinterview_delete_conversation or magicinterview_clear_conversation, and no prerequisites (e.g., needing valid turn IDs from a prior get_conversation call). The agent must infer the selection logic entirely from the name and schema.

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.