Skip to main content
Glama

Delete a scenario

delete_scenario
Destructive

Permanently delete one of your own saved scenarios and the runs kept with it, as the website's delete does. It cannot be undone. Only the person who saved a scenario can delete it; projects and their data cannot be deleted with these tools. Tell the user the scenario's name and ask them to confirm before calling it.

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": {
      "scenario_id": "<scenario_id>"
    },
    "name": "delete_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
scenario_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds material detail beyond them: the deletion is irreversible, associated runs are destroyed too, an ownership authorization constraint applies, and a user-confirmation protocol is mandated before invocation.

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?

The irreversible consequence and ownership scope are front-loaded, which is the right order for a destructive tool. Four sentences are mostly load-bearing, though 'as the website's delete does' adds little for an agent that has no website context.

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 single-parameter destructive tool with no output schema, the description covers everything an agent needs: what is removed, that it is permanent, who may do it, what is out of scope, and the confirmation requirement.

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 one parameter with 0% schema description coverage, and the description only implies that scenario_id names one's own scenario; it adds no format, range, or sourcing hint (e.g. where to obtain the id, such as from list_scenarios).

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?

States a specific verb (permanently delete) and resource (a saved scenario) plus scope qualifiers: only one's own, and the runs stored with it. Distinguishes deletion of scenarios from deletion of projects in the same sentence.

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?

Gives both a when-to-use condition (own saved scenario) and an explicit when-not-to (projects and their data cannot be deleted with these tools), plus a required pre-call step: tell the user the name and get confirmation.

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