Skip to main content
Glama
metabase-mcp

metabase-mcp

by livingroot

cards_find

Find saved Metabase questions by name substring and return matching IDs, names, and SQL, so you can retrieve card SQL without a separate card lookup.

Instructions

Find saved questions by name and return their SQL. Use this when you know (part of) the card name. Returns ID, name, and SQL for each match — no need to call cards_get separately.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName substring to search for (case-insensitive)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does disclose the response shape (ID, name, SQL per match) and that matching is by name, which implies a read-only lookup. It omits edge behavior such as no-match results or any cap on the number of matches returned, which keeps it below a 5.

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?

Two short sentences, both front-loaded with the action and the selection condition, and the second sentence explicitly prevents a redundant follow-up call. No filler wording.

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 annotations and no output schema, the description covers purpose, selection condition, and return fields, which is nearly everything an agent needs to call it correctly. Only the no-match / result-limit behavior is unaddressed.

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 coverage is 100% and the single 'name' parameter is already documented as a case-insensitive substring. The description's '(part of) the card name' echoes that schema semantics rather than adding new meaning such as matching rules or result ordering, so baseline 3 applies.

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 and resource ('Find saved questions by name') and explicitly names the return payload ('SQL ... ID, name, and SQL'). It also separates itself from cards_get by saying no separate call is needed, so an agent can pick it without opening a schema.

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 a clear selection condition: 'Use this when you know (part of) the card name,' and reinforces it by ruling out a follow-up cards_get call. It stops short of naming the fallback (e.g. cards_list) for when the name is unknown, so it is strong but not fully exhaustive.

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