Skip to main content
Glama

Save a dashboard

save_dashboard
DestructiveIdempotent

Save a dashboard file to the project: create the dashboard name, or replace the text of the one with that name.

    `name` is the file name without `.dashboard.yml`. The file is checked
    first; one with errors is not saved, and the errors come back instead.
    Warnings (names the project does not have) are reported and saved all
    the same. The last step of building a project: give the user the
    studio URL (and share link) it answers with. Needs a key with save access.
    

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": {
      "project_id": "<project_id>",
      "name": "<name>",
      "text": "<text>"
    },
    "name": "save_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
textYes
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the file is validated first, files with errors are not saved and errors are returned instead, warnings about names the project does not have are reported but the save still proceeds, and an auth requirement is stated. This explains precisely why destructiveHint=true and idempotentHint=true apply, and tells the agent how to interpret a warning-only response.

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?

The create-or-replace rule is front-loaded in the first sentence and every subsequent sentence carries distinct information (validation, warnings, auth, next step). The sentence about giving the user the studio URL is loosely attached and slightly awkward, but it is not filler.

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?

Given an output schema exists, return values need no explanation, and the definition covers the remaining risk surface for a destructive write: validation gating, partial-success warnings, and access requirements. The only soft spot is what exactly `text` should contain, which is minor against the otherwise complete picture.

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?

With 0% schema description coverage the description must carry the load, and it does for `name`, defining it as the file name without the `.dashboard.yml` suffix. `text` is only obliquely characterized as the body that gets replaced, and `project_id` is never described, so two of three parameters remain under-specified.

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?

States a specific verb and resource plus the exact upsert semantics: 'create the dashboard `name`, or replace the text of the one with that name.' An agent immediately knows this is a create-or-overwrite save, not an append or patch, and can distinguish it from read-side siblings like get_dashboard and check_dashboard.

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?

Provides clear positional context — 'The last step of building a project' — telling the agent to call this after the dashboard is authored, and names a prerequisite ('Needs a key with save access'). It does not name an alternative for validating without saving (check_dashboard exists in the catalog but is not referenced), so the routing guidance is clear but not exhaustive.

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