Skip to main content
Glama

What's my IP address

whats_my_ip
Read-onlyIdempotent

Return the public IP address your request reaches WorldIP from, with the same profile lookup_ip gives (owner/ASN, country, region, city, reverse DNS; IPv4 also domains_hosted). Use it when the user asks for their own IP, ISP or location; for any other address call lookup_ip. On a hosted or cloud MCP client this is the platform's outbound IP, not the end user's device. If that address is private or reserved, the result is only the ip and a note, with no profile. Takes no arguments. Free and keyless, limited per calling IP to 60 calls a minute and 1,000 a UTC day (shared with the keyless JSON API); a limited call says when to retry.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whats_my_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses the degraded-result behavior for private or reserved addresses (only ip plus a note, no profile) and full rate limits (60/minute, 1,000 UTC day, shared with the keyless JSON API) including the retry signal. This is exactly the behavioral context annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense paragraph that front-loads the core action, the sibling routing rule, the platform caveat, and the limits in that order. Every sentence carries information, with only 'Takes no arguments' being mildly redundant given the empty input schema.

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, keyless lookup with no output schema, the description covers return shape, edge-case output, sibling routing, client-context caveat, and rate limiting. Nothing an agent needs to invoke it correctly or interpret results is missing.

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 tool takes zero parameters, so the baseline is 4; the description reinforces this with 'Takes no arguments,' though that is largely redundant with the empty schema. No parameter meaning needs to be added here.

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 uses a specific verb and resource ('Return the public IP address your request reaches WorldIP from') and enumerates the returned profile fields (owner/ASN, country, region, city, reverse DNS, domains_hosted). It explicitly distinguishes itself from the sibling lookup_ip by scope — self IP versus any other address.

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

Usage Guidelines5/5

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

It states the exact trigger ('when the user asks for their own IP, ISP or location') and the exclusion with the named alternative ('for any other address call lookup_ip'). It also adds a critical context caveat that on hosted/cloud MCP clients the result is the platform's outbound IP, not the user's device.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.