Skip to main content
Glama

Update a dashboard

update_dashboard
DestructiveIdempotent

Changes a dashboard's title or document. The document is a patch, not a replacement: upsert or remove cards by id and move cards to a new position, and everything you do not mention stays. A dashboard document is one wall of cards in order; each card shows one topic (or a page-level widget) with 1 to 4 widgets. size is auto (the default, chosen from the widgets), sm, md, wide or lg; style can override the card color and icon (a name from tiles.icons); the scene a topic plays in its tile is the visual of the topic, set with update_topic; theme.density compact sets the tiles closer together. Which widgets each type allows and what each card size draws are in get_capabilities (tiles.draws). A patch that is wrong is rejected whole, and the error names the path and the allowed values. Widgets are optional when you upsert a card that names a topic: it gets that topic's default widgets. Leave size at auto and style alone unless the person asks for something specific. Keep a dashboard to the few topics that belong together, at most 8 cards; put other themes on their own dashboard. On home the status card always stays first; topic cards come and go there as on any dashboard. When the person wants a topic off home, remove its card here; never archive the topic for that. Afterwards, call show_dashboard once so the person sees the change.

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": {
      "dashboardId": "<dashboardId>"
    },
    "name": "update_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title.
documentNoA patch to the document: upsert, remove and move cards by id. Ids come from get_dashboard; read it first and reuse them. A card whose id does not exist yet is added at the end; move takes a card id and its new index.
dashboardIdYesThe dashboard, from list_dashboards.

Output Schema

NameRequiredDescriptionDefault
dashboardYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations declare mutation, destructiveness and idempotency, and the description adds what those hints cannot: unmentioned cards are preserved, invalid patches are rejected atomically with the failing path and allowed values named in the error, widgets are optional and filled from the topic's defaults, and a soft cap of 8 cards applies. That atomic-rejection and preservation behavior is the highest-value thing an agent could know here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the patch semantics, then defaults guidance, then constraints, then the follow-up call — a sensible ordering. It runs long for a description, and the home-status-card sentence sits awkwardly next to the general dashboard rules, but almost every sentence carries a rule the schema cannot express.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a nested, destructive, patch-based mutation with a rich schema, and the description supplies the operational model (patch composition, defaults, validation failure mode, card budget, follow-up rendering) that the structured fields alone do not. An output schema exists and is rightly not re-explained.

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?

Schema coverage is 100%, so the baseline is 3, but the description genuinely deepens it: it explains how upsert/remove/move compose as a patch, that size auto is derived from the widgets, that style.icon draws from tiles.icons, and what theme.density compact actually does. Only theme.font, motion, palette and colorsByType are left wholly to the schema.

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?

Opens with a specific verb and resource ("Changes a dashboard's title or document") and immediately disambiguates the core semantic: the document is a patch, not a replacement. That single distinction separates it from create_dashboard and from any full-replace tool in a way an agent can act on without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit operating context: read ids from get_dashboard first, consult get_capabilities (tiles.draws) for widget/size rules, use update_topic for the scene, and call show_dashboard once afterwards. It also names a negative rule (never archive the topic to remove it from home), which is exactly the wrong-turn this sibling set invites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources