Skip to main content
Glama

calmlet-mcp

ip_lookup

Look up one IPv4 address: country code + name, continent, region/state, city, latitude/longitude, ASN number + organization name, from the DB-IP Lite database (CC BY 4.0, November 2026 edition). IPv6 is not supported in v1. Timezone is not available in DB-IP Lite and is not included. Costs $0.001 USDC per call, paid via x402 on Base.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ip": "<ip>"
    },
    "name": "ip_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 address to look up, e.g. 8.8.8.8

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it names the data source and edition (DB-IP Lite, November 2026, CC BY 4.0) and, importantly, states the cost ($0.001 USDC per call via x402 on Base), which is a real behavioral constraint. It stops short of describing failure behavior (e.g., what happens on a malformed or IPv6 input) or rate limits, so it is not complete.

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?

Front-loaded with the returned fields, then constraints, then cost — each sentence carries information an agent needs before calling. The field enumeration is list-like and slightly dense, but nothing is wasted or redundant.

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 single-parameter tool with no output schema, the description enumerates the return fields, the source, the unsupported cases, and the payment model, which is everything required to call it correctly. No significant gap remains.

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?

Schema description coverage is 100% and the schema already includes the type and the example 8.8.8.8. The description adds only the constraint that the input must be an IPv4 address, matching the stated v1 limitation, which is marginal value over the 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?

Names a specific verb (look up) and resource (one IPv4 address) and enumerates exactly what is returned: country code/name, continent, region/state, city, lat/long, ASN number and org. It also bounds the scope (IPv4 only in v1), so an agent knows precisely what it does and does not get.

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?

Gives clear exclusions — IPv6 is not supported in v1 and timezone is not available in DB-IP Lite — which tells the agent when this tool will not satisfy a request. It does not name any alternative tool or state prerequisites, but no sibling here performs the same lookup, so the remaining gap is minor.

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.