Skip to main content
Glama

Document network

document_network
Read-only

Read an existing network's nodes and connections to produce a readable map with counts by operator family and type, plus a Mermaid flowchart 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).
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description aligns perfectly, stating 'read its nodes and connections' (read-only) and 'return a readable map'. It adds behavioral detail about the output (counts, flowchart) beyond annotations, with no contradictions.

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?

Two sentences, no wasted words, front-loaded with the action verb and resource. Provides clear distinction from a sibling tool and a usage hint in a compact form.

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?

The description explains the output (readable map, counts, Mermaid flowchart) even though there is no output schema. It positions the tool well against plan_visual. However, it does not mention error scenarios or format details for the output, which could be improved but is acceptable given the tool's simplicity.

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 (path, recursive) with clear defaults and descriptions. The description adds no additional detail about parameters, so 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?

The description uses specific verb 'Document' and resource 'EXISTING network', and explicitly contrasts with sibling 'plan_visual' by stating it describes what's actually in the project vs planning from a description. The output is clearly defined: counts by operator family/type and a Mermaid flowchart.

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?

The description provides explicit guidance: 'Use it to explain or hand off a patch.' It also contrasts with plan_visual for when not to use (if planning from a description). However, it does not mention prerequisites or other alternatives beyond plan_visual.

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/Pantani/tdmcp'

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