Skip to main content
Glama

Save edited chart

save_chart_model
Idempotent

The save action behind the Edit button of the ChartKit chart widget: stores a model edited by hand in the widget's editor and refreshes the chart in open Google Slides decks.

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": {
      "chart_id": "<chart_id>",
      "model": "<model>"
    },
    "name": "save_chart_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe edited {table, spec} chart model.
chart_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), the description discloses a real side effect: saving refreshes the chart in open Google Slides decks, which the agent could not learn from the annotation set. It still doesn't say whether the stored model fully replaces the previous one, how errors on unsaved charts are surfaced, or what the call returns.

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?

A single colon-structured sentence that front-loads the identity of the action ('the save action behind the Edit button') before the mechanics. Efficient with no filler, though the widget framing is slightly wordy for the value it adds.

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 two-parameter mutation with full annotation coverage and no output schema, the description supplies the essential context: what is persisted, where it came from, and the cross-deck side effect. Remaining gaps (overwrite semantics, failure modes) are modest given the annotations carry the safety profile.

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 only 50% schema description coverage, the description partially compensates for the undocumented chart_id by clarifying that model is the hand-edited artifact from the widget editor. However it adds nothing about chart_id's format or provenance, and the nested {table, spec} structure is only covered by the schema itself.

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?

The description names a specific verb and resource ('stores a model edited by hand') and anchors it to a concrete UI locus, the Edit button of the ChartKit chart widget, so the agent knows this is persistence of an editor-produced model rather than chart creation. It stops short of contrasting itself with siblings such as update_chart or create_chart, so the distinction must be inferred.

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?

Usage is implied rather than stated: 'a model edited by hand in the widget's editor' tells the agent the precondition is an editor-produced model. There is no explicit when-not guidance, no mention of update_chart as the alternative path, and no statement about what happens if the chart was never opened in the widget.

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