Skip to main content
Glama

unfour.db.list_catalogs

unfour.db.list_catalogs
Read-onlyIdempotent

Lists database catalogs for a saved connection in the selected workspace via CommandBus; no ad-hoc credentials are accepted.

Instructions

Lists catalogs for a saved database connection through CommandBus. The connection must belong to the selected workspace; accepts no ad-hoc credentials.

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": {
      "connectionId": "<connectionId>"
    },
    "name": "unfour.db.list_catalogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceIdNo
connectionIdYes

Output Schema

NameRequiredDescriptionDefault
catalogsYes
connectionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still adds real context beyond them: the call is brokered through CommandBus, requires a persisted connection, and cannot take inline credentials, which explains why failures may occur. Return shape is left to the output schema.

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

Conciseness5/5

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

Two short sentences with the action first and the constraint second; no filler, no repetition of the title, and nothing an agent must read past to find the operative information.

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 two-parameter read-only list tool with an output schema and full annotation coverage, this is close to sufficient: it establishes what is listed, what connection is required, and the credential model. The remaining gap is the workspace/connection parameter relationship, which the schema leaves undocumented.

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 0% for two parameters, so the description must compensate. It does partially: it clarifies that connectionId refers to a saved connection and ties it to the workspace scope, but it never explains the relationship or defaults between workspaceId and connectionId, nor any ID format.

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 ('Lists catalogs') scoped to 'a saved database connection through CommandBus', which distinguishes it from siblings like list_tables and list_connections. It stops short of explicitly naming how it differs from those siblings, but the resource is unambiguous.

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 description gives a precondition ('connection must belong to the selected workspace') and rules out a path ('accepts no ad-hoc credentials'), which implies that a saved connection is a prerequisite. It never states when to prefer this over other list tools or what to do if the connection is not saved.

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

Deploy Server

Other Tools