Skip to main content
Glama

Undo a dashboard's last change

undo_dashboard
Destructive

Puts the dashboard's version before the current one back, as its next version. The workspace owner decides whether assistants' dashboard changes wait as a DRAFT for a person to accept in Data Studio (the default) or apply at once; the answer's draft field says which happened, so say it waits for them only when draft is true. Nothing earlier is lost; every version is kept.

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

Input Schema

NameRequiredDescriptionDefault
as_draftNotrue: save it as a draft for a person to accept even where your changes may apply at once (to propose rather than change).
dashboard_idYesThe dashboard's id (list_dashboards gives them, dsh_...).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / dashboard_id / maxLength
      Previous value: -80New value: +40
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real context beyond them: the undo is recorded as a new forward version, history is retained ("every version is kept"), and the workspace-owner policy governs whether the change is held as a DRAFT. It also tells the agent how to interpret the response's draft field, which is useful since no output schema exists.

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?

Three sentences, front-loaded with the core action and followed by the draft policy and the retention guarantee; nothing is padded. The clause "so say it waits for them only when draft is true" is slightly convoluted but carries genuine instruction value.

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 mutation tool with no output schema, the definition covers reversal semantics, history retention, the draft/auto-apply policy, and how to read the response's draft field. Only permission prerequisites beyond "the workspace owner decides" remain implicit.

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%, so all three parameters are already documented, giving a baseline of 3. The description adds policy-level meaning to as_draft (the workspace default and how the draft field resolves it) but adds nothing further about dashboard_id or workspace_id.

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?

"Puts the dashboard's version before the current one back, as its next version" states a specific action and resource, and makes clear this is a revert rather than an arbitrary edit. It is clearly separable from change_dashboard by implication, though no sibling is named explicitly.

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 draft behavior is explained in detail, but there is no explicit when-to-use guidance against the obvious alternatives (change_dashboard, request_change, accept_dashboard_draft). The agent must infer from the name and from the as_draft note that this is the revert path.

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