Skip to main content
Glama
Dali5599

Mcp Server Sqlite Fast

by Dali5599

describe_table

Inspect a SQLite table's schema, column types, primary and foreign keys to understand its structure before writing queries or migrations.

Instructions

Introspect table schema, column types, primary keys, and foreign keys.

Input Schema

NameRequiredDescriptionDefault
db_pathYesPath to SQLite database file.
table_nameYesName of the table to inspect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Introspect' signals a non-mutating read, and because there is no output schema, naming the returned fields (column types, PKs, FKs) is genuinely valuable. But it says nothing about behavior on a missing table or whether views/indexes are covered.

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 sentence, front-loaded with the verb and terminated by the concrete return fields. No waste, though the bare enumeration reads slightly like a field list rather than prose guidance.

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 two-parameter read-only introspection tool with no annotations and no output schema, the description covers the essential shape of what comes back. The gaps are edge-case behavior (nonexistent table, views) rather than anything blocking a correct call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters are documented there, so the description adds nothing. It never mentions db_path or table_name, leaving format expectations (relative vs absolute path, schema-qualified names) entirely to the schema, which is minimal.

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?

States a specific verb ('Introspect') plus resource ('table') and enumerates exactly what is surfaced: schema, column types, primary keys, foreign keys. That enumeration implicitly separates it from list_tables and execute_query, though no sibling is named explicitly.

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 by the verb: an agent would reasonably infer 'call this before writing a query against an unfamiliar table.' There is no explicit when-to-use, no statement of preferred alternative (e.g., list_tables to discover names first), and no prerequisites.

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