Skip to main content
Glama

Get chart

get_chart
Read-only

Use this when the user identifies a saved chart by id and wants to view it or retrieve its metadata and URLs. Displays the published chart when available and does not return its config; requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesOpaque 32-character saved-chart id

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesOpaque 32-character saved-chart id
viewYes
titleYesSaved chart title
sourceYesChart origin; an open set of string values
editUrlYes
embedUrlYesInteractive-embed URL
imageUrlYesRendered-image URL
configUrlYesOwner-only chart-config endpoint
createdAtYesISO-8601 creation timestamp
manageUrlYes
sizeBytesYesCompressed size of the stored published config, excluding drafts; 0 means no published config has been stored yet
updatedAtYesISO-8601 last-update timestamp
publishedAtYesISO-8601 publish timestamp, or null when public URLs are dark

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description adds important behaviors beyond annotations: displays published chart when available, does not return config, and requires authentication. No contradictions with 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 sentences, front-loaded with usage trigger, and no wasted words. Every sentence adds value.

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 the presence of an output schema, the description needn't detail return values. It covers purpose, usage, and behavioral traits completely for a simple retrieval 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% with a detailed description of the 'id' parameter. The description adds no additional meaning beyond referring to 'by id', so baseline score of 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 clearly states the tool retrieves chart metadata and URLs and displays the published chart. It distinguishes from sibling get_chart_config by explicitly noting that it does not return the config.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use ('when the user identifies a saved chart by id') and provides exclusions ('does not return its config'), guiding the agent to use get_chart_config instead.

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