Skip to main content
Glama

JustHandled Agent Client

A guarded CLI, JavaScript client, and local MCP server for the JustHandled Agent Utility Gateway. The package exposes thirty-two preflights, maintained-data lookups, and evidence products. Twenty-two products cost $0.05 USDC; ten evidence-heavy or maintained-data products cost $0.25, including the live Chicago Contract Change Packet. Every paid call returns a versioned evidence receipt.

The client fails closed before signing. It accepts only the pinned JustHandled gateway, Base mainnet, canonical Base USDC, the exact per-product price, and the published merchant receiver. Customer inputs and complete customer results are not persisted by the gateway; maintained public-source snapshots are labeled in the receipt.

Inspect without a wallet

npx --package @justhandledlabs/agent-client justhandled-agent catalog
npx --package @justhandledlabs/agent-client justhandled-agent preview filename-portability-preflight --json '{"paths":["CON.txt"]}'
npx --package @justhandledlabs/agent-client justhandled-agent preview agent-run-evidence-pack --file agent-run-evidence-pack.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview agent-distribution-readiness-pack --file agent-distribution-readiness-pack.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview community-rule-credibility-preflight --file community-rule-credibility-preflight.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview qualified-demand-ledger --file qualified-demand-ledger.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview channel-fit-evidence-matrix --file channel-fit-evidence-matrix.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview proof-to-channel-evidence-packet --file proof-to-channel-evidence-packet.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview channel-experiment-postmortem --file channel-experiment-postmortem.sample.json
npx --package @justhandledlabs/agent-client justhandled-agent preview chicago-contract-change-packet --file chicago-contract-change-packet.sample.json

Preview performs an unpaid request and validates the returned x402 terms. It does not sign or spend.

The catalog includes API-response contract drift, webhook contract and replay, and policy-change evidence products. Packaged example inputs are available in examples/.

Machine-readable products, exact payment terms, and free deterministic fixtures are available from the gateway's product catalog, OpenAPI document, and sandbox index.

Related MCP server: agent-x402

Execute one paid utility

Use a dedicated low-balance Base wallet. Never provide a primary wallet key.

export JH_EVM_PRIVATE_KEY=0x...
npx --package @justhandledlabs/agent-client justhandled-agent call filename-portability-preflight --json '{"paths":["CON.txt"]}'

PowerShell:

$env:JH_EVM_PRIVATE_KEY = "0x..."
npx.cmd --package @justhandledlabs/agent-client justhandled-agent call filename-portability-preflight --json '{"paths":["CON.txt"]}'

MCP configuration

{
  "mcpServers": {
    "justhandled": {
      "command": "npx",
      "args": ["-y", "@justhandledlabs/agent-client"],
      "env": {
        "JH_EVM_PRIVATE_KEY": "0xDEDICATED_LOW_BALANCE_WALLET_KEY"
      }
    }
  }
}

The MCP server exposes a free catalog tool plus one paid tool per gateway utility. Missing wallet configuration produces an error instead of a payment attempt.

The package declares the official MCP Registry identity io.github.justhandledlabs/agent-gateway. Registry identity is discovery metadata only: installing or listing the server does not spend funds, and paid execution still requires a dedicated wallet plus the client's exact-term checks.

Security model

  • Price, chain, asset, receiver, and gateway origin are pinned in code.

  • The ten $0.25 products' 250,000-base-unit price is pinned separately from 50,000-base-unit checks.

  • Every execution starts with an unpaid 402 preview.

  • A mismatched term aborts before signing.

  • The package never prints the private key.

  • The gateway does not persist customer inputs or complete customer results. Maintained-data products may retain normalized public-source snapshots and disclose that state in the receipt.

  • Treat all crypto transfers as irreversible and fund only a dedicated wallet.

Development

npm install
npm run check

The gateway implementation is intentionally not included in this client repository.

Available Tools

33 tools
justhandled_agent_cost_decomposerA

Calculate model, cached-token, and external-tool costs per call and flag a supplied budget overrun. Costs $0.05 USDC on Base mainnet.

Inputs: calls (required), budget_usd.

justhandled_agent_distribution_readiness_packB

Audit an agent, skill, MCP server, or paid API for release consistency, required discovery surfaces, evidence freshness, supported claims, and channel-specific launch constraints. Costs $0.25 USDC on Base mainnet.

Inputs: claims (required), product (required), surfaces (required), observed_at (required), +2 more.

justhandled_agent_run_evidence_packA

Audit one agent-run packet across promises, tool calls, completion evidence, tool descriptions, skill activation, and cost in a consolidated report. Costs $0.25 USDC on Base mainnet.

Inputs: costs (required), completion (required), tool_calls (required), promise_action (required), +2 more.

justhandled_api_response_contract_drift_auditorC

Compare recorded API responses with explicit status, content-type, field, type, and stable-value contracts. Costs $0.05 USDC on Base mainnet.

Inputs: contracts (required), responses (required).

justhandled_calendar_invite_timezone_preflightA

Check normalized iCalendar events for floating time, boundary, DATE, sequence, and recurrence hazards. Costs $0.05 USDC on Base mainnet.

Inputs: events (required).

justhandled_channel_experiment_postmortemC

Compare a predeclared channel hypothesis and qualified outcome gate with attributable events, contamination, budgets, changed variables, cooldowns, and a bounded next experiment. Costs $0.25 USDC on Base mainnet.

Inputs: events (required), cost_usd (required), experiment (required), observed_at (required), +3 more.

justhandled_channel_fit_evidence_matrixB

Rank evidence-backed distribution tests by audience fit, buyer intent, format, attribution, access, saturation, rules, budget, owner availability, and qualified outcome gates. Costs $0.25 USDC on Base mainnet.

Inputs: channels (required), evidence (required), objective (required), constraints (required), +1 more.

justhandled_chicago_contract_change_packetA

Query the live City of Chicago contracts dataset by vendor, department, contract, specification, or description and compare current matches with a retained public-data baseline. Costs $0.25 USDC on Base mainnet.

Inputs: query (required), records, truncated, max_results, +4 more.

justhandled_chicago_demolition_permit_change_packetA

Query Salvage Signal's bounded Chicago demolition-permit adapter and compare current matches with an optional prior snapshot. Costs $0.25 USDC on Base mainnet.

Inputs: query (required), records, previous, records_generated_at.

justhandled_community_rule_credibility_preflightB

Check a proposed Reddit, Hacker News, Show HN, or Product Hunt action against current official guidance, supplied community rules, account credibility evidence, and promotion boundaries. Costs $0.25 USDC on Base mainnet.

Inputs: action (required), account (required), channel (required), observed_at (required), +1 more.

justhandled_completion_evidence_receipt_auditorA

Check completion, partial, and blocked outcome records for the evidence and remaining-work details their status requires. Costs $0.05 USDC on Base mainnet.

Inputs: outcomes (required).

justhandled_csv_schema_drift_preflightA

Compare normalized CSV column contracts for removals, additions, type drift, and newly required fields. Costs $0.05 USDC on Base mainnet.

Inputs: current_columns (required), baseline_columns (required).

justhandled_email_dns_auth_evidence_checkA

Check normalized SPF, DKIM, DMARC, and MX evidence for missing, conflicting, invalid, or monitor-only authentication policy. Costs $0.05 USDC on Base mainnet.

Inputs: domain (required), records (required), observed_at (required).

justhandled_filename_portability_preflightB

Flag reserved names, invalid characters, trailing dots, case collisions, Unicode collisions, and long paths. Costs $0.05 USDC on Base mainnet.

Inputs: paths (required), max_path_length.

justhandled_gitignore_coverage_preflightA

Check supplied paths and ignore patterns for uncovered or tracked sensitive-looking files. Costs $0.05 USDC on Base mainnet.

Inputs: paths (required), patterns, tracked_paths.

justhandled_image_to_sku_match_checkerA

Match supplied image paths to a SKU roster and flag missing, extra, unknown, or colliding assets. Costs $0.05 USDC on Base mainnet.

Inputs: files (required), roster (required), sku_pattern.

justhandled_list_utilitiesB

List JustHandled preflights, maintained-data lookups, evidence products, prices, and limitations.

Inputs: no named parameters.

justhandled_npm_publish_payload_preflightA

Check an npm pack manifest for missing entrypoints, absent runtime output, sensitive files, and baseline drift. Costs $0.05 USDC on Base mainnet.

Inputs: package (required), pack_files (required), previous_files.

justhandled_one_click_unsubscribe_header_checkerC

Check normalized marketing-message evidence for List-Unsubscribe and RFC 8058 one-click headers. Costs $0.05 USDC on Base mainnet.

Inputs: messages (required).

justhandled_policy_change_evidence_builderB

Produce clause-level evidence for policy additions, removals, text, applicability, and requirement changes, with version and effective-date guardrails. Costs $0.05 USDC on Base mainnet.

Inputs: policies (required).

justhandled_promise_action_evidence_checkerB

Compare declared promises with recorded actions and evidence, flagging unsupported completion and unaddressed commitments. Costs $0.05 USDC on Base mainnet.

Inputs: actions (required), evidence (required), promises (required).

justhandled_proof_to_channel_evidence_packetB

Map product claims and observed proof to current channel rules, required artifacts, link treatment, attribution, pricing disclosure, and human-authored identity fields. Costs $0.25 USDC on Base mainnet.

Inputs: claims (required), channel (required), product (required), evidence (required), +4 more.

justhandled_qualified_demand_ledgerB

Classify normalized commercial events as exposure, operations, candidate signals, qualified demand, validated value, external revenue, or retention without inflating vanity activity. Costs $0.25 USDC on Base mainnet.

Inputs: events (required), window (required), observed_at (required).

justhandled_redirect_map_preflightA

Check a redirect map for invalid targets, self-redirects, chains, loops, and missing legacy sources. Costs $0.05 USDC on Base mainnet.

Inputs: redirects (required), baseline_sources.

justhandled_release_artifact_manifest_validatorA

Validate a release file manifest against required paths, allowed prefixes, hashes, size limits, and sensitive-file rules. Costs $0.05 USDC on Base mainnet.

Inputs: files (required), policy (required).

justhandled_shopify_product_csv_preflightA

Check normalized Shopify product rows for missing identity fields, duplicate SKUs, unsafe image URLs, and overwrite hazards. Costs $0.05 USDC on Base mainnet.

Inputs: rows (required), mode, existing_handles, overwrite_required_columns.

justhandled_site_discovery_change_packetB

Compare normalized robots, sitemap, canonical, title, and structured-data evidence across two dated site snapshots. Costs $0.25 USDC on Base mainnet.

Inputs: current (required), baseline (required).

justhandled_skill_activation_verifierA

Compare expected and observed skill activations across test cases to expose missed and spurious routing. Costs $0.05 USDC on Base mainnet.

Inputs: cases (required).

justhandled_subtitle_timeline_qaA

Flag invalid cue timing, overlaps, empty captions, and excessive reading speed in normalized subtitle data. Costs $0.05 USDC on Base mainnet.

Inputs: cues (required), max_characters_per_second.

justhandled_tool_call_contract_auditorB

Audit recorded tool calls against declared authorization, argument, call-count, and outcome contracts. Costs $0.05 USDC on Base mainnet.

Inputs: calls (required), contracts (required).

justhandled_tool_description_contract_linterA

Lint structured tool descriptions for bounded purpose, inputs, outputs, side effects, failure modes, cost, and idempotency. Costs $0.05 USDC on Base mainnet.

Inputs: tools (required).

justhandled_webhook_contract_replay_auditorA

Audit webhook deliveries for declared events, allowed versions, required payload fields, signature evidence, freshness, idempotency, and replay. Costs $0.05 USDC on Base mainnet.

Inputs: contracts (required), deliveries (required), observed_at (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 33 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, but a few pairs like the two Chicago change packets or the agent run evidence pack versus its component audits could cause some initial confusion. Descriptions are specific enough to resolve ambiguity after reading.

    Naming Consistency5/5

    All tools consistently follow the 'justhandled_' prefix with lower_snake_case descriptive names. While some are noun-based and others verb-based, the pattern is predictable and uniform across the entire set.

    Tool Count2/5

    With 33 tools, the server exceeds the recommended range for a well-scoped MCP server. The high count makes it feel bloated and harder to navigate, even though each tool serves a specific niche.

    Completeness4/5

    The server covers a wide range of validation, preflight, audit, and evidence-related tasks, showing strong coverage of its apparent domain. Minor gaps exist (e.g., no general purpose file integrity checker), but most workflows are well-supported.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to run a free fail-closed preflight gate on x402 payment challenges and transactions before signing, plus five USDC-paid on-chain truth checks covering arbitrage profitability, token safety, swap routing, quote validation, and trade sizing. Each check returns a verdict with pinned-block evidence and a verifiable receipt.
      4
      9
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to check their wallet address and USDC balance, preview the cost of an x402 call, and pay for API requests in USDC on Base without an account or API key. Spend caps, allow-lists and blocked contracts are enforced in code before anything is signed, so a prompt injection cannot bypass them.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to securely access x402-protected APIs on Base L2 with automatic USDC payments under deterministic spending limits, domain and contract allowlists, transaction simulation, and audit logging.
      4
      67 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to check network and sequencer health across 12 chains before signing, returning signed, evidence-backed safety verdicts (pass/degraded/fail, latency, revert ratios, stall detection) so agents can decide whether to act now, wait, or route elsewhere. Exposes free and x402 pay-per-call preflight tools for autonomous transaction and payment execution.
      1
      MIT