Skip to main content
Glama
dbadmin-mcp

dbadmin-mcp

by legavaz

db_overview

Inspect a PostgreSQL database's version, size, table count, shared_buffers, connections, and pg_stat_statements availability. Use it to assess server health before deeper diagnostics.

Instructions

Обзор базы: версия, размер, число таблиц, shared_buffers, соединения, наличие pg_stat_statements.

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_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionNoid подключения

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the content of the response, which implies a cheap read-only inspection, but it never explicitly states read-only behavior, permission requirements, or the cost of sampling pg_stat_statements/pg_stat views. That leaves a meaningful gap for a zero-annotation tool, though the field enumeration is real added value.

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?

A single tightly packed sentence with zero filler, front-loading the resource and then listing the returned facts. Nothing is padded and nothing meaningful is omitted for its length.

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 simple read-only overview with one optional, fully documented parameter and no output schema, the enumeration of return fields compensates well for the missing output schema. The only gaps are explicit read-only framing and differentiation from db_health.

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?

Only one optional parameter (connection id) exists and the schema description coverage is 100%, so the schema already documents it. The description adds nothing about connection semantics, such as defaulting to the current connection, so the baseline 3 applies.

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 resource (database) and an overview verb, then enumerates exactly what is returned: version, size, table count, shared_buffers, connections, pg_stat_statements presence. An agent knows precisely what data this yields, though it never distinguishes itself from the sibling db_health, which could plausibly overlap.

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 explicit when-to-use guidance, no prerequisites, and no mention of alternatives such as db_health or slow_queries. Usage is only implied by the word 'overview', leaving the agent to infer that this is a first-look diagnostic call.

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