lookup_ip
Validate an IPv4/IPv6 address and return its version, scope (public/private/loopback/...), country, ASN and network owner (DB-IP Lite + IPtoASN data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address |
Validate an IPv4/IPv6 address and return its version, scope (public/private/loopback/...), country, ASN and network owner (DB-IP Lite + IPtoASN data).
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full disclosure burden. It usefully names the data sources (DB-IP Lite, IPtoASN) and enumerates returned fields, which signals a read-only enrichment lookup, but it omits rate limits, behavior on unparseable input, and whether a lookup can fail for unknown addresses.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single dense sentence that front-loads the action and then lists the return payload, with the parenthetical source attribution adding provenance rather than noise. Nothing is redundant, though the enumeration is long enough that it borders on cramming several payload concepts into one clause.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description correctly compensates by enumerating the returned fields (version, scope, country, ASN, owner). It is nearly complete for a one-parameter lookup, missing only edge-case behavior such as invalid-IP errors or unresolvable private-range lookups.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single 'ip' parameter is already documented as 'IPv4 or IPv6 address'. The description restates the same accepted formats without adding syntax, normalization, or CIDR-handling detail, so the schema does the heavy lifting and baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource plus an explicit return payload (version, scope, country, ASN, owner), so the enrichment intent is clear. It fails to differentiate from siblings, however: it leads with 'Validate', which overlaps directly with the sibling validate_ip, and the ASN/owner data also overlaps with whois_lookup, so an agent cannot cleanly separate this tool from those without inspecting schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this tool versus validate_ip, whois_lookup, batch_lookup_ip, or get_my_ip. The only cue is implicit in the return fields. An agent gets no explicit routing guidance despite a crowded sibling set with adjacent purposes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.