Skip to main content
Glama
metabase-mcp

metabase-mcp

by livingroot

fields_get

Retrieve metadata and valid values for a Metabase field by ID, including data type, display name, semantic type, and enumerated values for low-cardinality columns.

Instructions

Retrieve metadata and valid values for a specific field (column): data type, display name, semantic type, and enumerated valid values for low-cardinality fields.

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": {
      "field_id": "<field_id>"
    },
    "name": "fields_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
field_idYesMetabase field ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'Retrieve' implies a read-only lookup, and the description usefully discloses what the response contains, including that enumerated values are only returned for low-cardinality fields. It does not say what happens for an invalid or nonexistent field_id, nor whether the call has any cost or side effects.

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 front-loaded sentence with the resource and the returned attributes in a natural order; no filler, hedging, or redundant restatement of the parameter.

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 one-parameter read tool with no output schema, the description adequately states what comes back, which is the main gap it needed to fill. It is still thin on the operational context—where field IDs come from and how this differs from schema-listing siblings—that an agent would need to choose it confidently.

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% and the single field_id parameter is documented as 'Metabase field ID' with a positive-integer constraint, so the schema does the heavy lifting. The description adds only the notion that the ID identifies a specific column, which is a marginal restatement rather than new meaning such as where to obtain a field_id.

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?

The description names a specific verb (retrieve) and resource (metadata and valid values for a field/column) and even enumerates the returned attributes: data type, display name, semantic type, and enumerated values. It is clear what the tool does, but it does not distinguish itself from lookups like tables_get or databases_get_schema, so an agent must infer the boundary itself.

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?

There is no when-to-use guidance: nothing says to call this before writing a query, or to prefer databases_get_schema/tables_get when exploring a whole table rather than one field. The single sentence describes content only, leaving the agent to guess the call context.

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