Skip to main content
Glama

JiZhiMCP

IP 定位查询

ip_locate
Read-only

查询 IPv4 地址的归属地(国家/省市/运营商/时区)。当任务涉及"这个 IP 是哪里的/来源归属"时使用。典型输入:{"ip":"8.8.8.8"};ip 留空则查询调用方自身出口 IP。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoIPv4 地址,如 8.8.8.8;留空查询调用方自身 IP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the useful default behavior of falling back to the caller's own egress IP when ip is empty, but says nothing about failures (invalid/private IPs), rate limits, or data freshness — reasonable gaps for a read-only lookup, hence a middle score.

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?

Three short clauses: what it returns, when to use it, and a concrete example with the default behavior. The most decision-relevant information (returned fields and trigger) is front-loaded and nothing is redundant padding.

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 single-parameter read-only lookup with annotations and no output schema, the description covers purpose, outputs, trigger, and default behavior — enough to invoke it correctly. The only missing piece is sibling disambiguation against ip_info, which is a real but modest gap.

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 coverage is 100% and the single parameter already documents both the format ('如 8.8.8.8') and the empty-string fallback. The description restates the same facts with a concrete example, adding no semantics beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('查询 IPv4 地址的归属地') and enumerates the returned fields (国家/省市/运营商/时区), which is far more concrete than the generic title. However, a sibling named ip_info exists and the description never explains how this tool differs from it, leaving the agent to guess between two apparently overlapping tools.

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 an explicit trigger condition ('当任务涉及"这个 IP 是哪里的/来源归属"时使用'), which is clear enough to select the tool in context. It stops short of any when-not guidance or naming an alternative such as ip_info, so routing between siblings is still unstated.

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.