Skip to main content
Glama
DataPilot MCP

DataPilot MCP

Get database overview

get_database_overview
Read-only

Summarize a database connection's discovered schema with table, view, and foreign-key counts, largest tables, and discovery time to gauge scope before listing tables or relationships.

Instructions

Summarize the discovered schema for one connection: table, view and foreign-key counts, largest tables, and discovery time. Use this first to gauge scope, then list_tables for individual names or describe_relationships for join keys. Uses cached metadata. Call refresh_schema after a migration.

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": "get_database_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasNoAlias from list_connections. Omit only when exactly one database is open.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • addedInput schema / properties / alias / description
      Added value: +"Alias from list_connections. Omit only when exactly one database is open."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish this as a safe read (readOnlyHint=true, destructiveHint=false, closed-world), so the bar is lower. The description adds genuinely useful behavior beyond them: results come from cached metadata, and refresh_schema is required after a migration for accuracy. It stops short of describing staleness cues or error behavior when an alias is invalid.

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?

Four short sentences, front-loaded with purpose, then routing, then cache note, then refresh caveat. No sentence is redundant, and the alternation guidance is compacted into one line.

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

Completeness5/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-value detail is not required, yet the description still summarizes the payload. With safety covered by annotations and the single param fully documented in schema, an agent has everything needed to call this correctly and in the right order.

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 parameter and schema description coverage is 100%, with the schema itself explaining the alias source (list_connections) and the omit condition. The description's "for one connection" reinforces but does not extend that meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ("Summarize") and resource ("discovered schema for one connection") and enumerates exactly what is returned: table/view/FK counts, largest tables, discovery time. This is clearly distinguishable from list_tables and describe_relationships, which it names.

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

Usage Guidelines5/5

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

Gives explicit sequencing guidance ("Use this first to gauge scope"), names the two alternatives with the conditions that select them (list_tables for individual names, describe_relationships for join keys), and adds a refresh condition after migrations.

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