Skip to main content
Glama

store_schema

Read-only

Retrieves DBA Brain's runtime database schema—all tables and columns, or one table's columns with their types.

Instructions

dbabrain's runtime store: every table and its columns, or one table's columns with their types (table).

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

Input Schema

NameRequiredDescriptionDefault
tableNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered without help from the description. The description adds the useful behavioral detail that results include column types and that the call is scoped to the runtime store, but says nothing about output size, pagination, or behavior on an unknown table name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence, front-loaded with the resource and then the two modes, with no filler. The trailing parenthetical naming `table` is slightly cryptic in isolation but efficiently ties the modes to the parameter.

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-value detail is rightly omitted, and the parameter's dual behavior is covered. What is missing is any positioning against the many sibling introspection tools and any note on result size for the unrestricted mode, which matters for a whole-store schema dump.

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 `table` parameter is documented only as a string with an empty default, so the description carries the burden — and it does explain the two modes: empty for all tables, populated for one table's columns with types. It stops short of saying what an unrecognized table name produces.

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 names a concrete resource (the runtime store's tables and columns) and states both operating modes: all tables with their columns, or one table's columns with types. It is clear what the tool returns, though it never names or contrasts itself with look-alike siblings such as table-info, describe-object, or list-schemas.

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?

Usage is only implied: the mention of `table` signals that supplying it narrows to a single table while omitting it enumerates everything. There is no explicit when-to-use/when-not guidance and no routing to alternatives for schema introspection, so the agent must infer selection from the sibling names alone.

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