Skip to main content
Glama
devaloi

mcpserve-py

by devaloi

describe_table

Inspect a specified SQLite table's schema to find column names, data types, and constraints.

Instructions

Get the schema of a specific table including column names, types, and constraints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesName of the table to describe

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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. It implies a read-only inspection and sketches the return shape, but says nothing about failure modes (nonexistent table), permissions, or whether the output is a fixed dump versus a summary. Adequate but thin for a completely unannotated 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 sentence, front-loaded with the verb and the returned fields, with zero filler. Nothing could be cut without losing information.

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 trivial single-parameter read tool with no output schema, the description covers the essentials by naming what the returned schema contains. It could be slightly more complete by noting behavior on an unknown table, but nothing critical is 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 100%, so the single 'table' parameter is already fully documented in the schema. The description's phrase 'specific table' adds no new semantics. Baseline 3 applies when the schema does the heavy lifting.

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 ('Get') and resource ('schema of a specific table'), and enumerates the returned content (column names, types, constraints). It is clear on its own but does not distinguish itself from siblings like list_tables or query_database.

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?

No when-to-use guidance, no prerequisites, and no mention of the sibling alternatives (e.g., list_tables to enumerate tables, query_database to read data). The agent must infer that this is the schema-inspection step.

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