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 document; 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
createdAtYesISO-8601 creation timestamp
manageUrlYes
sizeBytesYesCompressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet
updatedAtYesISO-8601 last-update timestamp
documentUrlYesOwner-only chart-document endpoint
publishedAtYesISO-8601 publish timestamp, or null when public URLs are dark

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedOutput schema / properties / configUrl
      Removed value: -{
      -  "description": "Owner-only chart-config endpoint",
      -  "type": "string"
      -}
    • addedOutput schema / properties / documentUrl
      Added value: +{
      +  "description": "Owner-only chart-document endpoint",
      +  "type": "string"
      +}
    • removedOutput schema / properties / publishedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / publishedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / sizeBytes / description
      Previous value: -"Compressed size of the stored published config, excluding drafts; 0 means no published config has been stored yet"New value: +"Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
    • changedOutput schema / required
      Previous value: -[
      -  "view",
      -  "id",
      -  "source",
      -  "title",
      -  "createdAt",
      -  "updatedAt",
      -  "sizeBytes",
      -  "publishedAt",
      -  "imageUrl",
      -  "embedUrl",
      -  "configUrl",
      -  "editUrl",
      -  "manageUrl"
      -]New value: +[
      +  "view",
      +  "id",
      +  "source",
      +  "title",
      +  "createdAt",
      +  "updatedAt",
      +  "sizeBytes",
      +  "publishedAt",
      +  "imageUrl",
      +  "embedUrl",
      +  "documentUrl",
      +  "editUrl",
      +  "manageUrl"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description adds meaningful behavioral detail: it displays the published chart when available, does not return the document, and requires authentication. This gives the agent a clear picture of side effects and limitations without contradicting the 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?

The description is two sentences with no filler. It front-loads the primary use case and then adds key behavioral constraints, making it easy for an agent to parse quickly.

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?

For a simple single-parameter read-only tool with an output schema, the description covers the essential context: when to use it, what it returns versus what it excludes, and authentication requirements. Nothing critical is missing.

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?

The input schema already fully documents the single id parameter with a pattern and description, so schema coverage is 100%. The description only restates that the id identifies a saved chart, adding no new semantic detail beyond 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 states a specific verb and resource: view a saved chart by id or retrieve its metadata and URLs. It also distinguishes itself from get_chart_document by explicitly saying it does not return the document, making its purpose unambiguous.

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?

The description opens with 'Use this when the user identifies a saved chart by id and wants to view it or retrieve its metadata and URLs,' giving clear invocation conditions. It also notes that the tool does not return the document, which implies when not to use it, though it does not name an alternative tool explicitly.

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