Skip to main content
Glama

list_tables

Lists all tables and views in a Databricks catalog schema and returns metadata for inspecting available data assets.

Instructions

List all tables and views in a schema with their metadata.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "catalog_name": "<catalog_name>",
      "schema_name": "<schema_name>"
    },
    "name": "list_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
schema_nameYesName of the schema
catalog_nameYesName of the catalog

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether the operation is read-only, whether results are paginated, whether system tables or empty schemas are included, or what happens if the schema does not exist — significant gaps for a listing tool with zero annotation coverage.

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 front-loaded sentence with no filler or redundancy. It is efficient, though slightly under-specified rather than overly verbose.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool, the description covers purpose and scope adequately, and no output schema exists so return values needn't be detailed. However, with no annotations and no output schema, the absence of any statement about result shape or pagination leaves the definition only minimally complete.

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 catalog_name and schema_name are already documented in the schema. The description adds only that tables are scoped to a schema, without clarifying case sensitivity, qualified-name format, or error behavior for invalid names.

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 ('List') and resource ('tables and views in a schema') plus what metadata is returned. It is distinguishable from list_schemas and list_catalogs by the schema-level scope, though it doesn't explicitly name those siblings as alternatives.

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?

Implicitly establishes that this tool operates at the schema level within a catalog, so an agent can infer it should call list_catalogs and list_schemas first. There is no explicit when-to-use or when-not-to-use guidance, and no mention of siblings like delete_table or create_schema.

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