Skip to main content
Glama

Get network topology

get_td_topology
Read-only

Returns the node network wiring under a specified root, including connection count and flagged structural issues. Use to understand how nodes are wired together.

Instructions

Read-only: return the nodes AND the connections (wiring) under a network root, flagging obvious structural issues. Returns {nodeCount, connectionCount, issues[], topology}. Use this when you need how nodes are wired together; use get_td_nodes/find_td_nodes when you only need the node list without connections, or snapshot_td_graph when you also want each node's parameters captured for diffing. Token economy: point it at a specific network root rather than the project root, and leave recursion off unless you need nested networks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
root_pathNoNetwork root to map./project1

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe network root that was mapped, echoing the request.
issuesYesPlain-language structural problems detected, e.g. dangling or orphaned nodes.
topologyYesThe full graph: the node list and the connection list.
nodeCountYesTotal number of nodes found under the root.
connectionCountYesTotal number of wires (connections) between those nodes.
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false. The description adds 'Read-only' confirming safety, and discloses additional behavior: returns nodeCount, connectionCount, issues[], topology, and flags obvious structural issues. This adds useful context beyond annotations.

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 plus a concise token economy tip. Information is front-loaded with purpose, then usage, then optimization. No unnecessary words.

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?

Given the tool has an output schema, the description needn't detail return values but summarizes them. The single optional parameter, combined with clear usage guidance and behavior description, makes this fully complete for an agent to select and invoke correctly.

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?

Schema covers the single parameter (root_path) 100%, with a description. The description adds usage advice (point at specific network root) which provides actionable guidance beyond schema, improving parameter clarity.

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 states the tool returns nodes and connections (wiring) under a network root, flagging structural issues. It uses a specific verb ('return') and resource ('network topology'), and distinguishes from sibling tools like get_td_nodes and snapshot_td_graph.

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?

Explicitly tells when to use this tool ('when you need how nodes are wired together'), when not to (use get_td_nodes/find_td_nodes for node lists without connections, snapshot_td_graph for parameters), and gives token economy advice (point at specific network root, leave recursion off).

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