Skip to main content
Glama

Database design review — Atom

Database design review

database_design_review
Read-onlyIdempotent

Submits a database design record (store selection, declared table rows with keys and constraints, normalization, declared query patterns and indexes, integrity, transactions and security, migrations and backups) and returns a deterministic DATABASE_DESIGN_SOUND / DATABASE_DESIGN_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across four sections, including computed primary-key, constraint-declaration and query-pattern-index-coverage checks, with per-check evidence. Reviews the declared record; it designs no schema and runs no database.

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

Input Schema

NameRequiredDescriptionDefault
designNoDesign / system under review.
tablesNoDeclared table rows: {name, primary_key, constraints}.
backupsNoBackup and restore evidence.
indexesNoDeclared indexes: {name, table, columns}.
indexingNoIndexing-posture evidence.
securityNoSecurity evidence.
integrityNoIntegrity evidence.
migrationsNoMigration evidence.
performanceNoPerformance evidence.
transactionsNoTransaction evidence.
normalizationNoNormalization evidence.
query_patternsNoDeclared query patterns: {name, table, supporting_index}.
store_selectionNoStore-selection evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered; the description still adds real substance by disclosing the three-state verdict vocabulary, four-section structure, specific computed checks (primary-key, constraint-declaration, query-pattern-index-coverage), and per-check evidence output. The word 'Submits' is mildly at odds with a read operation, but it reads as submission-for-review and is consistent with idempotence. It does not discuss evidence thresholds that trigger INSUFFICIENT_EVIDENCE, which keeps it at 4.

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?

Two sentences, front-loaded with the action and result, and the long parenthetical enumeration is the only heavy element — defensible given 13 parameters. The scope-limiting clause lands last where it is easily found. No filler or repetition.

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?

With 13 optional parameters, nested objects and no output schema, the description does the heavier lifting by naming the verdict set and stating that per-check evidence is returned. It stops short of describing the shape of the returned sections or what evidence suffices for each verdict, and defers the field table to the atom's SERVICE.md, leaving a modest gap for a tool of this complexity.

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 100% and each of the 13 fields carries its own inline description, so the baseline is 3. The description nevertheless adds meaning by grouping the fields into the review areas actually checked (store selection, table rows with keys and constraints, normalization, query patterns and indexes, integrity, transactions and security, migrations and backups) and by naming the computed checks that consume tables and query_patterns/indexes.

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?

Names a specific verb and resource ('Submits a database design record') and states the exact result produced (a deterministic DATABASE_DESIGN_SOUND / DATABASE_DESIGN_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict). The closing clause 'Reviews the declared record; it designs no schema and runs no database' pins the boundary between reviewing and performing, which an agent can act on immediately.

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?

The description gives a clear use condition implicitly (you have a declared design record with tables, keys, indexes, evidence) and an explicit exclusion ('designs no schema and runs no database'), which steers an agent away from using it as a schema-generation or live-inspection tool. There is no named alternative or explicit 'use this when' phrasing, and no siblings exist to route to, so this falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.