Skip to main content
Glama

ip_validate

Read-onlyIdempotent

Validates and classifies an IP address as IPv4 or IPv6 and public, private, or loopback to confirm its type before use.

Instructions

Validate and classify an IP address (IPv4/IPv6, public/private/loopback).

Input Schema

NameRequiredDescriptionDefault
ipYesIP address to validate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=true, so safety and side-effect behavior is covered. The description adds useful classification dimensions (IPv4/IPv6, public/private/loopback), but it does not explain what happens for an invalid IP or what the validation/classification result looks like.

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?

A single front-loaded sentence with the verb first and no redundant or filler text. Every phrase earns its place by defining the operation and the classification scope.

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?

For a simple one-parameter tool with rich safety annotations, the description is minimally adequate. However, because there is no output schema, the description should ideally state what validation returns (e.g., valid/invalid plus classification) and how malformed input is handled; those gaps leave invocation and result interpretation partly underspecified.

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 single parameter has 100% schema coverage with a clear description ('IP address to validate.'). The description adds no format details, examples, or edge-case notes beyond the schema, so the baseline of 3 applies.

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 uses a specific verb pair ('Validate and classify') and names the resource ('an IP address'), with parenthetical scope covering IPv4/IPv6 and public/private/loopback. This clearly distinguishes it from sibling lookup tools like ip_lookup or ipinfo_lookup, though it does not explicitly name those alternatives.

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?

There is no explicit guidance on when to choose this tool over the many IP-related siblings (ip_lookup, ipinfo_lookup, rdap_ip, virustotal_scan_ip, etc.). The intended use is only implied by the verb 'validate', leaving the agent to infer that this is for syntax/classification checks rather than enrichment lookups.

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

Deploy Server

Other Tools