Skip to main content
Glama

my_public_ip

Get the public IP address the internet sees for your machine, along with edge location, reverse DNS, ASN, organisation, and datacenter/VPN hint.

Instructions

The public IP address the internet sees this machine as, with the edge location that saw it, reverse DNS, the network's ASN and organisation, and a datacenter/VPN hint. Needs an outside observer, so this one talks to Cloudflare's trace endpoint and Team Cymru's ASN DNS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral disclosure burden and does so well. It transparently reveals that the tool makes external network calls to Cloudflare's trace endpoint and Team Cymru's ASN DNS, and explains why an outside observer is needed. This gives the agent important context about network dependence and external service usage without any contradictions.

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 two sentences with no wasted words. The first sentence front-loads the tool's output and core value, while the second sentence adds necessary behavioral context about external dependencies. Every phrase contributes meaning.

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

Completeness5/5

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

For a zero-parameter tool with no output schema, the description is complete: it enumerates all returned data fields, explains the mechanism, and implies the need for internet connectivity. An agent can decide to invoke the tool and know what to expect from the response.

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

Parameters4/5

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

The input schema has zero parameters, and the baseline for zero-parameter tools is 4. The description reinforces that the tool operates on 'this machine' and requires no caller-supplied input, so an agent knows there are no arguments to configure.

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 states exactly what the tool returns: the public IP address as seen from the internet, plus edge location, reverse DNS, ASN, organisation, and datacenter/VPN hint. It clearly identifies a specific resource and outcome, though it lacks an explicit verb like 'gets' or 'returns.' The subject matter also differentiates it from siblings like reverse_dns and dns_lookup, which focus on other DNS/IP lookups.

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?

Usage context is implied rather than stated: the description indicates this tool requires an outside observer and external network calls, so it should be used when an agent needs the machine's egress/public IP. However, it does not explicitly say when not to use it or name alternative tools for related needs, such as reverse_dns for a specific IP's PTR record.

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

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/labaccessnow/netip-mcp'

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