Skip to main content
Glama

Delete Simulation

simulation.delete
DestructiveIdempotent

Permanently delete an owned temporary anonymous demo simulation and its metrics, events, failures, and capability. This is the explicit way to free a simulation slot; deletion is irreversible, while the existing demo TTL remains the safety net for abandoned simulations. Prerequisite: a simulationId from simulation.create, or an active simulation in the preserved MCP session. The likely next tool is simulation.create to use the freed slot. A successful response is { deleted: true, id }; failed ownership checks do not delete or revoke anything. Authenticate with an API key to unlock all 61 tools and persistent simulation management.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
simulationIdNoSimulation ID returned by simulation.create. Preserve Mcp-Session-Id to omit this field and use the session's current simulation; if your connector starts a fresh MCP session for each call (for example Grok Bot or Cursor), pass this explicit ID after every fresh initialization. A fresh session has no current-simulation pointer and returns NO_ACTIVE_SIMULATION when the ID is omitted. Anonymous capabilities are short-lived (30 minutes by default), unguessable, and revoked when the demo expires or is deleted; proxy IP changes do not invalidate them. Do not treat the ID as a durable share link.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID of the deleted simulation
deletedNoTrue when the simulation was deleted
simulationIdNoID used for the deletion
simulationIdSourceNo

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already supply destructiveHint=true and idempotentHint=true, and the description adds substantial context beyond them: deletion is irreversible, it cascades to metrics, events, failures, and capability, failed ownership checks 'do not delete or revoke anything' (a benign failure mode), and there are session dependencies. No contradiction with the annotations exists.

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 description is front-loaded with the purpose, and each substantive sentence earns its place: irreversibility, TTL contrast, prerequisites, failure behavior, and the next-step recommendation are all functional. The closing sentence about authenticating with an API key and 'unlock all 61 tools' is mildly promotional, which keeps this from a 5.

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 tool with one optional parameter, a rich input schema, and an output schema, the description covers the full decision space: what gets destroyed, irreversibility, prerequisites, session modes, ownership-failure semantics, and the freed-slot workflow. An agent has everything needed to call it correctly and safely.

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 description coverage is 100% and the simulationId parameter description is already exhaustive, covering session preservation, fresh-session NO_ACTIVE_SIMULATION errors, anonymous capability TTL, proxy IP behavior, and the do-not-treat-as-share-link warning. The tool description adds only the prerequisite framing, so the schema rightfully carries the parameter burden.

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?

The first sentence specifies a precise verb and resource: 'Permanently delete an owned temporary anonymous demo simulation and its metrics, events, failures, and capability.' It states both the action and the full scope of what is deleted, which cleanly separates it from sibling tools like simulation.create, simulation.step, and simulation.metrics. The 'explicit way to free a simulation slot' framing further anchors its role in the lifecycle.

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?

The description tells the agent when to use this tool ('the explicit way to free a simulation slot'), contrasts it with the demo TTL as the safety net for abandoned simulations, and states the prerequisites (a simulationId from simulation.create, or an active simulation in the preserved session). It also names the likely follow-up tool, simulation.create, though the when-not-to-use guidance is implicit rather than an explicit exclusion.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Every tool targets a distinct step in the scenario/simulation workflow: catalog vs. hydrated graph, create vs. delete, traffic vs. failure injection, metrics vs. step, and recovery. The descriptions even call out look-alike pairs (e.g., simulation.metrics vs. simulation.step) to prevent misselection.

Naming Consistency4/5

The noun.action pattern with scenario.* and simulation.* prefixes is clear and consistent, and multi-word actions use snake_case. The only deviation is simulation.metrics, which uses a noun rather than an imperative verb like get_metrics or read_metrics, though it remains predictable.

Tool Count5/5

Nine tools is a well-scoped size for a demo simulation server: two for scenario discovery, one creation/one deletion, and five for operating/observing a simulation. No tool feels redundant or superfluous.

Completeness4/5

The core lifecycle is covered end to end: discover scenarios, create a simulation, inject load/failures, step, read metrics, recover, and delete. However, the descriptions repeatedly reference a simulation.get tool that is not present in the set; simulation.metrics mostly substitutes, but that documentation gap makes the surface slightly incomplete.

Resources