Skip to main content
Glama

db_tables

Lists RedM server database tables or returns a table's columns and types for read-only schema inspection.

Instructions

Base de données du serveur RedM, en lecture seule : sans argument, liste les tables ; avec table, donne ses colonnes et 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": "db_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the most important trait, read-only access, and describes what each mode returns. It says nothing about behavior on an unknown table name, name qualification/namespace, or result size limits, which matter for a DB introspection tool.

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?

One front-loaded sentence: the read-only nature comes first, then the two modes, each tied to its argument condition. Nothing is redundant.

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 one-optional-parameter introspection tool with no output schema, the description covers the essentials: safety posture and the shape of each result. Minor gaps are error handling for an invalid table and whether table names need qualification.

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 0% and the single optional 'table' parameter is undocumented in the schema, but the description does compensate by explaining both the absent and present cases. It does not state the expected format of the table argument (bare name vs. qualified), so meaning is only partially added.

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 concrete resource (the RedM server database) and spells out both operating modes: no argument lists tables, with a table argument returns its columns and types. It never names db_query or any sibling, so the boundary against a row-returning query tool has to be inferred from the word 'lecture seule'.

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 when-to-use signal is explicit at the mode level: call with no argument for an inventory, call with 'table' for schema details. It stops short of exclusions or alternatives, e.g. it does not say to use db_query when actual row data is wanted rather than schema.

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