Skip to main content
Glama

store-schema

Read-only

Lists the tables in DBA Brain's runtime store and their columns, or returns one table's column names and types for schema inspection.

Instructions

List the tables of dbabrain's own runtime store (job runs, metrics, the backup catalog, SLA) and their columns, or one table's columns with types.

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. Addedv1.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this as a read-only, non-destructive, closed-world operation, so the safety profile is covered. The description adds useful context about what the store contains (job runs, metrics, backup catalog, SLA) and that columns include types, but it does not disclose return format, pagination, or access requirements.

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 definition is a single, front-loaded sentence with no wasted wording. It packs the purpose, scope, and optional-parameter behavior into one efficient statement.

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 low-complexity, read-only schema-listing tool with annotations and an output schema, the description covers the essential purpose and parameter behavior. It could be slightly more complete by clarifying when to use it versus sibling schema/query tools, but nothing critical is missing.

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 0%, so the description must explain the single `table` parameter. It does so by indicating that omitting the parameter lists all tables and their columns, while supplying it lists one table's columns with types. It stops short of specifying table-name format or matching rules.

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: listing tables and columns from dbabrain's own runtime store, or one table's columns with types. The scope is clear enough to distinguish it from generic schema tools, but it does not explicitly name or differentiate against siblings such as store-query or copy-schema.

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?

The description implies the tool is for inspecting the runtime store schema, but it gives no explicit when-to-use guidance or alternatives. It does not say when to choose this over store-query or copy-schema, nor does it state any prerequisites.

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