Skip to main content
Glama

Hyperliquid PreFlight

endpoint_probe

Read-only

Validate an x402 endpoint BEFORE you pay it. We GET the URL (we never pay it) and check that it returns a valid x402 v2 402 challenge, which networks, assets and amounts it accepts, whether payTo and amounts are well formed, and whether a path advertised as paid actually answers 200 for free. Returns pass/fail per check. You are not charged if the probe cannot run. Read-only; never places orders. Price $0.02 per call via x402 (see the server instructions for how to pay). Arguments are described in inputSchema.

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": "endpoint_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL of an x402 endpoint to validate (we never pay it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Even though the annotations already mark this as read-only and open-world, the description adds substantial context: the probe is a GET that never pays, it reports pass/fail per check, there is no charge when the probe cannot run, and each call costs $0.02 via x402. This is exactly the kind of billing, failure and side-effect disclosure that annotations cannot express.

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?

The description is front-loaded with the core action and the checks performed, then ends with cost and payment handling. The only waste is the closing pointer sentence ("Arguments are described in inputSchema"), which tells the agent nothing the schema does not already say.

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?

For a one-parameter validation tool, the description covers what is verified, what a result looks like at a coarse level (pass/fail per check), the pricing and payment path, and the failure-charge policy. No output schemas are needed in order to call the tool correctly.

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% for the single url parameter, so the baseline is 3. The description does add the reassurance that the target is never paid, and it defers everything else to the schema with "Arguments are described in inputSchema", which adds no meaning beyond the schema itself.

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 uses a specific verb and a specific resource ("Validate an x402 endpoint"), and it states the two distinctive mechanics: we perform a GET and never pay, and we verify a v2 402 challenge, its networks, assets, amounts and payTo. An agent can distinguish it from sibling checks such as token_check or hl_pretrade_check without opening their schemas.

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

Usage Guidelines4/5

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

It gives clear usage context ("BEFORE you pay it") and an explicit exclusion (the probe never places orders or pays). It does not name a sibling alternative or contrast the cases where a different validation tool would be better, so it falls short of a 5.

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.