Skip to main content
Glama
SignOff Studio MCP server

SignOff Studio MCP server

Show database schema

db_schema
Read-onlyIdempotent

Retrieve a compact, one-line-per-table schema before writing SQL so column names and relationships are correct. Filter by schema or table name; read-only.

Instructions

Returns a compact schema, one line per table: orders(id integer pk, user_id integer not null fk→users.id, total numeric, …). Filter by schema and table name (substring). Use it before writing SQL so column names are right. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
tableNoOnly tables whose name contains this text
schemaNoSchema (default: the connection's, else public / dbo / main / the database)
maxTablesNoDefault 40
connectionNoName or id; optional when there is one

Output Schema

NameRequiredDescriptionDefault
driverYes
schemaYes
tablesYesOne line per table: name(column type [pk] [not null] [fk→table.column], …); views marked [view]
truncatedNoPresent when more tables matched than maxTables
connectionYes
totalTablesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so "Read-only" in the description is largely redundant. The one genuine behavioral addition is the concrete output shape showing per-table line formatting and the trailing ellipsis hinting that wide tables are truncated, but truncation/limit behavior itself is never explained.

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?

Three short sentences, front-loaded with what is returned and an inline example, then filtering behavior, then the usage rule. No filler; every sentence carries information.

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?

With an output schema present, the description need not enumerate return fields, and rich annotations cover the safety profile. It adds the output line format and a pre-SQL usage cue, which is everything an agent needs to call this correctly.

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?

Schema description coverage is 100%, so all four parameters (table, schema, maxTables, connection) are already documented in the schema, including the substring matching and defaults. The description only restates the substring filtering and adds no new parameter-level semantics, 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?

The description gives a specific verb and resource ("Returns a compact schema, one line per table") and even shows the exact output line format with column, type, pk/fk/not-null markers. It does not name a sibling tool explicitly, but "before writing SQL" implicitly separates it from db_query/db_execute, so the purpose is unambiguous though sibling differentiation is indirect.

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

Usage Guidelines4/5

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

It states a clear when-to-use rule: "Use it before writing SQL so column names are right." That is actionable context. There are no explicit when-not conditions or named alternatives (e.g., "use db_query to run the SQL afterward"), which keeps it below a 5.

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