Skip to main content
Glama
x402 Discovery & Trust MCP

x402 Discovery & Trust MCP

x402 Trust bulk scoring

x402_trust_bulk

Bulk-score up to 500 x402 endpoint URLs in one call; tier size is auto-selected to fit the batch. Unknown URLs return found:false, and the batch is charged either way.

Instructions

Score up to 500 endpoints in one call; the cheapest fitting tier is picked automatically. Unknown URLs come back found:false, the batch is charged either way.

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": {
      "resources": "<resources>"
    },
    "name": "x402_trust_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNoOptional fixed tier size. If omitted, the cheapest tier that fits `resources` is used.
resourcesYesList of full x402 resource URLs (https://...) to score. Duplicates are ignored; max 500.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.17.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / tier / anyOf
      Added value: +[
      +  {
      +    "const": 10,
      +    "type": "number"
      +  },
      +  {
      +    "const": 50,
      +    "type": "number"
      +  },
      +  {
      +    "const": 100,
      +    "type": "number"
      +  },
      +  {
      +    "const": 200,
      +    "type": "number"
      +  },
      +  {
      +    "const": 500,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / tier / enum
      Removed value: -[
      -  10,
      -  50,
      -  100,
      -  200,
      -  500
      -]
    • removedInput schema / properties / tier / type
      Removed value: -"number"
  2. Addedv1.4.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two non-obvious behaviors: unknown URLs return found:false rather than erroring, and the batch is charged even when URLs are unknown. That billing/charge disclosure is exactly the kind of thing an agent needs before spending. It omits auth requirements, rate limits, and whether partial failures abort the batch.

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?

Two short sentences, front-loaded with the capability and the auto-tier behavior, then the failure/billing caveat. No filler and nothing buried.

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 2-parameter tool with no output schema, the description covers capacity, tier selection, and the partial-result case (found:false). Missing cost/auth context is the main remainder, but the essential calling information is present.

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 both parameters are already documented in the schema, and the description's tier-auto-selection statement largely restates the tier field's own description. Baseline 3 is appropriate since the schema does the heavy lifting and the description adds little new parameter meaning.

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?

States a specific verb and resource ('Score ... endpoints') plus a clear scope ('up to 500 in one call'), which separates it from the single-endpoint x402_trust_score sibling by implication. It stops short of naming the single-score alternative explicitly, so an agent must infer routing from the word 'bulk'.

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?

'in one call' and 'up to 500' imply batch usage, and the automatic cheapest-tier behavior tells the agent it need not pick a tier. There is no explicit when-not guidance (e.g., 'use x402_trust_score for a single URL') and no stated prerequisite like auth or credits.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.