Skip to main content
Glama

update_chart

DestructiveIdempotent

Update an existing chart you own. Only the API key that created the chart can update it. Use this to modify the Plotly spec, title, or insight of a previously published chart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoUpdated chart title
insightNoUpdated insight text with verified numbers
chart_idYesThe chart ID or slug returned by publish_chart
narrationNoUpdated analysis description
plotly_specYesUpdated Plotly specification with traces and layout

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true and idempotentHint=true, so the description's added value is the ownership restriction and the implied requirement that the chart exists. It doesn't contradict annotations and adds useful context beyond them.

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

Conciseness5/5

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

Two sentences with no filler. The primary action and key constraint are front-loaded, and every clause earns its place.

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

Completeness3/5

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

Covers ownership, what can be updated, and that the chart is already published. However, it omits the 'narration' parameter from the list of updatable fields, and it doesn't clarify that plotly_spec is required. Since the schema carries those details, this is a minor but real gap.

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 the schema fully documents all parameters. The description mentions Plotly spec, title, and insight, which maps to three of five params, but adds no new meaning beyond the schema. Baseline 3 is appropriate.

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?

The description states a specific verb ('update') and resource ('existing chart you own'), and lists what can be modified ('Plotly spec, title, or insight'). It clearly distinguishes from siblings like publish_chart (creation) and get_chart (read).

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?

Explicitly states the ownership constraint ('Only the API key that created the chart can update it') and the context ('previously published chart'). It gives clear when-to-use guidance, though it doesn't explicitly name alternatives or exclusions, which would push it to 5.

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