Skip to main content
Glama

Zindex

Read a diagram

diagram_get
Read-onlyIdempotent

Reads a saved diagram by id or key. The default outline is a header (id, title, revision, time, hash), the brief, recent versions, one element per line nested by container, and edges as 'id: from -> to'. view 'dsp' returns the scene JSON; 'mermaid' returns Mermaid to edit and send back to diagram_edit. revision or asOf reads an earlier version; knownRevision, only what changed since; elements, only those elements and their neighbors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe diagram's id or key
asOfNo2026-06-30 (end of day, UTC) or ISO 8601 with an offset
viewNoDefault outline
cursorNonextCursor from the previous page
elementsNoElement ids to focus on
revisionNoOmit for the latest
knownRevisionNoA revision you already know

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