Skip to main content
Glama

Create a simple ordered flowchart scene

create_flowchart_scene
Read-onlyIdempotent

Creates a one-row or one-column diagram scene from ordered nodes and edges, placing items by input order with fixed spacing and returning JSON for review or Draw.io export.

Instructions

Create a simple one-row or one-column scene from ordered nodes and references. Positions follow input order with fixed spacing, not graph optimization or image recognition. Returns scene JSON for review and export_drawio. Maximum 30 nodes and 60 edges.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "nodes": "<nodes>"
    },
    "name": "create_flowchart_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgesNo
nodesYes
directionNoLR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: deterministic fixed-spacing placement, hard caps of 30 nodes and 60 edges, and that the return value is a scene JSON object. It omits what happens when caps or ID constraints are violated, keeping it below a 5.

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?

Three short sentences, each earning its place: capability and layout rule first, negative scope next, contract and limits last. No redundant restatement of the name or annotations, and the most decision-relevant constraint is front-loaded.

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?

With no output schema, the description correctly states the return value and points to export_drawio, and it discloses the node/edge caps. For a three-parameter creation tool this is nearly complete; only failure behavior on limit or ID violations is left unstated.

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 0%, so the description must carry parameter meaning. It partially compensates by explaining that ordering of nodes drives position and that layout is one-row vs one-column (implying the direction enum), but it never names the direction field or its LR/TB values, nor does it explain edges/source/target, id patterns, or the shape enum. Coverage of the three parameters is therefore partial.

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 names a specific verb and resource ('Create a simple one-row or one-column scene from ordered nodes and references') and explicitly bounds scope, stating that positions follow input order rather than graph optimization or image recognition. This makes it distinguishable from layout-optimizing or image-derived alternatives without opening the schema.

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

Usage Guidelines4/5

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

It gives clear context for use: simple linear layouts driven by input order, plus a downstream hop ('Returns scene JSON for review and export_drawio'), which routes the agent correctly. It does not explicitly address when to prefer validate_diagram_scene or what to do when the graph is non-linear beyond the negative constraints, so it stops short of full when/when-not guidance.

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