Skip to main content
Glama

IP-API.io

ip_reputation

ip_reputation
Destructive

Return a composite IP reputation score and per-signal risk breakdown.

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": {
      "api_key": "<api_key>",
      "ip": "<ip>"
    },
    "name": "ip_reputation"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address to score.
api_keyYesip-api.io API key.

Output Schema

NameRequiredDescriptionDefault
ipNo
emailNo
scoreYes
factorsYesComprehensive breakdown of factors contributing to the risk score calculation. This object separates analysis results into IP-specific and email-specific factors, allowing for granular understanding of what influenced the final risk score. **Null Handling**: - ip_factors: null when no IP was analyzed - email_factors: null when no email was analyzed **Score Calculation**: The final risk score is calculated by averaging the individual IP and email risk scores.
risk_levelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations flag destructiveHint=true, openWorldHint=true, and idempotentHint=false, which for a scoring endpoint likely means quota/credit consumption and external lookups — none of that is disclosed or contextualized. The description does not contradict the annotations (a 'return' of a score is consistent with a non-readOnly scoring call), but it adds no behavioral context such as cost, key requirements, or repeat-call caution.

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?

A single well-formed sentence with the key output expectation front-loaded and no filler. It is efficient, though its brevity leaves little room for the guidance an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and both params are documented. But the tool carries non-trivial annotations (destructive, open-world, non-idempotent) with no explanation of cost, auth prerequisites, or how it differs from the many other IP/risk tools, leaving the definition under-specified for its complexity.

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?

Both parameters are fully described in the schema (100% coverage), including that ip accepts IPv4 or IPv6 and that api_key is an ip-api.io key, so the baseline is 3. The description contributes nothing about parameter semantics, such as input validation behavior or what a malformed address yields.

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 pairs a concrete verb and resource ('Return a composite IP reputation score') and adds scope detail ('per-signal risk breakdown'), so the agent knows exactly what comes back. It does not, however, distinguish itself from siblings such as ip_abuse_check, ip_blacklist_check, or risk_score, which an agent must choose between.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no statement of what this composite score is for versus signal-specific siblings like ip_abuse_check or the generic risk_score. The agent must infer selection purely from the name.

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.

Resources