Skip to main content
Glama
spacetimedb-mcp

spacetimedb-mcp

delete_database

Deletes a SpacetimeDB database by name, removing unused instances and freeing managed resources.

Instructions

Delete a database.

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": {
      "database": "<database>"
    },
    "name": "delete_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseYesThe database name. Required if no default is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. The word "Delete" implies a destructive, likely irreversible mutation, but there is no statement about permanence, cascade effects on aliases/identities, required permissions, or confirmation requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is free of waste and front-loaded, but its brevity reflects under-specification rather than discipline. For a destructive operation, more content would have earned its place.

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?

Given a destructive mutation with zero annotation coverage and no output schema, the definition is not complete enough: an agent cannot tell whether the deletion is permanent, what it affects, or what happens on a nonexistent or default database. The only well-covered element is the single parameter, which the schema already handles.

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?

With a single parameter and 100% schema description coverage, the schema already explains that "database" is the database name and is required when no default is set. The description adds no meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb and resource ("Delete" + "a database"), so an agent knows the basic action. However, it adds nothing beyond the tool name and gives no scope (which database, whether it must exist, whether it targets a local or remote instance), and it does not differentiate from siblings such as describe_database or list_databases.

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 prerequisites, and no mention of alternatives or safer paths (e.g., describe_database to confirm the target first). The agent is left to infer everything about the appropriate context for a destructive call.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.