Skip to main content
Glama
spacetimedb-mcp

spacetimedb-mcp

get_database_aliases

Retrieve all aliases assigned to a specific SpacetimeDB database identity to identify the alternative names that reference it.

Instructions

List aliases for a database identity.

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": {
      "identity": "<identity>"
    },
    "name": "get_database_aliases"
  }
}

Input Schema

NameRequiredDescriptionDefault
identityYesThe database identity

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.9/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 disclosure burden, yet it only implies a read via the verb "List". It says nothing about whether the call fails for an unknown identity, whether results are paginated, or whether aliases include recently deleted entries.

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. It is efficient, though the phrase "database identity" could be sharpened to reference the identifier format returned by get_database_identity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a one-parameter listing tool with full schema coverage and no output schema, since return shape need not be explained. It falls short on error behavior and the definition of an alias, which an agent would still need to know.

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 coverage is 100% and the single parameter is documented as "The database identity," so the description adds no meaning beyond the schema. Baseline 3 applies for a fully covered single-parameter tool.

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 and resource ("List aliases") scoped to a database identity, so the agent knows exactly what is returned. It does not distinguish itself from the related add_database_alias sibling, which is the only thing keeping it from a 5.

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, no prerequisites, and no mention of when the alternative add_database_alias would be appropriate instead. The agent must infer the read-vs-write split purely from the verb.

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