Skip to main content
Glama

Zindex

Save a diagram

diagram_create

Saves a new diagram from a DSP scene or Mermaid text and returns its id, revision 1, content hash and chain hash. key is your stable name for it, unique in the account: repeating a create with the same key and content returns the existing diagram, not a copy. brief stores context for the next agent. Versions are kept until you delete the diagram or the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoe.g. payments-architecture
briefNoWhat the diagram shows, conventions to keep, decisions made
sceneNohttps://zindex.ai/schemas/scene.schema.json
mermaidNoerDiagram or flowchart (graph); drops subgraphs, edges to them and styles
messageNoOne line on why it was made

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
keyNo
hashYes
noopNo
chainYes
changedNo
createdNo
replayedNo
revisionYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources