Skip to main content
Glama

db-status

Read-only

Check instance, database, or schema health using a server ID; logins resolve from DBA Brain's encrypted store, so requests carry no passwords.

Instructions

dbabrain common.cli db-status: How deep to check an instance. 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].

  • depth: instance | database | schema.

  • database_name: One database.

  • database_names: Which databases, at depth database.

  • 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": "db-status"
  }
}

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=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the connection or host login is completed from the node's inventory and encrypted secret store, so the caller need not send a password. It does not say what the check actually evaluates or what happens on an unreachable host.

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 bulleted request-field list is a sensible structure, but the opening restates the tool name and the text ends in a dangling fragment ('server_id an...'), leaving an incomplete sentence in the definition. Several phrasings are dense and front-loading is weak — the core purpose sits in a single vague line.

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 explained, and the credential-resolution behavior is covered. However, the description is truncated, never explains what 'status' comprises or how depth changes the result, and leaves a parameter-level gap where the connection description breaks off.

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 single `request` object is untyped (`additionalProperties: true`), so the description carries the full burden. It does this reasonably well, enumerating target, depth, database_name, database_names and the full connection sub-fields (db_type, host, port, username, password, instance_name, service_name, sqlserver_driver, sqlserver_tls_verify, sql_access) with glosses. The enumeration is cut off mid-sentence, so some meaning is lost.

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 description opens with a restatement of the tool name in backticks, followed by 'How deep to check an instance', which gestures at a health/status probe over an instance, database, or schema. A verb and resource are present but the scope is muddled, and nothing distinguishes it from siblings like check-objects or check-credentials.

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?

The 'depth' field enumerates instance | database | schema, which implies when each mode is used, but no sentence says when to call db-status rather than the sibling check tools or list-databases. There are no stated prerequisites, exclusions, or alternatives.

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