Skip to main content
Glama
spacetimedb-mcp

spacetimedb-mcp

describe_database

Retrieve metadata about a named SpacetimeDB database to inspect its schema and structure before querying or managing it.

Instructions

Get metadata about 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": "describe_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.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses almost nothing beyond the implied read. It doesn't say whether the caller needs permissions, what happens if the database is missing, the shape or size of the metadata returned, or whether the response is bounded.

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?

One short sentence with no filler, and the verb and resource are front-loaded. Its brevity reflects under-specification rather than wasted wording, which is penalized in other dimensions.

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?

There is no output schema, so the description must explain what "metadata" actually contains, and it doesn't. For a tool whose whole value is the shape of its return value, an agent cannot predict the result from this definition.

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 a single parameter at 100% schema coverage, and the schema already documents both its type and the "required if no default is set" caveat. 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?

"Get metadata about a database" names a verb (get) and resource (database), so the basic intent is clear. But "metadata" is undefined, and siblings like get_schema and get_database_identity suggest overlapping concerns; the description gives no basis for telling them apart.

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?

No when-to-use guidance at all: nothing says which situations call for describe_database versus get_schema, get_database_identity, or list_databases. Any routing decision is left entirely to inference from sibling names.

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