Skip to main content
Glama

IP-API.io

risk_score_self

risk_score_self
Destructive

Calculate fraud risk for the MCP HTTP client's peer IP address, optionally correlated with an email address.

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>"
    },
    "name": "risk_score_self"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoOptional email address to correlate with the peer IP.
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

A3.5/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=true, and the description usefully clarifies that the IP is taken implicitly from the caller rather than passed as a parameter. It does not explain the destructive/non-idempotent behavior, whether the call consumes credits, or what happens when email correlation fails, so context beyond the structured hints is thin.

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?

A single front-loaded sentence with no filler; the implicit-IP scope and optional email correlation are both stated up front.

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

Completeness3/5

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

With an output schema present, return values need not be described, and the key scoping detail (implicit peer IP) is covered. Still missing is any explanation of the destructiveHint=true / non-idempotent behavior an agent calling a 'calculate' tool would not expect, and no mention of the required credential beyond the schema.

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%, so both parameters are already documented, and the description correctly frames email as an optional correlation input. It adds no format or validation detail (e.g., what a valid email correlation yields) 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?

The description uses a specific verb and resource ('Calculate fraud risk') and scopes it to the MCP HTTP client's peer IP, which is a meaningful distinction from a generic IP-risk or email-risk call. It does not name sibling tools like risk_score or email_risk_score, so the differentiation must be inferred from the scope wording alone.

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 word 'optionally' signals when to supply email (correlated vs. IP-only lookups), giving implied usage guidance. However, there is no explicit statement about when to prefer this over risk_score or email_risk_score, nor any note about the required API key or quota cost.

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