Skip to main content
Glama
x402 Discovery & Trust MCP

x402 Discovery & Trust MCP

Keyword search over the x402 catalog

x402_search

Search the x402 catalog by literal substring across host, resource URL, or service name to find endpoints matching a domain or path; use semantic search for meaning-based queries.

Instructions

Substring search over host, URL and service name across the catalog. For meaning-based search use x402_semantic_search instead.

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": {
      "query": "<query>"
    },
    "name": "x402_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (1-25, default 25)
queryYesSubstring matched against host, resource URL and service name, e.g. a domain like 'nsgoods.org' or a path like '/v1/weather'. Matching is literal, not by meaning.
offsetNoSkip this many matches for the next page (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.17.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  2. Addedv1.15.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose the key behavioral trait: matching is literal substring, not semantic. However, it says nothing about result ordering, what each hit contains, or whether the search is case-sensitive, leaving real behavioral gaps for a read tool with zero annotation coverage.

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 what the tool does and followed by the alternative. Every clause earns its place with no redundancy.

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 simple three-parameter read-only search tool with fully documented schema and no output schema, the description covers scope, matching behavior and the sibling alternative. Minor gaps remain around result ordering and case sensitivity, which an agent might still need.

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%, and the schema already documents that query matches host, resource URL and service name, plus limit/offset paging semantics. The description reinforces the literal-matching rule but adds no new format or syntax detail beyond the schema, so baseline 3 applies.

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 gives a specific verb and resource ('Substring search over host, URL and service name across the catalog') and states the exact matching scope. It is immediately distinguishable from x402_semantic_search by naming that sibling as the meaning-based counterpart.

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 explicitly routes the agent: use x402_semantic_search when meaning matters, implying this tool is for literal/known-string lookups. No other exclusions or prerequisites are stated, but the single most important routing decision is covered.

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