Skip to main content
Glama
FRANhss

Agent中国通

by FRANhss

公网 IP 归属地查询

cn_ip_lookup
Read-onlyIdempotent

Look up public IP information including country, region, city, ISP, and ASN. Returns current public IP details without an input.

Instructions

查询公开 IP 的国家/地区/城市/运营商/ASN 等信息;不传 IP 时查询当前公网出口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNo公网 IPv4/IPv6;不传则查询当前出口 IP。
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and open-world hints. The description adds valuable context about the default behavior when no IP is provided, and what information is returned, which goes beyond the annotations.

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?

Two short sentences, no extraneous words. The information is front-loaded and every sentence adds value.

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 simple tool with one optional parameter and no output schema, the description covers purpose, parameter semantics, default behavior, and output contents. It is fully adequate.

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 schema has 100% description coverage for the single optional parameter, including the default behavior. The tool description adds the list of returned fields (country, region, city, ISP, ASN), enriching understanding beyond the schema alone.

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 queries geolocation info (country, region, city, ISP, ASN) for a given public IP, and defaults to the current egress IP if none is provided. This is specific and distinguishes it from sibling tools like cn_amap_geocode which handle address geocoding.

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 explains when to use: for IP geolocation lookup or to check the current egress IP. While it does not explicitly exclude other tools, the context and sibling names make it obvious that this is for IPs, not addresses or weather. The default behavior is also clarified.

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/FRANhss/Agent-'

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