Skip to main content
Glama

OceanAlt Pre-Payment Checks

Screen a payment endpoint for phishing (free)

screen_endpoint
Read-onlyIdempotent

Screen a payment ENDPOINT (URL or domain) before calling it — the half that address screening cannot answer. In x402 the agent discovers a URL first, receives a 402, and only then learns where to pay: if that endpoint is spoofed, the payee address it hands back is freshly generated and appears on no sanctions list. Checks the hostname and its parent domains against phishing-domain intelligence plus hostname shape signals (bare IP, punycode homograph, deep subdomain nesting, free hosting). Returns clear | caution | risky | unknown with language-independent signal_keys. A clear verdict means no match was found, NOT that the endpoint is safe — freshly registered phishing hosts always precede any list. It does not check the payee address. Free, no API key.

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": {
      "url": "<url>"
    },
    "name": "screen_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL or bare domain of the payment endpoint, e.g. https://pay.example.com/x402 or pay.example.com
langNoLanguage for human-readable fields. Defaults to English.

Output Schema

NameRequiredDescriptionDefault
codeNoInput error code, e.g. unknown_network, network_address_mismatch, unparsable_url.
hostNo
noteNo
riskNoRounded to 10 when detail_level is coarse.
errorNoPresent only on an input error (isError: true).
inputNo
retryNo
signalsNoHuman-readable. Do not branch on these.
verdictNoclear means no match in the data held, not that it is safe. uncertain must never be treated as clear.
evidenceNo
imitatesNoPresent when the host imitates a known brand.
listed_asNoPresent when the host or a parent domain is on a phishing list: source, label, firstSeen, lastSeen, delistedAt.
risk_bandNo
retry_hintNo
signalKeysNoDeprecated alias of signal_keys with the same values. Still returned for compatibility. Read signal_keys instead.
detail_noteNo
reason_codeNoStable reason code; table at https://oceanalt.com/api/contract.
signal_keysNoCanonical field. Language-independent keys. Branch on these. Full list at https://oceanalt.com/api/contract.
detail_levelNo
signal_classNo
accepted_networksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / signalKeys
      Added value: +{
      +  "description": "Deprecated alias of signal_keys with the same values. Still returned for compatibility. Read signal_keys instead."
      +}
    • changedOutput schema / properties / signal_keys / description
      Previous value: -"Language-independent keys. Branch on these. Full list at https://oceanalt.com/api/contract."New value: +"Canonical field. Language-independent keys. Branch on these. Full list at https://oceanalt.com/api/contract."
  2. Changed7 schema fields changed
    • addedOutput schema / properties / risk / anyOf
      Added value: +[
      +  {
      +    "maximum": 100,
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / risk / maximum
      Removed value: -100
    • removedOutput schema / properties / risk / minimum
      Removed value: -0
    • removedOutput schema / properties / risk / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / risk_band / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "low",
      +      "medium",
      +      "high"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / risk_band / enum
      Removed value: -[
      -  "low",
      -  "medium",
      -  "high",
      -  null
      -]
    • removedOutput schema / properties / risk_band / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds genuine value beyond that: what is actually inspected (hostname plus parent domains, shape signals like bare IP, punycode homograph, nesting, free hosting), the four verdict levels, and the important caveat that a clear verdict means no match was found rather than safe. It is slightly overstated at 5 given the annotations already carry much of the operational profile, but the epistemic caveat is real added context.

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?

Front-loaded with the action and scope, then the rationale, then the caveat and limits. Dense but every sentence carries information; the only minor waste is "Free, no API key" duplicating the title's "(free)" and the pricing note in the title field.

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?

An output schema exists, yet the description still characterizes the return shape (verdict levels, language-independent signal_keys), which helps an agent interpret results. Combined with the pre-call timing, the address-screening exclusion, and the false-negative caveat, nothing an agent needs to call and read this tool correctly is missing.

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, including the URL/domain dual format and the lang enum. The description adds only indirect meaning — that the hostname and its parent domains are what get analyzed — without new syntax or format guidance. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ("Screen a payment ENDPOINT (URL or domain)") and explicitly positions it against a named sibling by explaining it covers "the half that address screening cannot answer." The x402 discovery flow context makes the scope concrete and unmistakable.

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?

Gives an explicit when: "before calling it", with the triggering scenario spelled out (agent discovers URL, receives 402, then learns payee). It also states the exclusion clearly — "It does not check the payee address" — routing that need elsewhere.

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.