Skip to main content
Glama
dabian321

drawio-parser-mcp

by dabian321

list_cells

List all shapes and connections in a Draw.io diagram, returning each cell's ID, type, label, and connection data for structural analysis.

Instructions

List all cells (shapes and connections) in a Draw.io diagram. Returns cell IDs, types, labels, and connections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xml_contentYesThe Draw.io XML content
include_system_cellsNoInclude system cells (id 0, 1). Default: false

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It communicates that the tool is read-only in nature ('List', 'Returns') and what output to expect, which is useful. However, it does not disclose behavior around malformed XML, how system cells are treated beyond the schema default, or any limitations on result size or structure.

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

Conciseness5/5

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

The description is two concise sentences with no filler. The core action and output contract are front-loaded, and every sentence adds value.

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?

Despite lacking an output schema and annotations, the description states the input (implicitly the diagram XML), the scope of cells returned, and the output fields. It is nearly complete for a simple listing tool; the main gap is usage routing among siblings and error behavior, which are minor for this operation.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents both parameters adequately. The description does not add additional meaning about xml_content or include_system_cells beyond what the schema provides, so the baseline score of 3 is appropriate.

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

Purpose5/5

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

The description clearly identifies the operation as listing all cells in a Draw.io diagram, specifies that this includes shapes and connections, and states the returned fields (IDs, types, labels, connections). This makes the tool's purpose distinct from siblings like validate_drawio, parse_drawio, and find_cell.

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?

The description gives no explicit guidance on when to use this tool versus alternatives such as find_cell or get_diagram_summary. It implies a broad listing use case but does not state when a more targeted or analytical sibling would be preferable.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dabian321/pyDrawioParserMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server