Skip to main content
Glama

list-schemas

Read-only

Lists schemas, databases, or jobs for a target server instance and resolves its login from the encrypted store, so requests carry no password.

Instructions

dbabrain common.cli list-schemas: One instance's databases, schemas or jobs listed. server_id (or target) names the server; its connection or host login is completed from this node's inventory and encrypted secret store, so a request carries no password. Request fields (pass them as request):

  • target: The machine or instance: a server_id, or <db_type> <ip>[:port].

  • credential_name: Which login in users.json; default: the instance's own.

  • sql_access: How to reach the SQL engine, overriding the instance's block.

  • database_name: One database.

  • include_system: Include system objects.

  • enabled_only: list-jobs: only enabled jobs.

  • timeout_seconds: How long to wait.

  • key: The secret-store passphrase, when not in the environment.

  • key_base64: The same, base64.

  • connection: The database login, complete: db_type, host, port, username, password - and, where they apply, database, instance_name, service_name, sqlserver_driver, sqlserver_tls_verify and sql_access (the 8i bridge); server_id an...

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list-schemas"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint, so the safety profile is covered. The description adds genuinely useful context beyond that: the connection/login is resolved from this node's inventory and encrypted secret store so no password travels in the request, and the optional key/key_base64 fields gate secret-store access. It does not disclose pagination, volume limits, or how ambiguous requests across an instance are resolved.

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 purpose sentence is front-loaded, which is good, but the body is a dense field dump that partly duplicates what a typed schema would normally hold, and the text is truncated. Size is defensible given 0% schema coverage, but the truncation and run-on punctuation weaken clarity.

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?

An output schema exists, so return values need not be described, and auth behavior is covered by the no-password statement. However, the field documentation is truncated and the tool's multi-mode nature (databases vs schemas vs jobs) is never reconciled with the siblings, which leaves an agent guessing which mode and tool to pick.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema is just an untyped 'request' object with additionalProperties true, so the description is the only source of field semantics. It enumerates target, credential_name, sql_access, database_name, include_system, enabled_only, timeout_seconds, key, key_base64 and connection with explanations, which is substantial compensation, though the list is cut off mid-sentence ('server_id an...') and leaves connection sub-fields partly unexplained.

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 opening states a resource-oriented purpose ('One instance's databases, schemas or jobs listed'), which is specific enough to know it enumerates inventory objects, but it collides conceptually with siblings like list-databases and list-jobs without explaining how it differs. The name says schemas while the description says databases, schemas or jobs, leaving the exact scope ambiguous.

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 statement of when to use this tool versus list-databases, list-jobs or list-targets, and no prerequisites or exclusions. The only implied guidance comes from individual request fields such as 'enabled_only: list-jobs', which hints at multi-mode behavior rather than proper usage framing.

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