Skip to main content
Glama
metabase-mcp

metabase-mcp

by livingroot

tables_get

Retrieve column-level metadata for a specific Metabase table to inspect names, data types, semantic types, display names, and nullable flags.

Instructions

Retrieve column-level metadata for a specific table: column names, data types, semantic types, display names, and nullable/required flags.

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": {
      "table_id": "<table_id>"
    },
    "name": "tables_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_idYesMetabase table ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full behavioral burden. It does disclose that this is a read operation and what the response contains, which is the most important thing, but it says nothing about behavior for an invalid or nonexistent table_id, permission requirements, or the size/shape of the result set.

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?

A single sentence, front-loaded with the verb and scope, followed by a compact enumeration of returned fields. No filler, no restatement of the name, and the most decision-relevant information comes first.

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 one-parameter read tool with no output schema, describing the returned column fields does most of the work of an output schema. The remaining gap is error behavior for a bad table_id, which is small relative to the tool's simplicity.

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 table_id is already documented as a Metabase table ID with exclusiveMinimum 0. The description adds only the framing that the ID selects 'a specific table,' which is a marginal gain over the schema — baseline 3 applies.

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 and resource ('Retrieve column-level metadata for a specific table') and enumerates exactly what comes back: column names, data types, semantic types, display names, nullable/required flags. It does not explicitly distinguish itself from tables_list, but the singular 'specific table' versus a list operation is reasonably inferable.

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 implied by the sharpest available signal — you need a table_id to get column metadata — but there is no explicit when-to-use or when-not, and no mention of tables_list as the browse alternative. An agent can infer the case, but must do the work itself.

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