Skip to main content
Glama
metabase-mcp

metabase-mcp

by livingroot

dashboards_add_card

Add an existing saved question to a Metabase dashboard at a chosen grid position or tab, returning the dashcard ID needed for later reposition, removal, or filter-connect operations.

Instructions

Add an existing saved question to a dashboard at an optional grid position. Returns the dashcard ID — capture it; it is the placement ID needed for remove/reposition/filter-connect operations (it is NOT the card ID). Pass tab_id to place the card on a specific tab.

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": {
      "dashboard_id": "<dashboard_id>",
      "card_id": "<card_id>"
    },
    "name": "dashboards_add_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
colNoColumn position, 0-indexed (default 0)
rowNoRow position, 0-indexed (default 0)
size_xNoWidth in grid units (default 12)
size_yNoHeight in grid units (default 8)
tab_idNoTab ID to place the card on. Only relevant when the dashboard has tabs; defaults to the first tab if omitted.
card_idYesSaved question (card) ID to place
dashboard_idYesDashboard ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the return value, warns that the dashcard ID is a placement ID distinct from the card ID, and explains tab defaulting. It stops short of stating permission requirements, whether re-adding the same card creates a duplicate, or how existing layout/version state is affected.

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 sentences, front-loaded with the action, then the return contract, then the optional tab parameter. The em-dash warning about the ID is compact and high-value; nothing is redundant.

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?

There is no output schema, and the description compensates by explaining the return value and its downstream role, which is the most important thing an agent needs here. The remaining gap is the absence of any side-effect or idempotency note for a mutation on an existing dashboard.

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 schema already documents col/row/size_x/size_y defaults, tab_id semantics, and the ID constraints. The description adds only a slight framing ("optional grid position", "pass tab_id") and repeats schema content, so the 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 ("Add an existing saved question to a dashboard") and scopes it to saved questions, which implicitly separates it from dashboards_add_text_card and dashboards_add_filter without needing to name them. An agent can tell exactly what gets placed.

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 object being placed, and the description usefully explains the downstream workflow (the returned ID feeds remove/reposition/filter-connect). However, it never explicitly names an alternative or states when-not to use this tool, so routing between add_card, add_text_card, and add_filter is left to inference from sibling names.

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