Skip to main content
Glama
IPGeolocation

IP Geolocation MCP Server

VPN/Proxy/Threat Detection

check_security
Read-only

Check an IP address for security threats including VPN, proxy, Tor, and spam activity. Returns threat score and provider confidence details.

Instructions

Read-only security lookup via GET /v3/security. Paid only. Cost: 2 credits. Use only for security/threat data; use lookup_ip with include=security when the same request also needs location, ASN/company, network, timezone, currency, or abuse.

Returns { ip, security } with threat_score, VPN, proxy, residential proxy, Tor, relay, anonymity, bot, spam, known attacker, and cloud-provider fields; provider names, confidence scores, and last_seen dates appear when available.

fields/excludes use comma-separated security.* dot paths; ip is always returned. force_refresh bypasses cache only when the user asks. Call once per IP target and post-process locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoIPv4 or IPv6 address to check. Omit to check the caller's IP.
fieldsNoComma-separated dot-path fields to return (e.g. security.threat_score,security.is_vpn). Reduces response size.
excludesNoComma-separated dot-path fields to exclude (e.g. security.is_tor,security.is_cloud_provider).
force_refreshNoDefault false. Set true only when the user asks to refresh cached security data; a successful refresh makes a new upstream request and can consume credits.
Behavior5/5

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

Annotations provide readOnlyHint=true, which the description reinforces. It adds significant behavioral details: paid tool with 2 credits cost, return structure (ip, security with many subfields), use of fields/excludes, force_refresh caching behavior, and that provider names appear when available. This goes well beyond the annotation.

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?

Every sentence adds value. The description is front-loaded with key information (read-only, paid, cost) and structured logically. No wasted words; it's concise yet comprehensive.

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?

Given the complexity (4 optional params, no output schema, many siblings), the description is thorough. It covers return fields, filtering, caching, usage context, and alternative tools. The only minor gap is not describing the exact output JSON structure in more detail, but the listed fields suffice.

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?

Schema coverage is 100% so baseline is 3. The description adds extra semantics: fields/excludes use comma-separated security.* dot paths; ip is always returned; force_refresh should only be set on explicit user request and can consume credits. This adds value beyond the schema descriptions.

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 the tool performs a 'Read-only security lookup via GET /v3/security.' It specifies the resource (security) and the action (lookup/check). It distinguishes itself from sibling tools like lookup_ip, which can include security data alongside other information.

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?

The description explicitly states when to use this tool ('only for security/threat data') and directs to lookup_ip with include parameter when additional data types are needed. This provides clear guidance and an alternative, helping the agent choose correctly.

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/IPGeolocation/ipgeolocation-io-mcp'

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