Skip to main content
Glama
labeveryday
by labeveryday

ip_in_subnet

Check whether an IP address falls within a given subnet and verify if it is a usable host address, preventing network and broadcast address errors.

Instructions

Check if an IP is in a subnet and whether it is a usable host address.

NOC use cases:

  • "Is this IP in this VLAN subnet?"

  • Catch network/broadcast mistakes (/24 .0 / .255) quickly

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes
cidrYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the basic checks (membership and usability) without explaining error handling, validation, or output format. This is minimal transparency for a tool with no 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?

The description is extremely concise—two sentences plus a bullet list—with no redundant information. It front-loads the core functionality and immediately provides actionable use cases.

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

Completeness3/5

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

Given the tool's simplicity and lack of output schema, the description adequately covers functionality but omits return type information. An agent would benefit from knowing whether it returns a boolean, structured result, or error messages.

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 0%, so the description must compensate. It implicitly refers to parameters via examples (e.g., '/24 .0 / .255'), but does not explicitly define the expected format for 'ip' (e.g., '192.168.1.1') or 'cidr' (e.g., '192.168.1.0/24'). Partial compensation.

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 checks if an IP is in a subnet and whether it is a usable host address. This specific verb+resource combination distinguishes it from siblings like 'ip_in_vlan', which checks VLAN membership but not usability.

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

Usage Guidelines3/5

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

The description provides two NOC use cases that imply when to use the tool (e.g., checking VLAN subnet membership or catching broadcast mistakes). However, it does not explicitly state when not to use it or mention alternatives like 'cidr_info' or 'check_overlaps'.

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/labeveryday/network-mcp'

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