Skip to main content
Glama

getSchemaSummary

Read-only

Retrieve a schema summary for the active or specified connection, filtering by schema or table and paging results with offset and limit to explore large databases.

Instructions

Read schema summary for a connection (the active one unless connectionId is given). Use schema/table filters and offset/limit to page large databases.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
tableNo
offsetNo
schemaNo
connectionIdNoConnection id from listConnections. Omit to use the active connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.24.2
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  2. First observedv0.24.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish readOnlyHint=true and destructiveHint=false, so the safe-read behavior is covered. The description adds useful context that connectionId defaults to the active connection and that offset/limit support paging for large databases, but it does not explain what the schema summary contains or describe return behavior.

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?

The description is two compact sentences with the core purpose front-loaded. Every phrase earns its place by covering connection defaulting, filters, and pagination without unnecessary wording.

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?

There is no output schema, and the description does not say what the schema summary returns or how paginated results are structured. It covers the call parameters and safe-read context adequately, but leaves a meaningful gap about the result an agent should expect.

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 description coverage is only 20%, so the description must compensate for undocumented parameters. It does so reasonably by naming schema/table as filters, offset/limit for paging, and connectionId as defaulting to the active connection, giving each parameter a clear role beyond the bare schema.

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?

The description states a specific verb and resource: 'Read schema summary for a connection.' It clarifies that the active connection is used unless connectionId is given, but it does not explicitly differentiate this tool from siblings such as getTableIndexes or getActiveConnectionContext.

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 provides operational guidance to use schema/table filters and offset/limit for large databases, which implies when the parameters matter. However, it does not state when to choose this tool over alternatives like getActiveConnectionContext or getTableIndexes, nor does it give exclusions.

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