Skip to main content
Glama

update_chart

Idempotent

Update a previously published chart by modifying its Plotly specification, title, insight, or narration. Only the original creator can make changes.

Instructions

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
chart_idYesThe chart ID or slug returned by publish_chart
plotly_specYesUpdated Plotly specification with traces and layout
titleNoUpdated chart title
insightNoUpdated insight text with verified numbers
narrationNoUpdated analysis description
Behavior4/5

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

Annotations already indicate idempotentHint=true and destructiveHint=false. The description adds the ownership restriction and specifies what can be modified, providing context beyond annotations.

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 short sentences, no redundant words. First sentence gives purpose and ownership rule, second lists what can be updated. Efficient and front-loaded.

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?

Covers ownership condition and typical use cases. No output schema, but update tools often return a success indicator; not critical. Could mention return value or errors, but sufficient for an update tool.

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 coverage is 100%, so the schema already describes all parameters. The description only lists three of the five parameters (omitting 'narration'), adding no deeper semantics than 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?

The description clearly states the tool updates an existing chart owned by the user, listing specific modifiable aspects (Plotly spec, title, insight). It distinguishes from create (publish_chart) and read (get_chart) tools.

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 says 'Only the API key that created the chart can update it', which is a strong usage condition. Does not explicitly state when not to use, but the condition implies alternatives if ownership is lacking.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Autario/autario-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server