Skip to main content
Glama

Document network

document_network
Read-only

Document an existing network by reading nodes and connections. Outputs counts by operator family and type, plus a Mermaid flowchart of data flow, for documentation or handoff.

Instructions

Document an EXISTING network: read its nodes and connections and return a readable map — counts by operator family and type, plus a Mermaid flowchart of the data flow you can paste into docs. Unlike plan_visual (which plans from a description), this describes what's actually in the project. Use it to explain or hand off a patch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoNetwork root to document./project1
recursiveNoInclude all descendants (otherwise just the direct children).
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is known, but the description adds valuable behavioral context: it reads nodes/connections and returns counts plus a Mermaid flowchart. It also clarifies scope (existing network) and that it does not plan or create. This goes beyond the annotations without contradicting them.

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 sentences, each earning its place: first defines the function and output, second contrasts with a sibling tool, third gives a clear use case. No filler words, well front-loaded with the core action and deliverable.

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

Completeness5/5

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

With only two parameters, no output schema, and readOnly annotations, the description fully explains what the tool returns (readable map with counts and Mermaid flowchart), what it operates on (existing network), and when to use it (explain/hand off a patch). No missing information for a tool of this complexity.

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?

The input schema already provides 100% coverage for both parameters (path with default and description, recursive with default and description). The description adds no parameter-specific detail, but the schema handles that burden. Baseline 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?

Clearly states it documents an existing network by reading nodes and connections and returning a readable map with counts by operator family/type plus a Mermaid flowchart. Explicitly distinguishes itself from the sibling plan_visual by focusing on the actual project state rather than a plan.

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

Usage Guidelines5/5

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

Gives explicit comparison with plan_visual: 'Unlike plan_visual (which plans from a description), this describes what's actually in the project.' Also names concrete use cases: 'Use it to explain or hand off a patch.' This tells the agent exactly when to choose this tool over the alternative.

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

Install Server

Other Tools

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/lucasmaher-hash/touch-designer-mcp'

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