Skip to main content
Glama

gridstack_add_widget

Add a new widget to a dashboard grid with customizable position, size, and behavior settings for building dynamic layouts.

Instructions

Add a new widget to the grid

Input Schema

NameRequiredDescriptionDefault
widgetYesWidget configuration
triggerAddEventNoTrigger 'added' event

Input Schema (JSON Schema)

{ "properties": { "triggerAddEvent": { "default": true, "description": "Trigger 'added' event", "type": "boolean" }, "widget": { "description": "Widget configuration", "properties": { "autoPosition": { "description": "Auto-position widget", "type": "boolean" }, "content": { "description": "Widget HTML content", "type": "string" }, "h": { "description": "Height in rows", "type": "number" }, "id": { "description": "Unique widget identifier", "oneOf": [ { "type": "string" }, { "type": "number" } ] }, "locked": { "description": "Lock widget position/size", "type": "boolean" }, "maxH": { "description": "Maximum height", "type": "number" }, "maxW": { "description": "Maximum width", "type": "number" }, "minH": { "description": "Minimum height", "type": "number" }, "minW": { "description": "Minimum width", "type": "number" }, "noMove": { "description": "Disable moving", "type": "boolean" }, "noResize": { "description": "Disable resizing", "type": "boolean" }, "resizeToContent": { "description": "Resize to content", "type": "boolean" }, "w": { "description": "Width in columns", "type": "number" }, "x": { "description": "X position", "type": "number" }, "y": { "description": "Y position", "type": "number" } }, "type": "object" } }, "required": [ "widget" ], "type": "object" }

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/raghavsharma-simpplr/gridstack-mcp-server'

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