Skip to main content
Glama

geoip_lookup

Read-onlyIdempotent

Get geographic location data for IP addresses. Supports manual entry or extraction from PCAP files.

Instructions

Look up geographic information for IP addresses.

Can check specific IPs or extract all from a PCAP file.

Args: ip_addresses: Comma-separated IP addresses (e.g., '1.1.1.1,8.8.8.8') filepath: PCAP file to extract IPs from (optional, overrides ip_addresses if provided)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ip_addressesYes
filepathNo
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description is consistent. It adds the behavioral detail that filepath overrides ip_addresses when provided, which is useful but not extensive.

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 concise: two sentences plus two bullet-style lines for args. It front-loads the purpose and usage modes, with no wasted 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 lookup tool with readOnlyHint, the description covers inputs and behavior. It does not mention output format, but that is often self-explanatory. With no output schema, it is adequately complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by explaining ip_addresses as comma-separated IPs with an example and filepath as an optional PCAP file that overrides ip_addresses. This adds significant meaning beyond the bare schema.

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 it looks up geographic information for IP addresses, with specific verb 'look up geographic information'. It distinguishes from siblings like analyze_pcap_file or check_ip_threat_intel by focusing on geographic lookup.

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 provides clear contexts: checking specific IPs or extracting from PCAP files. It does not explicitly state when not to use or compare to sibling tools, but the guidance is sufficient for most use cases.

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/cortexc0de/netmcp'

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