Skip to main content
Glama

scan_network

Discover active devices on your local network. Returns IP addresses, hostnames, and open ports to identify connected hosts and troubleshoot connectivity issues.

Instructions

Scan the local network to discover active devices. Returns IP addresses, hostnames, and open ports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_ipNoEnding IP address (last octet, default: 254)
start_ipNoStarting IP address (last octet, default: 1)
network_prefixNoNetwork prefix (e.g., 192.168.1). Leave empty to auto-detect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description must carry full weight for behavioral disclosure. It mentions scanning and return data but does not disclose potential side effects, permission requirements, network impact, or performance considerations, which are important for a network scanning tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded with the main action and outcome. It efficiently conveys the function and return data without unnecessary information.

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

Completeness2/5

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

This tool is the most complex among siblings and has no annotations or output schema, yet the description only covers basic functionality. It lacks important details such as expected runtime, security considerations, and how to interpret results, making it insufficient for complete understanding.

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 all three parameters, including defaults and examples. The description does not add additional semantic detail beyond what the schema provides, which is acceptable given full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool scans the local network to discover active devices and lists the returned data (IP addresses, hostnames, open ports). It is specific enough to understand the main purpose, though it does not explicitly distinguish it from sibling tools.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus alternatives, nor any mention of prerequisites like network permissions or limitations. The description only states what it does, leaving usage context to be inferred.

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