Skip to main content
Glama

Surface Contract: platform API behavior and x402 pre-payment checks

Server Details

Surface contracts: API behavior evidence, x402 pre-payment check, MCP server preflight

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A3.8/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have clearly distinct targets: list vs. get contract vs. get recipe vs. verify vs. contribute are separable, and the two probe tools (preflight_mcp_server, prepay_check) hit different resources (MCP endpoints vs. x402 payment routes). Minor overlap exists where get_surface_contract and verify_surface both surface per-claim status, but descriptions make the retrieve-vs-run distinction clear.

Naming Consistency4/5

All names are snake_case and most follow a verb_noun pattern (get_surface_contract, list_surface_contracts, verify_surface, contribute_discrepancy). preflight_mcp_server and prepay_check deviate slightly by leading with a noun-ish term, but the convention remains readable and predictable.

Tool Count5/5

Seven tools is well-scoped for a contract-registry-plus-probing server, with each tool earning its place (discovery, retrieval, verification, contribution, and two external probes). No redundant or bloated entries.

Completeness4/5

The surface covers discovery, contract/recipe retrieval, verification, contribution, and pre-commit probing of MCP and payment endpoints, forming a coherent lifecycle. A minor gap is the absence of a tool to read back filed contributions/proposals (the GET /v1/contributions listing is referenced but not exposed), which agents must work around.

Available Tools

7 tools
contribute_discrepancyAInspect

Report a platform behaviour that contradicts a published claim, or a new claim, with evidence. One-line call: POST /v1/contribute with {contractId, kind, statement, evidence[], reporter, observedAt}. Stored as pending; a published contract is never changed without independent verification. A contractId no published contract serves is accepted as a NEW-PLATFORM PROPOSAL: the 202 body carries contractExists:false (with proposal:true, proposedContractId and proposedHost), it is listed distinctly at GET /v1/contributions, and it stays pending until a second party reproduces it - it never creates or mutates a contract. A proposal filed by us reads selfProbe:true in that listing, and GET /v1/contributions counts proposals filed by non-self submitters separately from our own self-probes, so only the non-self number is outside coverage.

Inputs: kind (required), evidence (required), statement (required), contractId (required), +3 more.

get_integration_recipeAInspect

Get a plain-text integration recipe for a platform: the order of operations to use it, and a guard clause for every behaviour we measured going wrong, each naming the contract claim behind it. Derived from the contract, so it cannot drift from it.

Inputs: id (required).

get_surface_contractAInspect

Get the machine-readable surface contract for a platform host (read/write semantics, pending states, rate limits, limits, idempotency, pagination completeness, data portability), each claim carrying its evidence and its verification status.

Inputs: id (required).

list_surface_contractsBInspect

List the platform surface contracts published in Penny's free registry, with claim counts.

Inputs: no named parameters.

preflight_mcp_serverAInspect

Run the anonymous MCP handshake against ANY https MCP endpoint you name, right now, and get back a verdict (open / refused / unreachable / initialize-transport-error), the shape of any refusal body, whether the server is stateful (sets Mcp-Session-Id), how many tools tools/list returns, and the guard clauses that follow. Use it before wiring an MCP server into your own config. Pass urls (up to 5) to check a whole mcp.json in one call. When the endpoint refuses, it also reports whether the refusal advertises a credential path (an RFC 9728 resource_metadata pointer) and whether that pointer resolves to a metadata document naming an authorization server, so you learn where a token would come from without writing that parsing yourself. No credential is sent, none is obtained, and none of their tools is ever called.

Inputs: url, urls.

prepay_checkAInspect

Check an x402 route BEFORE you pay it. GET /v1/prepay?url= makes ONE unpaid GET with no payment header and no credential, and returns one row: the measured HTTP status, the parsed x402 v2 challenge (scheme / network / asset / amount / payTo), whether that challenge is schema-valid exact-on-Base, and whether its payTo and price agree with the seller's own card (pass card to read that card with one more unpaid GET). No payment is made, no credential is sent, no redirect is followed, and a transport failure on our side is reported as unknown rather than as a fact about the seller. Use it to gate a payment decision on measured terms instead of on a seller's prose.

Inputs: url (required), card.

verify_surfaceBInspect

Run the anonymous conformance checks for a contract now and return verified / failed / unknown / manual / unsupported per claim.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Read-only MCP server that performs deterministic local preflights of agent-payment boundary documents and x402 v2 PaymentRequired JSON, and prepares unsubmitted public quote-request drafts without network calls or fund movement.
      1
      -
    • A
      license
      A
      quality
      B
      maintenance
      alalanet-agent is the open local client of alalanet.com, the free service an AI agent asks before it installs, connects or pays. A stdio MCP server whose key stays on your machine: it signs agent passports, receipts, skill and package releases, mail and memory locally (16 tools) and checks files and agents against alalanet's public transparency log. Hosted checks: https://alalanet.com/mcp.
      2
      16
      Apache 2.0
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources