Skip to main content
Glama

faucet_describe_table

Read-only

Retrieve a table's full schema—columns, types, nullability, defaults, primary/foreign keys, and indexes—to understand structure before writing queries.

Instructions

Get the detailed schema for a specific table, including all columns with their types, nullability, defaults, primary keys, foreign keys, and indexes. Use this to understand table structure before writing queries. Requires GET permission on the table's schema (_schema/{table}).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesName of the table to describe
serviceYesName of the database service

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

readOnlyHint=true already signals a safe read, and the description usefully adds the authorization requirement (GET permission on the table's schema). It goes beyond the annotation with an access constraint, though it does not discuss rate limits or result size behavior.

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?

Three tight clauses: what is returned, when to use it, and the permission requirement. The return contents are front-loaded and every sentence carries distinct information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by spelling out the return contents (columns, keys, indexes), and it also covers the permission prerequisite. For a two-parameter read-only tool this is sufficient for an agent to call it correctly.

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 both parameters (service, table) are already documented in the schema. The description adds no format, naming, or lookup detail beyond what the schema provides, which is the expected baseline when structured fields do the work.

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?

States a specific verb (Get) and resource (detailed schema for a specific table) and enumerates exactly what is returned: columns, types, nullability, defaults, primary keys, foreign keys, and indexes. This clearly separates it from siblings like faucet_list_tables (enumerates tables) and faucet_query (runs queries).

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?

Gives concrete usage context: 'Use this to understand table structure before writing queries.' That orients the agent well, but it names no alternative or exclusion condition (e.g., when to prefer faucet_list_tables or faucet_raw_sql), so it stops short of explicit routing.

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