Skip to main content
Glama
metabase-mcp

metabase-mcp

by livingroot

dashboards_add_text_card

Add markdown text blocks or headings to a Metabase dashboard to create section titles and notes; place them by row, column, size, and tab and get the dashcard ID.

Instructions

Add a markdown text block or heading to a dashboard. Use 'text' for multi-line markdown content (supports headers, lists, bold, etc.) and 'heading' for a single-line section title. Returns the dashcard ID.

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>",
      "text": "<text>"
    },
    "name": "dashboards_add_text_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
colNoColumn position, 0-indexed (default 0)
rowNoRow position, 0-indexed (default 0)
textYesMarkdown content for 'text' cards, or plain text for 'heading' cards. Example: '## My Section\nSome description here.'
size_xNoWidth in grid units (default 12)
size_yNoHeight in grid units (default 2 for text, 1 for heading)
tab_idNoTab ID to place the card on. Only relevant when the dashboard has tabs; defaults to the first tab if omitted.
displayNoCard type: 'text' for a markdown block, 'heading' for a single-line section title.text
dashboard_idYesDashboard 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 provided, so the description carries the full burden of behavioral disclosure. It does disclose the return value ('Returns the dashcard ID') and characterises the content types, which is useful. It says nothing about permissions, what happens if the target position is occupied, or error conditions, so for a mutation tool it leaves significant gaps.

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?

It uses two tight sentences and leads with the action and the resource. Every clause earns its place: the card-type guidance and the return value are both actionable. No filler and no repetition.

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?

The tool has 8 parameters, all fully documented in the schema, and although no output schema exists, the description states the return value. The description covers the essential creation semantics. What is missing are layout or collision behaviour and how this tool relates to the other dashboard card tools, but it is nearly complete for this complexity.

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 every parameter, including display, text, row/col, size, and tab_id, is documented in the schema with defaults. The description adds only a restatement of the display modes that the schema's enum and descriptions already cover. With the schema doing the heavy lifting, the baseline of 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?

The definition names a specific verb and resource: 'Add a markdown text block or heading to a dashboard.' That is precise enough to distinguish this tool from the generic sibling dashboards_add_card, because it is scoped to markdown text and heading cards. However, it never explicitly names that sibling or states the difference, so it falls just short of a 5.

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?

The definition gives real guidance on choosing between the 'text' and 'heading' display modes: use 'text' for multi-line markdown and 'heading' for a single-line section title. It gives no guidance on when to use this tool instead of dashboards_add_card, and no prerequisites or exclusions. The guidance is limited to one parameter's values.

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