Skip to main content
Glama

IP 定位信息

ip_info
Read-only

查询 IPv4 地址的地理位置与网络信息(国家/省市/运营商/时区),ip 留空查出口 IP。Example: {"ip":"8.8.8.8"}

Input Schema

NameRequiredDescriptionDefault
ipNoIPv4 地址,如 8.8.8.8;留空查询当前出口 IP

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "ip": "8.8.8.8"
      +  }
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered by structured data. The description adds the meaningful behavior that a blank ip returns the caller's egress IP, but says nothing about latency, rate limits, failure modes, or the response shape.

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?

One sentence plus a compact example object: no filler, and the main purpose is front-loaded before the blank-ip caveat and example.

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-optional-parameter read tool with annotations and no output schema, the description covers what it does, the return fields, and the empty-parameter case. Adequate; only the sibling overlap with ip_locate is left unresolved.

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 single 'ip' parameter already documents the 'blank means current egress IP' behavior, so the description largely restates the schema. Baseline 3 applies; no extra syntax or format detail is added.

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 a specific verb (查询) and resource (IPv4 地址的地理位置与网络信息) and enumerates what comes back: country/province/city/carrier/timezone. It is clear on its own, but a sibling named 'ip_locate' implies nearly the same operation and the description does nothing to distinguish the two.

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?

The only usage rule given is that an empty 'ip' queries the caller's own egress IP, which is genuinely useful. There is no guidance on when to prefer this tool over the sibling ip_locate, and no stated constraints or prerequisites.

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.