Skip to main content
Glama
hluaguo

metabase-mcp

by hluaguo

add_card_to_dashboard

Add an existing card to a dashboard at a specified position and size, enabling precise layout of saved questions and charts.

Instructions

Add an existing card to a dashboard at a specified position and size.

Args: dashboard_id: The ID of the dashboard to add the card to. card_id: The ID of the card to add. col: Column position on the dashboard grid (default: 0). row: Row position on the dashboard grid (default: 0). size_x: Width of the card in grid units (default: 6). size_y: Height of the card in grid units (default: 4).

Returns: The created dashboard card object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colNo
rowNo
size_xNo
size_yNo
card_idYes
dashboard_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 describes the inputs and outputs but does not mention side effects, authentication needs, constraints (e.g., card must exist, dashboard must exist, or duplicate handling), or what happens on failure. This is adequate but minimal.

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?

The description is efficiently structured as a docstring with a brief summary followed by Args and Returns sections. Each line is necessary, no fluff, and the information is front-loaded with the main action.

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 6 parameters, an output schema, and moderate complexity. The description covers inputs and the returned object. It lacks details about the grid coordinate system bounds, error cases (e.g., invalid position), or behavior when card already exists. These are minor gaps but do not severely hinder usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides meaningful explanations for all 6 parameters, including their role (e.g., 'Column position on the dashboard grid') and defaults. This adds significant value beyond the schema, which has 0% description coverage. Each parameter is clearly defined, enabling correct usage.

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?

The description clearly states the action: adding an existing card to a dashboard at a specified position and size. It distinguishes itself from siblings like create_card (which creates new cards) and get_dashboard_cards (which lists existing cards), making its purpose specific and unambiguous.

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?

The description provides clear parameter details and implies usage for adding cards to dashboards, but it does not explicitly state when to use this tool versus alternatives like update_card_display or context about prerequisites. However, the context is clear enough for an agent to infer appropriate usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hluaguo/metabase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server