Skip to main content
Glama

add_widget

Destructive

Add a visualization widget to a dashboard by providing the dashboard ID and visualization ID. Optionally set widget text and width.

Instructions

Add a visualization widget to a dashboard. Get visualization_id from get_query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashboard_idYesDashboard ID
visualization_idYesVisualization ID (from get_query's visualizations)
textNoWidget text
widthNoWidget width (1 = half, 2 = full)
Behavior3/5

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

Annotations include destructiveHint=true, consistent with 'Add'. Description does not disclose additional behavioral details (e.g., error handling, overwrite behavior), but with annotation it satisfies basic transparency.

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 short sentence plus a critical tip. No unnecessary words. Perfectly front-loaded.

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 4-param tool with no output schema and annotations, description covers the key usage. Could mention expected result or limitations, but sufficient for simple add operation.

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

Parameters4/5

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

Input schema covers all 4 parameters with descriptions. Description adds value by explaining source for visualization_id, which schema lacks. Other params are self-explanatory.

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?

Clearly states 'Add a visualization widget to a dashboard', specifying action, resource, and target. Provides a hint to get visualization_id from get_query, distinguishing it from other dashboard/query tools.

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?

Explicitly tells the agent to obtain visualization_id from get_query, guiding correct usage. Does not list when not to use, but context is clear enough.

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/seob717/redash-mcp'

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