Szum MCP
An official MCP server from Szum that enables AI agents to interact with the Szum chart design system. It allows agents to discover chart types and themes, validate chart configurations, render interactive previews, and manage saved charts with stable image and embed links.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://szum.io/mcpWhat its tools do
16 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (10)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to szum.io ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Discover supported chart families and curated themes
- Validate JSON chart configurations without rendering
- Render interactive previews of charts
- Save and manage permanent chart documents
Source and maintenance
Protocol and capabilities
- Server
- Szum 2.2.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 16 advertised
- Resources
- 3 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
16 advertised
render_chart — Render chart
Use this when the user wants to preview or generate a chart. Validate each generated or changed chart input once before rendering, saving, or updating. Do not revalidate unchanged input; a successful render preflights it for later saves or updates. Errors block; warnings require explicit user approval for the exact chart input. Rendering may add layout warnings to the semantic findings before an action proceeds. Suggestions do not block. A suggestedDocument is a complete, validated replacement. Review the proposed changes before using it; validate again only if you modify it. Stores a 1 hour preview and returns public image URLs. Authenticated previews use the account's render allowance, and each image produced from a returned URL is another render. Anonymous previews are complimentary; their images use the anonymous image allowance.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"request"
],
"properties": {
"request": {
"type": "string",
"description": "Complete current ChartDocument JSON with version, config, and data, plus optional presentation, size, and output. Use the same document for validation, rendering, and saving; version must match config.version. Semantic field roles must match row keys. Chronological annual values use YYYY strings on an explicit UTC scale. Column and bar charts with long, wide, or count values, and all area charts, use linear value scales. Their inferred domains include zero, while an explicit domain excluding zero produces a warning. Base-10 log roles and explicit log domains require positive finite values; use line, scatter, or ranged columns and bars."
},
"sharedTheme": {
"type": "string",
"minLength": 1,
"description": "Name of a shared theme from list_themes' workspaceThemes. The chart uses that theme and stays linked to it, so later edits to the theme reach the chart. When omitted and the document sets neither theme nor themeOverrides, the workspace's default theme applies, if it has one."
},
"acknowledgeWarnings": {
"type": "boolean",
"description": "Set true only after the user explicitly approves every warning returned for this exact request"
}
}
}{
"type": "object",
"$defs": {
"szumSchema0": {
"type": "object",
"description": "Complete current ChartDocument. get_schema returns its JSON Schema."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"view",
"title",
"imageUrl",
"format",
"mimeType",
"expiresAt",
"validation",
"durableInput"
],
"properties": {
"view": {
"type": "string",
"examples": [
"chart-preview"
]
},
"title": {
"type": "string"
},
"format": {
"type": "string",
"examples": [
"svg",
"png"
]
},
"imageUrl": {
"type": "string"
},
"mimeType": {
"type": "string",
"examples": [
"image/svg+xml",
"image/png"
]
},
"expiresAt": {
"type": "string"
},
"validation": {
"type": "object",
"required": [
"valid",
"diagnostics"
],
"properties": {
"valid": {
"type": "boolean"
},
"diagnostics": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_structure"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"actualBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_preference"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"role": {
"type": "string"
},
"type": {
"type": "string"
},
"parts": {
"type": "array",
"items": {
"type": "string"
}
},
"value": {
"type": [
"string",
"number"
]
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
"reason": {
"type": "string"
},
"syntax": {
"type": "string",
"examples": [
"percent",
"semantic"
]
},
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
},
"property": {
"type": "string"
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"minimumItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_data"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"field": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"expected": {
"type": "array",
"items": {
"type": "string"
}
},
"omission": {
"type": "string",
"examples": [
"incompatible",
"missing"
]
},
"rowCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"valueField": {
"type": "string"
},
"aggregation": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"categoryField": {
"type": "string"
},
"affectedCategories": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_scale"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"type": {
"type": "string"
},
"domain": {
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"maxItems": 2,
"minItems": 2
},
"reason": {
"type": "string"
},
"markTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"expectedItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"affectedValues": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"supportedTypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"duplicate_identity"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"field": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"seriesField": {
"type": "string"
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"categoryField": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"unresolved_decoration"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"value": {
"type": "string"
},
"reason": {
"type": "string"
},
"statistic": {
"type": "string"
},
"referenceIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"annotationIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"render_adjustment"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"reason": {
"type": "string"
},
"element": {
"type": "string"
},
"labelRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"workspace_rule"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"allowedThemes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"value"
],
"properties": {
"id": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"theme"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"built-in"
]
},
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
}
},
{
"type": "object",
"required": [
"kind",
"themeId"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"shared"
]
},
"themeId": {
"type": "string",
"minLength": 1
}
}
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string"
}
}
}
]
},
"name": {
"type": "string",
"minLength": 1
},
"value": {
"type": "object",
"required": [
"theme"
],
"properties": {
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
},
"additionalProperties": {}
}
}
}
},
"allowedChartTypes": {
"type": "array",
"items": {
"type": "string",
"examples": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
]
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string"
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
}
]
}
},
"compatibility": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"exact",
"normalized"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"classification": {
"type": "string",
"examples": [
"lossy"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes",
"unsupportedCode"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"unsupported"
]
},
"unsupportedCode": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"classification"
],
"properties": {
"classification": {
"type": "string"
}
}
}
]
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"classification": {
"type": "string",
"pattern": "^(?!(?:exact|lossy|normalized|unsupported)$)"
},
"unsupportedCode": {
"type": "string"
}
}
}
]
},
"suggestedDocument": {
"$ref": "#/$defs/szumSchema0"
}
}
},
"durableInput": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"document"
],
"properties": {
"status": {
"type": "string",
"examples": [
"ready"
]
},
"document": {
"$ref": "#/$defs/szumSchema0"
},
"sharedTheme": {
"type": "string",
"description": "Shared theme to pass to save_chart with this document"
}
}
},
{
"type": "object",
"required": [
"status",
"lossCodes"
],
"properties": {
"status": {
"type": "string",
"examples": [
"loss_acceptance_required"
]
},
"lossCodes": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
}
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string"
}
}
}
]
}
}
}{
"title": "Render chart",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}save_chart — Save chart
Use this when the user wants to permanently save and publish a Szum chart document. Validate each generated or changed chart input once before rendering, saving, or updating. Do not revalidate unchanged input; a successful render preflights it for later saves or updates. Errors block; warnings require explicit user approval for the exact chart input. Rendering may add layout warnings to the semantic findings before an action proceeds. Suggestions do not block. A suggestedDocument is a complete, validated replacement. Review the proposed changes before using it; validate again only if you modify it. Supply one idempotencyKey per intended chart and reuse it for retries. Returns permanent public Image and Embed URLs plus Edit and Studio links; requires authentication and saved-chart storage.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"document"
],
"properties": {
"document": {
"type": "string",
"description": "Complete current ChartDocument JSON with version, config, and data, plus optional presentation, size, and output. Use the same document for validation, rendering, and saving; version must match config.version. Semantic field roles must match row keys. Chronological annual values use YYYY strings on an explicit UTC scale. Column and bar charts with long, wide, or count values, and all area charts, use linear value scales. Their inferred domains include zero, while an explicit domain excluding zero produces a warning. Base-10 log roles and explicit log domains require positive finite values; use line, scatter, or ranged columns and bars."
},
"sharedTheme": {
"type": "string",
"minLength": 1,
"description": "Name of a shared theme from list_themes' workspaceThemes. The chart uses that theme and stays linked to it, so later edits to the theme reach the chart. When omitted and the document sets neither theme nor themeOverrides, the workspace's default theme applies, if it has one."
},
"acceptLosses": {
"type": "array",
"items": {
"type": "string"
},
"description": "Compatibility loss codes explicitly accepted by the user for this save"
},
"idempotencyKey": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Stable retry key of at most 255 characters; reuse only for the exact same document"
},
"acknowledgeWarnings": {
"type": "boolean",
"description": "Set true only after the user explicitly approves every warning returned for this exact document"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"view",
"id",
"title",
"imageUrl",
"embedUrl",
"editUrl",
"manageUrl",
"format",
"mimeType",
"validation",
"workspace",
"versionNumber"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"view": {
"type": "string",
"examples": [
"saved-chart"
]
},
"title": {
"type": "string"
},
"format": {
"type": "string",
"examples": [
"svg",
"png"
]
},
"editUrl": {
"type": "string"
},
"embedUrl": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"mimeType": {
"type": "string",
"examples": [
"image/svg+xml",
"image/png"
]
},
"manageUrl": {
"type": "string"
},
"workspace": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Personal, or the name of the Team workspace"
}
},
"description": "Workspace this connection saves and lists charts in"
},
"validation": {
"type": "object",
"required": [
"valid",
"diagnostics"
],
"properties": {
"valid": {
"type": "boolean"
},
"diagnostics": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_structure"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"actualBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_preference"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"role": {
"type": "string"
},
"type": {
"type": "string"
},
"parts": {
"type": "array",
"items": {
"type": "string"
}
},
"value": {
"type": [
"string",
"number"
]
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
"reason": {
"type": "string"
},
"syntax": {
"type": "string",
"examples": [
"percent",
"semantic"
]
},
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
},
"property": {
"type": "string"
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"minimumItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_data"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"field": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"expected": {
"type": "array",
"items": {
"type": "string"
}
},
"omission": {
"type": "string",
"examples": [
"incompatible",
"missing"
]
},
"rowCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"valueField": {
"type": "string"
},
"aggregation": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"categoryField": {
"type": "string"
},
"affectedCategories": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_scale"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"type": {
"type": "string"
},
"domain": {
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"maxItems": 2,
"minItems": 2
},
"reason": {
"type": "string"
},
"markTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"expectedItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"affectedValues": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"supportedTypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"duplicate_identity"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"field": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"seriesField": {
"type": "string"
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"categoryField": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"unresolved_decoration"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"value": {
"type": "string"
},
"reason": {
"type": "string"
},
"statistic": {
"type": "string"
},
"referenceIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"annotationIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"render_adjustment"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"reason": {
"type": "string"
},
"element": {
"type": "string"
},
"labelRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"workspace_rule"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"allowedThemes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"value"
],
"properties": {
"id": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"theme"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"built-in"
]
},
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
}
},
{
"type": "object",
"required": [
"kind",
"themeId"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"shared"
]
},
"themeId": {
"type": "string",
"minLength": 1
}
}
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string"
}
}
}
]
},
"name": {
"type": "string",
"minLength": 1
},
"value": {
"type": "object",
"required": [
"theme"
],
"properties": {
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
},
"additionalProperties": {}
}
}
}
},
"allowedChartTypes": {
"type": "array",
"items": {
"type": "string",
"examples": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
]
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string"
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
}
]
}
},
"compatibility": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"exact",
"normalized"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"classification": {
"type": "string",
"examples": [
"lossy"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes",
"unsupportedCode"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"unsupported"
]
},
"unsupportedCode": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"classification"
],
"properties": {
"classification": {
"type": "string"
}
}
}
]
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"classification": {
"type": "string",
"pattern": "^(?!(?:exact|lossy|normalized|unsupported)$)"
},
"unsupportedCode": {
"type": "string"
}
}
}
]
},
"suggestedDocument": {
"type": "object",
"description": "Complete current ChartDocument. get_schema returns its JSON Schema."
}
}
},
"versionNumber": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Number of the version the chart publishes now; list_chart_versions lists the earlier ones and restore_chart_version publishes one again",
"exclusiveMinimum": 0
}
}
}{
"title": "Save chart",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}list_charts — List charts
Use this when the user wants to find charts in their saved library. Returns paginated metadata and URLs, not chart documents; requires authentication. Draft-only editor charts have publishedAt null, hasDraft true, and sizeBytes 0 because sizeBytes measures only the stored published document, not draft storage.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"q": {
"type": "string",
"description": "Case-insensitive title substring search; trimmed and limited to 100 characters"
},
"sort": {
"enum": [
"updated",
"created",
"title"
],
"type": "string",
"description": "Sort by creation time (default), update time, or title A-Z"
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Page size; defaults to 100 and has a maximum of 1000"
},
"author": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "An authorId from a listed chart, or \"former\" for charts whose author has left the workspace; omit to list every author"
},
"cursor": {
"type": "string",
"description": "Opaque nextCursor from the previous page"
},
"source": {
"anyOf": [
{
"enum": [
"api",
"figma",
"app",
"mcp"
],
"type": "string"
},
{
"type": "array",
"items": {
"enum": [
"api",
"figma",
"app",
"mcp"
],
"type": "string"
},
"minItems": 1
}
],
"description": "Filter by one or more chart sources; omit to list all"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"items",
"nextCursor",
"workspace"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"source",
"title",
"createdAt",
"updatedAt",
"sizeBytes",
"publishedAt",
"imageUrl",
"embedUrl",
"documentUrl",
"hasDraft",
"authorId",
"authorName"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"title": {
"type": "string",
"description": "Saved chart title"
},
"source": {
"type": "string",
"description": "Chart origin; an open set of string values"
},
"authorId": {
"type": [
"string",
"null"
],
"description": "User id of the person who made the chart, for the author filter; null when unknown"
},
"embedUrl": {
"type": "string",
"description": "Interactive-embed URL"
},
"hasDraft": {
"type": "boolean",
"description": "Whether an unpublished editor document exists; with sizeBytes 0 the chart is draft-only, otherwise it has unpublished edits alongside a stored published document"
},
"imageUrl": {
"type": "string",
"description": "Rendered-image URL"
},
"createdAt": {
"type": "string",
"description": "ISO-8601 creation timestamp"
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
},
"updatedAt": {
"type": "string",
"description": "ISO-8601 last-update timestamp"
},
"authorName": {
"type": "string",
"description": "Name of the person who made the chart, or Former member when they no longer belong to the workspace"
},
"documentUrl": {
"type": "string",
"description": "Owner-only chart-document endpoint"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when public URLs are dark"
}
}
}
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Exact match count, present for title searches or when explicitly requested"
},
"workspace": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Personal, or the name of the Team workspace"
}
},
"description": "Workspace this connection saves and lists charts in"
},
"nextCursor": {
"type": [
"string",
"null"
],
"description": "Opaque cursor for the next page, or null on the last page"
}
}
}{
"title": "List charts",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_chart — Get chart
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"view",
"id",
"source",
"title",
"createdAt",
"updatedAt",
"sizeBytes",
"publishedAt",
"imageUrl",
"embedUrl",
"documentUrl",
"editUrl",
"manageUrl"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"view": {
"type": "string",
"examples": [
"saved-chart"
]
},
"title": {
"type": "string",
"description": "Saved chart title"
},
"source": {
"type": "string",
"description": "Chart origin; an open set of string values"
},
"editUrl": {
"type": "string"
},
"embedUrl": {
"type": "string",
"description": "Interactive-embed URL"
},
"imageUrl": {
"type": "string",
"description": "Rendered-image URL"
},
"createdAt": {
"type": "string",
"description": "ISO-8601 creation timestamp"
},
"manageUrl": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
},
"updatedAt": {
"type": "string",
"description": "ISO-8601 last-update timestamp"
},
"documentUrl": {
"type": "string",
"description": "Owner-only chart-document endpoint"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when public URLs are dark"
}
}
}{
"title": "Get chart",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_chart_document — Get chart document
Use this when the user identifies a saved chart by id and needs its complete published Szum document for inspection or reuse, or an earlier version's document from list_chart_versions. Does not return a newer editor draft; requires authentication.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Version number from list_chart_versions; omit for the published document",
"exclusiveMinimum": 0
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Complete current ChartDocument. get_schema returns its JSON Schema."
}{
"title": "Get chart document",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}list_chart_versions — List chart versions
Use this when the user wants to see a saved chart's earlier publications, find one to read with get_chart_document, or pick one to restore with restore_chart_version. Returns versions newest first with who published each, from where and what changed; requires authentication.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Page size; defaults to 100 and has a maximum of 1000"
},
"named": {
"type": "boolean",
"description": "List only versions that were given a name"
},
"cursor": {
"type": "string",
"description": "Opaque nextCursor from the previous page"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"currentVersionNumber",
"items",
"nextCursor"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"kind",
"publishedAt",
"publishedByName",
"client",
"apiKeyName",
"mcpClientName",
"changedSections",
"title",
"label",
"restoredFromVersionNumber",
"removedReason",
"isCurrent"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"create",
"publish",
"restore",
"move",
"imported"
],
"description": "How the version was made: create, publish, restore, move between workspaces, or imported from before version history"
},
"label": {
"type": [
"string",
"null"
],
"description": "Name given to the version"
},
"title": {
"type": "string",
"description": "Chart title recorded with the version"
},
"client": {
"anyOf": [
{
"type": "string",
"examples": [
"api",
"figma",
"app",
"mcp"
]
},
{
"type": "null"
}
],
"description": "Where it was published from, when known"
},
"number": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"isCurrent": {
"type": "boolean"
},
"apiKeyName": {
"type": [
"string",
"null"
],
"description": "Name of the API key that published it"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when unknown"
},
"mcpClientName": {
"type": [
"string",
"null"
],
"description": "Name of the MCP client that published it"
},
"removedReason": {
"anyOf": [
{
"type": "string",
"examples": [
"pruned",
"deleted"
]
},
{
"type": "null"
}
],
"description": "Why its content was removed: pruned to stay within storage, or deleted; a removed version can't be read or restored"
},
"changedSections": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"examples": [
"data",
"design",
"size",
"output",
"theme",
"title"
]
}
},
{
"type": "null"
}
],
"description": "What changed from the version before it; null when it can't be compared"
},
"publishedByName": {
"type": [
"string",
"null"
],
"description": "Name of the person who published it, when known"
},
"restoredFromVersionNumber": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "Version this one restored, for a restore"
}
}
}
},
"nextCursor": {
"type": [
"string",
"null"
],
"description": "Opaque cursor for older versions, or null on the last page"
},
"currentVersionNumber": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "Number of the version the chart publishes now, or null for a chart that was never published"
}
}
}{
"title": "List chart versions",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_preview_state — Get chart preview state
Use this when the Szum chart App needs to restore a rendered preview as its current transient or saved view. It is read-only, owner-scoped when authenticated, and hidden from the model.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"previewId"
],
"properties": {
"previewId": {
"type": "string",
"pattern": "^[0-9a-f]{16}$",
"description": "Opaque 16-character chart-preview id"
}
}
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"status",
"chart"
],
"properties": {
"chart": {
"type": "object",
"required": [
"view",
"id",
"source",
"title",
"createdAt",
"updatedAt",
"sizeBytes",
"publishedAt",
"imageUrl",
"embedUrl",
"documentUrl",
"editUrl",
"manageUrl"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"view": {
"type": "string",
"examples": [
"saved-chart"
]
},
"title": {
"type": "string",
"description": "Saved chart title"
},
"source": {
"type": "string",
"description": "Chart origin; an open set of string values"
},
"editUrl": {
"type": "string"
},
"embedUrl": {
"type": "string",
"description": "Interactive-embed URL"
},
"imageUrl": {
"type": "string",
"description": "Rendered-image URL"
},
"createdAt": {
"type": "string",
"description": "ISO-8601 creation timestamp"
},
"manageUrl": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
},
"updatedAt": {
"type": "string",
"description": "ISO-8601 last-update timestamp"
},
"documentUrl": {
"type": "string",
"description": "Owner-only chart-document endpoint"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when public URLs are dark"
}
}
},
"status": {
"type": "string",
"examples": [
"saved"
]
}
}
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"chart": {
"not": {}
},
"status": {
"type": "string",
"examples": [
"transient"
]
}
}
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string"
}
}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}{
"title": "Get chart preview state",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_chart — Update chart
Use this when the user wants to replace and publish a saved chart's document while keeping its id and URLs. Validate each generated or changed chart input once before rendering, saving, or updating. Do not revalidate unchanged input; a successful render preflights it for later saves or updates. Errors block; warnings require explicit user approval for the exact chart input. Rendering may add layout warnings to the semantic findings before an action proceeds. Suggestions do not block. A suggestedDocument is a complete, validated replacement. Review the proposed changes before using it; validate again only if you modify it. Refuses charts with unpublished editor changes; requires authentication and saved-chart storage.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"document"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"title": {
"type": "string",
"description": "Library title; omit to keep a renamed title, while a title that still follows the document follows the new one; an empty title follows the document"
},
"document": {
"type": "string",
"description": "Complete current ChartDocument JSON with version, config, and data, plus optional presentation, size, and output. Use the same document for validation, rendering, and saving; version must match config.version. Semantic field roles must match row keys. Chronological annual values use YYYY strings on an explicit UTC scale. Column and bar charts with long, wide, or count values, and all area charts, use linear value scales. Their inferred domains include zero, while an explicit domain excluding zero produces a warning. Base-10 log roles and explicit log domains require positive finite values; use line, scatter, or ranged columns and bars."
},
"sharedTheme": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "Name of one of the workspace's shared themes"
},
{
"type": "null"
}
],
"description": "Name of a shared theme from list_themes' workspaceThemes. The chart uses that theme and stays linked to it, so later edits to the theme reach the chart. When omitted, the chart keeps its current link unless the document sets a different theme of its own. Pass null to keep the document's own theme and end the link."
},
"acceptLosses": {
"type": "array",
"items": {
"type": "string"
},
"description": "Compatibility loss codes explicitly accepted by the user for this update"
},
"acknowledgeWarnings": {
"type": "boolean",
"description": "Set true only after the user explicitly approves every warning returned for this exact document"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"view",
"id",
"source",
"title",
"createdAt",
"updatedAt",
"sizeBytes",
"publishedAt",
"imageUrl",
"embedUrl",
"documentUrl",
"editUrl",
"manageUrl",
"validation",
"versionNumber"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"view": {
"type": "string",
"examples": [
"saved-chart"
]
},
"title": {
"type": "string",
"description": "Saved chart title"
},
"source": {
"type": "string",
"description": "Chart origin; an open set of string values"
},
"editUrl": {
"type": "string"
},
"embedUrl": {
"type": "string",
"description": "Interactive-embed URL"
},
"imageUrl": {
"type": "string",
"description": "Rendered-image URL"
},
"createdAt": {
"type": "string",
"description": "ISO-8601 creation timestamp"
},
"manageUrl": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
},
"updatedAt": {
"type": "string",
"description": "ISO-8601 last-update timestamp"
},
"validation": {
"type": "object",
"required": [
"valid",
"diagnostics"
],
"properties": {
"valid": {
"type": "boolean"
},
"diagnostics": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_structure"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"actualBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_preference"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"role": {
"type": "string"
},
"type": {
"type": "string"
},
"parts": {
"type": "array",
"items": {
"type": "string"
}
},
"value": {
"type": [
"string",
"number"
]
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
"reason": {
"type": "string"
},
"syntax": {
"type": "string",
"examples": [
"percent",
"semantic"
]
},
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
},
"property": {
"type": "string"
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"minimumItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_data"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"field": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"expected": {
"type": "array",
"items": {
"type": "string"
}
},
"omission": {
"type": "string",
"examples": [
"incompatible",
"missing"
]
},
"rowCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"valueField": {
"type": "string"
},
"aggregation": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"categoryField": {
"type": "string"
},
"affectedCategories": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_scale"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"type": {
"type": "string"
},
"domain": {
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"maxItems": 2,
"minItems": 2
},
"reason": {
"type": "string"
},
"markTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"expectedItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"affectedValues": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"supportedTypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"duplicate_identity"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"field": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"seriesField": {
"type": "string"
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"categoryField": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"unresolved_decoration"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"value": {
"type": "string"
},
"reason": {
"type": "string"
},
"statistic": {
"type": "string"
},
"referenceIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"annotationIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"render_adjustment"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"reason": {
"type": "string"
},
"element": {
"type": "string"
},
"labelRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"workspace_rule"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"allowedThemes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"value"
],
"properties": {
"id": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"theme"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"built-in"
]
},
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
}
},
{
"type": "object",
"required": [
"kind",
"themeId"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"shared"
]
},
"themeId": {
"type": "string",
"minLength": 1
}
}
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string"
}
}
}
]
},
"name": {
"type": "string",
"minLength": 1
},
"value": {
"type": "object",
"required": [
"theme"
],
"properties": {
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
},
"additionalProperties": {}
}
}
}
},
"allowedChartTypes": {
"type": "array",
"items": {
"type": "string",
"examples": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
]
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string"
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
}
]
}
},
"compatibility": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"exact",
"normalized"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"classification": {
"type": "string",
"examples": [
"lossy"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes",
"unsupportedCode"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"unsupported"
]
},
"unsupportedCode": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"classification"
],
"properties": {
"classification": {
"type": "string"
}
}
}
]
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"classification": {
"type": "string",
"pattern": "^(?!(?:exact|lossy|normalized|unsupported)$)"
},
"unsupportedCode": {
"type": "string"
}
}
}
]
},
"suggestedDocument": {
"type": "object",
"description": "Complete current ChartDocument. get_schema returns its JSON Schema."
}
}
},
"documentUrl": {
"type": "string",
"description": "Owner-only chart-document endpoint"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when public URLs are dark"
},
"versionNumber": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Number of the version the chart publishes now; list_chart_versions lists the earlier ones and restore_chart_version publishes one again",
"exclusiveMinimum": 0
}
}
}{
"title": "Update chart",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}restore_chart_version — Restore chart version
Use this when the user wants a saved chart to go back to an earlier version from list_chart_versions. Publishes that version's document again as a new version, keeping the chart's id and URLs, so the version it replaces stays restorable. Refuses charts with unpublished editor changes; requires authentication.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"version"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Version number from list_chart_versions",
"exclusiveMinimum": 0
},
"acceptLosses": {
"type": "array",
"items": {
"type": "string"
},
"description": "Compatibility loss codes explicitly accepted by the user for restoring an older document"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"view",
"id",
"source",
"title",
"createdAt",
"updatedAt",
"sizeBytes",
"publishedAt",
"imageUrl",
"embedUrl",
"documentUrl",
"editUrl",
"manageUrl",
"versionNumber"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"view": {
"type": "string",
"examples": [
"saved-chart"
]
},
"title": {
"type": "string",
"description": "Saved chart title"
},
"source": {
"type": "string",
"description": "Chart origin; an open set of string values"
},
"editUrl": {
"type": "string"
},
"embedUrl": {
"type": "string",
"description": "Interactive-embed URL"
},
"imageUrl": {
"type": "string",
"description": "Rendered-image URL"
},
"createdAt": {
"type": "string",
"description": "ISO-8601 creation timestamp"
},
"manageUrl": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
},
"updatedAt": {
"type": "string",
"description": "ISO-8601 last-update timestamp"
},
"documentUrl": {
"type": "string",
"description": "Owner-only chart-document endpoint"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when public URLs are dark"
},
"versionNumber": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Number of the version the chart publishes now; list_chart_versions lists the earlier ones and restore_chart_version publishes one again",
"exclusiveMinimum": 0
}
}
}{
"title": "Restore chart version",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}rename_chart — Rename chart
Use this when the user wants to change a saved chart's library title without changing its document, publication state, or public URLs; requires authentication.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"title": {
"type": "string",
"description": "New saved-chart title; trimmed and limited to 200 characters"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"view",
"id",
"source",
"title",
"createdAt",
"updatedAt",
"sizeBytes",
"publishedAt",
"imageUrl",
"embedUrl",
"documentUrl",
"editUrl",
"manageUrl"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
},
"view": {
"type": "string",
"examples": [
"saved-chart"
]
},
"title": {
"type": "string",
"description": "Saved chart title"
},
"source": {
"type": "string",
"description": "Chart origin; an open set of string values"
},
"editUrl": {
"type": "string"
},
"embedUrl": {
"type": "string",
"description": "Interactive-embed URL"
},
"imageUrl": {
"type": "string",
"description": "Rendered-image URL"
},
"createdAt": {
"type": "string",
"description": "ISO-8601 creation timestamp"
},
"manageUrl": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Compressed size of the stored published document, excluding drafts; 0 means no published document has been stored yet"
},
"updatedAt": {
"type": "string",
"description": "ISO-8601 last-update timestamp"
},
"documentUrl": {
"type": "string",
"description": "Owner-only chart-document endpoint"
},
"publishedAt": {
"type": [
"string",
"null"
],
"description": "ISO-8601 publish timestamp, or null when public URLs are dark"
}
}
}{
"title": "Rename chart",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}delete_chart — Delete chart
Use this when the user explicitly wants to permanently delete one saved chart. Deletion cannot be undone, and retrying an already completed deletion succeeds; requires authentication.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$",
"description": "Opaque 32-character saved-chart id"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"deleted"
],
"properties": {
"deleted": {
"type": "boolean",
"const": true
}
}
}{
"title": "Delete chart",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}list_themes — List themes
Use this when choosing a visual theme for a chart. Returns every built-in theme with guidance on where each works best and, when signed in, the workspace's shared themes.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"themes"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"description"
],
"properties": {
"name": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
},
"isDefault": {
"type": "boolean",
"description": "When signed in, whether new charts in the workspace start with it"
},
"description": {
"type": "string"
}
}
}
},
"workspaceThemes": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"description",
"isDefault"
],
"properties": {
"name": {
"type": "string"
},
"isDefault": {
"type": "boolean",
"description": "Whether new charts in the workspace start with it"
},
"description": {
"type": "string"
}
}
},
"description": "The signed-in workspace's shared themes. Pass a name as sharedTheme to render_chart, save_chart, or update_chart."
}
}
}{
"title": "List themes",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}validate_chart — Validate chart input
Use this when a chart request or document will be rendered, saved, or updated. Validate each generated or changed chart input once before rendering, saving, or updating. Do not revalidate unchanged input; a successful render preflights it for later saves or updates. Errors block; warnings require explicit user approval for the exact chart input. Rendering may add layout warnings to the semantic findings before an action proceeds. Suggestions do not block. A suggestedDocument is a complete, validated replacement. Review the proposed changes before using it; validate again only if you modify it. Read-only, free, and fast.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"chart"
],
"properties": {
"chart": {
"type": "string",
"description": "Complete current ChartDocument JSON with version, config, and data, plus optional presentation, size, and output. Use the same document for validation, rendering, and saving; version must match config.version. Semantic field roles must match row keys. Chronological annual values use YYYY strings on an explicit UTC scale. Column and bar charts with long, wide, or count values, and all area charts, use linear value scales. Their inferred domains include zero, while an explicit domain excluding zero produces a warning. Base-10 log roles and explicit log domains require positive finite values; use line, scatter, or ranged columns and bars."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"valid",
"diagnostics"
],
"properties": {
"valid": {
"type": "boolean"
},
"diagnostics": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_structure"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"maxBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"actualBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"invalid_preference"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"role": {
"type": "string"
},
"type": {
"type": "string"
},
"parts": {
"type": "array",
"items": {
"type": "string"
}
},
"value": {
"type": [
"string",
"number"
]
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
"reason": {
"type": "string"
},
"syntax": {
"type": "string",
"examples": [
"percent",
"semantic"
]
},
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
},
"property": {
"type": "string"
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"minimumItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_data"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"field": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"expected": {
"type": "array",
"items": {
"type": "string"
}
},
"omission": {
"type": "string",
"examples": [
"incompatible",
"missing"
]
},
"rowCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"valueField": {
"type": "string"
},
"aggregation": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"categoryField": {
"type": "string"
},
"affectedCategories": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"incompatible_scale"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"type": {
"type": "string"
},
"domain": {
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"maxItems": 2,
"minItems": 2
},
"reason": {
"type": "string"
},
"markTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"actualItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"sampleValues": {
"type": "array",
"items": {
"type": "string"
}
},
"expectedItems": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"affectedValues": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"supportedTypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"duplicate_identity"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"field": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
},
"samplePaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
},
"seriesField": {
"type": "string"
},
"affectedRows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"categoryField": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"unresolved_decoration"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"value": {
"type": "string"
},
"reason": {
"type": "string"
},
"statistic": {
"type": "string"
},
"referenceIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"annotationIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"render_adjustment"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"axis": {
"type": "string",
"examples": [
"x",
"y"
]
},
"reason": {
"type": "string"
},
"element": {
"type": "string"
},
"labelRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string",
"examples": [
"workspace_rule"
]
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
},
"allowedThemes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"value"
],
"properties": {
"id": {
"anyOf": [
{
"type": "object",
"required": [
"kind",
"theme"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"built-in"
]
},
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
}
},
{
"type": "object",
"required": [
"kind",
"themeId"
],
"properties": {
"kind": {
"type": "string",
"examples": [
"shared"
]
},
"themeId": {
"type": "string",
"minLength": 1
}
}
},
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string"
}
}
}
]
},
"name": {
"type": "string",
"minLength": 1
},
"value": {
"type": "object",
"required": [
"theme"
],
"properties": {
"theme": {
"type": "string",
"examples": [
"editorial",
"clean",
"noir",
"loud",
"soft",
"technical"
]
}
},
"additionalProperties": {}
}
}
}
},
"allowedChartTypes": {
"type": "array",
"items": {
"type": "string",
"examples": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
]
}
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string",
"examples": [
"error",
"warning",
"suggestion"
]
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
},
{
"type": "object",
"required": [
"severity",
"path",
"message",
"code",
"details"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
},
"details": {
"type": "object",
"required": [
"reason"
],
"properties": {
"reason": {
"type": "string"
}
},
"additionalProperties": {}
},
"message": {
"type": "string"
},
"severity": {
"type": "string"
},
"relatedPaths": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:\\/(?:[^~/]|~[01])*)*$"
}
}
},
"additionalProperties": {}
}
]
}
},
"compatibility": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"exact",
"normalized"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"classification": {
"type": "string",
"examples": [
"lossy"
]
}
}
},
{
"type": "object",
"required": [
"classification",
"lossCodes",
"unsupportedCode"
],
"properties": {
"lossCodes": {
"type": "array",
"maxItems": 0,
"minItems": 0
},
"classification": {
"type": "string",
"examples": [
"unsupported"
]
},
"unsupportedCode": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"classification"
],
"properties": {
"classification": {
"type": "string"
}
}
}
]
},
{
"type": "object",
"required": [
"classification",
"lossCodes"
],
"properties": {
"lossCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"classification": {
"type": "string",
"pattern": "^(?!(?:exact|lossy|normalized|unsupported)$)"
},
"unsupportedCode": {
"type": "string"
}
}
}
]
},
"suggestedDocument": {
"type": "object",
"description": "Complete current ChartDocument. get_schema returns its JSON Schema."
}
}
}{
"title": "Validate chart input",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}list_chart_types — List chart types
Use this when choosing a chart family. Returns every current chart type with its shared and family-specific fields.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$defs": {
"szumSchema0": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shared",
"chartTypes"
],
"properties": {
"shared": {
"$ref": "#/$defs/szumSchema0"
},
"chartTypes": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"description",
"fields"
],
"properties": {
"type": {
"type": "string",
"examples": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
]
},
"fields": {
"$ref": "#/$defs/szumSchema0"
},
"description": {
"type": "string"
}
}
}
}
}
}{
"title": "List chart types",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_examples — Get example charts
Get complete Szum documents for validation, rendering, or saving, with guidance on when to use each pattern. No filters returns one starter per chart type. Any filter searches the complete catalog; all supplied filters intersect. Most data is illustrative; the Vinyl waterfall cites RIAA reports. Empty matches mean no example satisfies every filter; remove a filter to broaden the search.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"purpose": {
"enum": [
"comparison",
"change",
"trend",
"composition",
"relationship",
"distribution",
"range"
],
"type": "string",
"description": "Filter by the primary chart question. Distribution means categorical frequencies, not automatic histogram binning. Range means bounded values, time spans, or uncertainty."
},
"features": {
"type": "array",
"items": {
"enum": [
"labels",
"time_scale",
"stacked",
"categorical_color",
"grouped",
"wide_data",
"totals",
"normalized",
"stable_colors",
"count",
"aggregation",
"signed_values",
"ranges",
"log_scale",
"size_encoding",
"sequential_color",
"diverging_color",
"intervals",
"annotations",
"missing_data",
"references",
"sparkline",
"explicit_order"
],
"type": "string"
},
"minItems": 1,
"description": "Return examples teaching every selected feature. Annotations explain data; references mark fixed values or statistics; ranges encode start/end values; intervals show lower/upper bounds around scatter observations."
},
"chart_type": {
"enum": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
],
"type": "string",
"description": "Filter examples by chart type"
},
"example_id": {
"type": "string",
"minLength": 1,
"description": "Retrieve an exact ID from an earlier example result. Intersects any other supplied filters."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"examples"
],
"properties": {
"examples": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"use_when",
"purpose",
"features",
"title",
"featured",
"request"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"purpose": {
"type": "string",
"examples": [
"comparison",
"change",
"trend",
"composition",
"relationship",
"distribution",
"range"
]
},
"request": {
"type": "object",
"description": "Complete current ChartDocument. get_schema returns its JSON Schema."
},
"featured": {
"type": "boolean"
},
"features": {
"type": "array",
"items": {
"type": "string",
"examples": [
"labels",
"time_scale",
"stacked",
"categorical_color",
"grouped",
"wide_data",
"totals",
"normalized",
"stable_colors",
"count",
"aggregation",
"signed_values",
"ranges",
"log_scale",
"size_encoding",
"sequential_color",
"diverging_color",
"intervals",
"annotations",
"missing_data",
"references",
"sparkline",
"explicit_order"
]
}
},
"use_when": {
"type": "string"
}
}
}
}
}
}{
"title": "Get example charts",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_schema — Get chart document schema
Use this before authoring an unfamiliar field instead of probing validate_chart for errors. Returns the JSON Schema for the whole Szum document, covering config, data, presentation, size, and output, with every referenced definition included. Pass chart_type to keep only that family's config variants; omitting it returns every family and is much larger. Generated value lists are summarized rather than enumerated; validate_chart remains the authority.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"chart_type": {
"enum": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
],
"type": "string",
"description": "Keep only the config variants for this chart type. Pass it whenever the family is known."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"version",
"schema"
],
"properties": {
"schema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"version": {
"type": "string"
},
"chartType": {
"type": "string",
"examples": [
"column",
"bar",
"line",
"area",
"scatter",
"pie",
"waterfall"
]
}
}
}{
"title": "Get chart document schema",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Prompts
Not advertised
Resources
3 advertised
Szum chart result
Inline previews and results for Szum chart tools
ui://szum/chart-result.htmlszum-schema
JSON Schema for the active Szum ChartDocument contract, including presentation, size, and output (version 2026-09-26)
szum://schemaszum-llms-txt
Complete API and chart-authoring reference
szum://llms-txt90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 6057 ms
- 95th percentile latency
- 7174 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 7298 ms · 16 tool(s), 3 resource(s), 0 resource template(s)
- · probe · passed · 4816 ms · metadata changed · 16 tool(s), 3 resource(s), 0 resource template(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http szum-mcp https://szum.io/mcpCodex
codex mcp add szum-mcp --url https://szum.io/mcpCursor
{
"mcpServers": {
"szum-mcp": {
"url": "https://szum.io/mcp"
}
}
}Cline
{
"mcpServers": {
"szum-mcp": {
"type": "streamableHttp",
"url": "https://szum.io/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"szum-mcp": {
"type": "http",
"url": "https://szum.io/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http szum-mcp https://szum.io/mcpClaude Desktop
https://szum.io/mcpWindsurf
{
"mcpServers": {
"szum-mcp": {
"serverUrl": "https://szum.io/mcp"
}
}
}Let your agent find its tools
Find servers like Szum MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other design servers
Do you run Szum MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.