Skip to main content
Glama

Validate an x402 Service Listing Free

ontario_validate-service

Free provider listing preflight for the 0.75 USDC Ontario launch passport. Validates public service metadata, runs a live readiness scan (8 s budget) that saves a public signed readiness report, and an exact-URL Bazaar lookup. Returns a summary with grade, score, report_published, Bazaar presence and the top findings, or endpoint_unreachable with the fix when the endpoint returns no HTTP response. verify_now=false skips the scan and the report. Never publishes a listing, signs or spends.

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": {
      "name": "<name>",
      "description": "<description>",
      "endpoint": "<endpoint>",
      "price_usdc": "<price_usdc>"
    },
    "name": "ontario_validate-service"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPublic service name displayed on the provider profile.
tagsNoPublic capability tags for discovery, up to ten relevant labels.
assetNoPayment token contract accepted by the provider on the declared network.
methodNoHTTP method used to call the provider's endpoint.POST
sourceNoPrivacy-safe aggregate acquisition bucket; never a URL or query.direct_or_unknown
networkNoProvider payment network, for example base or eip155:8453. Ontario publication itself uses Base USDC.base
categoryNoPublic capability category for the service, not a claim of certification.
endpointYesProvider-owned public HTTPS x402 endpoint to list. Never include secrets or sensitive query parameters.
owner_urlNoPublic website identifying the provider; publication does not verify legal identity.
price_usdcYesProvider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 0.75 USDC publication fee.
verify_nowNoLive readiness scan that saves a public signed readiness report, plus an exact-URL Bazaar lookup; false skips the scan, the report and the lookup. No listing is published and no payment is made.
buyer_queryNoPublic task phrase used for the point-in-time Bazaar retrieval audit. It may appear in the public profile.
descriptionYesPublic buyer task, expected result, and important service limitations; do not include confidential text.
price_atomicNoOptional provider price in six-decimal USDC units: 10000 equals 0.01 USDC. Must match price_usdc when supplied.
owner_contactNoOptional provider contact retained for operations and omitted from public profiles. Omit when unnecessary; never send wallet credentials.
mcp_remote_urlNoOptional public MCP remote for read-only initialize and tools/list checks.
mcp_server_nameNoOptional exact MCP Registry server name.
mcp_server_json_urlNoOptional public MCP Registry record or exact-search JSON URL.

Output Schema

NameRequiredDescriptionDefault
okYes
errorsYes
warningsYes
next_stepsYes
normalizedYes
verificationYesOptional public readiness observation; metadata validation alone does not verify readiness.
stores_listingYes
trust_disclaimerYes
provider_publicationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / price_usdc / description
      Previous value: -"Provider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 0.50 USDC publication fee."New value: +"Provider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 0.75 USDC publication fee."
  2. Changed2 schema fields changed
    • changedInput schema / properties / verify_now / default
      Previous value: -falseNew value: +true
    • changedInput schema / properties / verify_now / description
      Previous value: -"Optionally run live readiness checks and save a public signed report. No listing is published and no payment is made."New value: +"Live readiness scan that saves a public signed readiness report, plus an exact-URL Bazaar lookup; false skips the scan, the report and the lookup. No listing is published and no payment is made."
  3. Changed1 schema field changed
    • changedInput schema / properties / price_usdc / description
      Previous value: -"Provider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 2.00 USDC publication fee."New value: +"Provider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 0.50 USDC publication fee."
  4. Changed1 schema field changed
    • changedInput schema / properties / price_usdc / description
      Previous value: -"Provider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 0.50 USDC publication fee."New value: +"Provider endpoint price in decimal USDC, at most six decimal places. This is separate from Ontario's 2.00 USDC publication fee."
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "errors": {
      +      "maxItems": 0,
      +      "type": "array"
      +    },
      +    "next_steps": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "normalized": {
      +      "required": [
      +        "name",
      +        "description",
      +        "endpoint",
      +        "price_usdc",
      +        "network"
      +      ],
      +      "type": "object"
      +    },
      +    "ok": {
      +      "const": true
      +    },
      +    "provider_publication": {
      +      "properties": {
      +        "decision": {
      +          "enum": [
      +            "paid_publication_available",
      +            "fix_readiness_before_purchase",
      +            "run_free_verification"
      +          ]
      +        },
      +        "price": {
      +          "type": "object"
      +        },
      +        "purchase": {
      +          "type": "object"
      +        },
      +        "schema": {
      +          "const": "ontario.provider_publication_product.v1"
      +        }
      +      },
      +      "required": [
      +        "schema",
      +        "decision",
      +        "price",
      +        "purchase"
      +      ],
      +      "type": "object"
      +    },
      +    "stores_listing": {
      +      "const": false
      +    },
      +    "trust_disclaimer": {
      +      "type": "string"
      +    },
      +    "verification": {
      +      "description": "Optional public readiness observation; metadata validation alone does not verify readiness.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "errors",
      +    "warnings",
      +    "normalized",
      +    "verification",
      +    "provider_publication",
      +    "stores_listing",
      +    "trust_disclaimer",
      +    "next_steps"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), it discloses a meaningful side effect: a live scan that 'saves a public signed readiness report', plus an 8-second time budget and a named failure mode ('endpoint_unreachable with the fix'). It also confirms no payment or publication occurs, consistent with the non-destructive hint. It does not say whether the published report can be removed or whether repeated calls stack reports, which would matter for a non-idempotent write.

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?

Roughly four tight sentences, front-loaded with the purpose, then behavior, then the return shape, then the opt-out. Every sentence carries information, though phrases like '0.75 USDC Ontario launch passport' are internal jargon that could cost an unfamiliar agent a beat.

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 an 18-parameter, open-world tool with a full schema and an output schema, the description covers what is missing from structured fields: the scan budget, the public report side effect, the skip semantics, and the error path. Return values are summarized only briefly, which is right since an output schema exists.

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?

All 18 parameters already carry descriptions in the schema (100% coverage), including verify_now, which the description merely restates. The description adds no new meaning about parameter interaction (e.g. price_usdc vs price_atomic consistency, or which params trigger the Bazaar lookup). Baseline 3 is appropriate when the schema does the documentation work.

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?

The description names a specific verb and resource ('Validates public service metadata', 'listing preflight') and scopes it clearly as a free, non-publishing check that 'Never publishes a listing, signs or spends', which separates it from ontario_list-service. It stops short of naming closer siblings such as ontario_validate-refresh or x402_readiness_verify, so an agent must still infer which validation tool applies.

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?

Usage context is clear: it is a preflight for the '0.75 USDC Ontario launch passport', so it precedes listing. It also gives an explicit branch condition — 'verify_now=false skips the scan and the report' — which is the main decision an agent faces. No explicit when-not or named alternative tool is given.

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.