Skip to main content
Glama

Novarithm Agent Hub: trust and commerce checks

x402_probe

[PAID $0.01 USDC/call, x402, eip155:8453] Pre-payment check of an x402 endpoint: one unpaid request, decodes the 402 offer (v1/v2): network, USDC or not, USD price, payTo, testnet, red flags.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPaid endpoint URL
methodNoHTTP method the endpoint expects (default GET)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / method / enum
      Added value: +[
      +  "GET",
      +  "POST"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses the paid cost, that the probe makes one unpaid request, and exactly what the decoded 402 offer includes (network, token, price, payTo, testnet, red flags). It does not describe error behavior, rate limits, or response shape, leaving some transparency gaps.

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?

The description is a single dense sentence with bracketed metadata up front and zero wasted text. It front-loads cost and protocol context before the core purpose.

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

Completeness4/5

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

For a tool with no output schema, the description enumerates the key decoded fields and protocol versions, which is enough to understand what the probe returns. It could be stronger by clarifying red-flag meanings or error conditions, but it is largely complete.

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 description coverage is 100%, so the schema already documents both the url and method parameters. The description implies the URL is a paid endpoint but adds no format, validation, or method-selection detail beyond what the schema provides.

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 states a specific verb and resource: a pre-payment check of an x402 endpoint that performs one unpaid request and decodes the 402 offer. It clearly distinguishes itself from post-payment verification tools like verify_usdc_payment by emphasizing pre-payment inspection.

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?

The phrase 'Pre-payment check' strongly implies when to use it: before paying an x402 endpoint. However, it does not explicitly name alternatives such as verify_usdc_payment or state when not to use it, 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.