Skip to main content
Glama
machine-utility-foundry

machine-utility-foundry

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FOUNDRY_WAL_PATHNoPath for the pre-send fsync WAL used by the MCP server. Resolves LOCALAPPDATA / XDG_STATE_HOME / ~/.foundry-x402/wal.jsonl by default; set to 'off' or 'none' to disable.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Running in free read-only mode (EVM_PRIVATE_KEY not set). Free discovery tools work immediately; set EVM_PRIVATE_KEY to unlock paid x402 tools.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
foundry_wallet_statusA

[FREE Local Wallet Check] Inspect the local x402 Base Mainnet USDC wallet address, live USDC balance, per-call cap, and remaining session budget configured in foundry-x402 mcp.

safe_x402_requestA

[Universal Safe x402 Gateway] Call ANY external https:// x402 paid API on Base Mainnet USDC with automatic Foundry Ed25519 counterparty honeypot screening, split-horizon bait-and-switch defense, EIP-3009 gasless USDC settlement, and automatic on-chain post-payment slashing if the merchant returns 5xx/broken data.

get_x402_reputation_statsA

[FREE Read-Only] Retrieve live x402 ecosystem reputation ledger statistics, sample verified healthy endpoints, bait-and-switch anomaly count, and the current IC Mainnet attestation anchor receipt.

verify_icp_attestation_receiptA

[FREE Read-Only] Verify an immutable Internet Computer (IC Mainnet) attestation receipt ID returned by get_x402_reputation_stats, attest_artifact_onchain_icp, or attest_compliance_bundle_icp.

preview_x402_recommendationA

[FREE Read-Only] Preview how many wash-filtered, bait-and-switch-clean x402 APIs match your task need, along with price range and top provider hint before paying.

report_x402_delivery_outcomeA

[FREE — On-Chain Base USDC Tx Verified] Submit a settled Base Mainnet txHash to slash a 402-honeypot endpoint that failed after payment (POST_PAYMENT_FAILURE) or confirm valid delivery (DELIVERED_VALID). Anti-Sybil gated via live eth_getTransactionReceipt.

recommend_x402_apiA

[x402 Paid: $0.005 Base USDC -- FREE if 0 matches] Recommend up to 5 verified, wash-trade-filtered, bait-and-switch-clean x402 APIs for any task need with organic payer counts, URLs, prices, and ICP proof. Zero self-preference.

plan_safe_x402_failover_routeA

[x402 Paid: $0.015 Base USDC -- FREE if 0 matches] Parallel-quarantined x402 failover route planner: ranks top wash-filtered candidates for need, live-probes all candidates in parallel to eliminate dead/bait-and-switch endpoints, and returns an Ed25519-signed primary + fallback execution ticket.

stateful_budget_guard_icpB

[x402 Paid: $0.005 Base USDC] Enforce payer-isolated stateful shared spending caps and atomic nonce replay protection across multi-agent swarms on Internet Computer (ICP).

oracle_x402_counterpartyA

[x402 Paid: $0.005 Base USDC] Probe an unknown x402 endpoint for live HTTP 402 compliance, official Base USDC asset verification, price bait-and-switch anomalies, wash-trade detection, and ICP-anchored historical 0-100 trust score.

guard_evm_preflight_baseA

[x402 Paid: $0.01 Base USDC] Simulate a Base Mainnet EVM transaction via fail-closed eth_call and eth_getCode to block unlimited ERC-20 approvals, Permit2/EIP-3009 signature drains, and counterfeit USDC contracts.

attest_artifact_onchain_icpB

[x402 Paid: $0.005 Base USDC] Deterministically validate an agent output artifact against an optional JSON Schema and anchor a tamper-proof payer-bound SHA-256 receipt on IC Mainnet.

attest_compliance_bundle_icpA

[x402 Paid: $0.015 Base USDC] Run an all-in-one high-assurance audit (JSON Schema + Pre-Action Policy + BigInt Double-Entry Ledger) and anchor the combined rulesCommitmentSha256 receipt on IC Mainnet.

diff_breaking_openapiA

[x402 Paid: $0.01 Base USDC] Audit two OpenAPI 3.x specifications (up to 2 MB) with memoized local $ref and allOf resolution to detect breaking endpoint, parameter, request, and response contract changes.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 14 tools

Disambiguation3/5

The set splits into recognizable clusters (recommendation/preview/plan/oracle, attestation/verification, preflight guard, wallet/budget), but the boundaries within clusters blur: preview_x402_recommendation vs recommend_x402_api vs plan_safe_x402_failover_route vs oracle_x402_counterparty all answer 'is this endpoint good?', and attention must be paid to pick the free vs paid vs single-endpoint variant. Distinct tools like diff_breaking_openapi and foundry_wallet_status are unambiguous.

Naming Consistency3/5

Most names are snake_case verb-leading (get_, verify_, recommend_, plan_, attest_, diff_), but noun-first names like foundry_wallet_status, stateful_budget_guard_icp, and oracle_x402_counterparty break the pattern, and qualifier suffixes (_icp, _base, _onchain, _x402) are placed inconsistently. Still readable, just not predictable.

Tool Count4/5

14 tools sits at the upper end of the comfortable range for a single-purpose x402 trust/safety platform, and each maps to a distinct workflow step (wallet, gateway, discovery, probes, attestation, guarding, slashing). Arguably a couple of the recommendation tools could be consolidated.

Completeness4/5

Strong lifecycle coverage: budget checks, safe payment gateway, endpoint discovery/ranking, trust probing, failover planning, on-chain attestation and verification, preflight tx simulation, post-payment slashing reporting, and OpenAPI diffing. Gaps are minor — no way to list or manage one's own prior attestations/receipts beyond verify-by-ID, and no dispute/refund path.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues