Skip to main content
Glama
excalidraw-mcp

excalidraw-mcp

by thiendt1608

get_scene_json

Retrieve the complete .excalidraw scene as a valid JSON string for saving, sharing, or exporting diagrams.

Instructions

Get the full valid .excalidraw file JSON content as string.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_scene_json"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose that the return is the 'full' scene and that it is 'valid' .excalidraw JSON, which tells the agent the payload is complete and parseable, but it says nothing about payload size, whether uncommitted state is included, or any read cost for large canvases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the key noun phrase ('.excalidraw file JSON content as string') carries all the information needed. Nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read with no output schema, the description does the essential job of saying what comes back: the full valid .excalidraw JSON as a string. It falls short only on operational details like expected payload size for large scenes, which matters given the 'full' scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema offers nothing to misinterpret and the description needs no parameter detail. Baseline of 4 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Get') and resource ('full valid .excalidraw file JSON content as string'), making it clear this returns the entire scene serialized as JSON rather than a filtered subset. It implicitly distinguishes itself from file-writing siblings by specifying 'as string', but never names a sibling such as export_file to make the distinction explicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no statement of when to prefer this over export_file or query_elements, and no prerequisites mentioned. The only signal is implied by 'as string', leaving the agent to infer that this is for reading raw scene data in-context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.