Skip to main content
Glama

list_databases

Retrieves all databases in a specified workspace, including their metadata and row counts, to help AI assistants inspect available data structures.

Instructions

List all databases in a workspace with their metadata and row counts.

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": {
      "workspace": "<workspace>"
    },
    "name": "list_databases"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceYesWorkspace path or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: "List" signals a read-only operation and the mention of "metadata and row counts" usefully discloses what comes back. It says nothing about permissions, whether large workspaces are truncated or paginated, or how costly the call is, which are real gaps for an unannotated tool.

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 front-loaded sentence with no filler, and the scope qualifier appears before the return-value clause. It is efficient rather than padded, though it is short enough that it could have added one clarifying clause at no structural cost.

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

Completeness4/5

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

For a one-parameter list tool with no output schema, the description covers the essential contract: scope, and that results include metadata plus row counts. The remaining omissions, pagination and permission requirements, are minor for this complexity level but not zero.

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 with 100% schema description coverage ("Workspace path or name"), so the schema already documents it fully. The description restates the workspace scope but adds no format, path syntax, or resolution behavior beyond what the schema provides, making 3 the correct baseline.

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?

The description names a specific verb and resource ("List all databases") plus the scope ("in a workspace") and the payload ("metadata and row counts"). It implicitly distinguishes itself from the single-resource read_database, but never names that sibling explicitly, so the differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "List all databases in a workspace" implies the enumeration use case, so an agent can infer it is for discovery rather than for fetching one database's contents. However, no explicit when-to-use or when-not guidance is given, and no alternative (e.g. read_database for a single item) is named.

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