Skip to main content
Glama

list_tables

Read-onlyIdempotent

Show all tables and views in the SQLite database as CSV, with type, system flag, and optional row counts. Use it to discover available tables and inspect schema before querying.

Instructions

List tables and views as CSV: name, type, system (1 for the server's own memory and audit tables) and row count (tables only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_row_countsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description usefully adds the output encoding (CSV) and the meaning of the 'system' column, but says nothing about ordering, size limits, or behavior on very large catalogs.

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?

A single dense sentence with no filler, and the column list is front-loaded right after the verb. The parenthetical explaining 'system' is slightly heavy but earns its place.

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 no output schema, the description correctly compensates by enumerating the returned CSV columns. For a simple, one-optional-param read tool this is nearly sufficient; only the toggle semantics of include_row_counts and result ordering are missing.

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 sole parameter (include_row_counts, default true) is undocumented in the schema. The description implies row counts are returned and only for tables, but never states that this parameter toggles that behavior or what happens when it is false.

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?

Specific verb (list) and resource (tables and views), plus an explicit statement of the returned columns and the non-obvious meaning of the 'system' flag. It is clearly distinct from describe_table/get_schema in intent, though it never names those siblings to reinforce the distinction.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as describe_table or get_schema for inspecting a specific table. Usage must be inferred from the name alone.

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