Skip to main content
Glama
den-indance

NetMap — Network Diagram MCP

by den-indance

map_zoom_to_fit

Automatically adjust zoom and pan to fit all nodes into the viewport, with configurable padding for spacing.

Instructions

Auto-fit all nodes into the viewport by adjusting zoom and pan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paddingNoPadding around content in pixels (default 80)
Behavior3/5

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

Without annotations, the description carries the full burden. It discloses that the tool adjusts zoom and pan, but does not mention any side effects, return values, or whether the current view is permanently changed. It is basic but not misleading.

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 a single concise sentence, front-loaded with the action, with no unnecessary words.

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?

For a simple tool with one optional parameter and no output schema, the description covers the purpose and core behavior sufficiently. It lacks explicit usage guidance compared to siblings, but the core function is well-defined.

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 includes a description for the padding parameter with default value, and the tool description adds no additional parameter information. Schema coverage is 100%, so the baseline of 3 applies.

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 the specific verb 'Auto-fit' and identifies the resource as 'all nodes' within the 'viewport', clearly distinguishing it from sibling tools like map_set_zoom or map_set_canvas_offset by combining both zoom and pan adjustment.

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 implies the tool is for fitting the entire node collection into view, which is a clear use case. However, it does not explicitly compare with map_arrange or map_set_zoom, nor does it state when not to use it, so it lacks explicit alternatives or exclusions.

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/den-indance/network-diagram-mcp'

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