Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PACTA_X402_URLNoBase URL of the Pacta x402 gateway, used when running the MCP server over stdio from a clone (e.g. `PACTA_X402_URL=https://pacta-x402.pacta.workers.dev node packages/mcp-server/bin/pacta-mcp.mjs`). Not needed for the hosted remote MCP endpoint, which requires no API key or wallet.https://api.pacta.wtf

Instructions

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

Pacta by Fractal Neurons: 14 read-only, block-pinned inspection tools for EVM contracts (Ethereum, Base) + 2 opt-in request tools. To see who controls a contract or token (owner, admin, upgradeable proxy, timelock, multisig, can mint, can pause), call pacta_who_controls_contract with chain + address. If you only have a protocol or token name (e.g. 'Aave', 'Ethena', 'USDe', 'Moonwell', 'kUSD'), call pacta_lookup_protocol first to resolve its verified record and checksummed 0x contract address, then call pacta_check_preflight. Every value is pinned to a block hash. When a result carries coverage_gap_hint, ask the user before calling pacta_submit_request (it queues or upvotes a coverage / feature request; contact_handle only with the user's explicit consent). To ask for a missing tool, chain, check or data, call request_feature (text only; never names, emails, IP addresses or secrets). Only these two tools write. Not investment advice.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pacta_lookup_protocolA

Find a DeFi protocol or token by name, symbol, slug or 0x address (e.g. 'Aave', 'Ethena', 'USDe', 'Moonwell', 'kUSD'): Pacta's verified record with canonical slug and page URL, checksummed primary contract and controller, classification with its evidence basis (Base-EAS-attested vs RPC-observed only), and preflightArgs {chain, address} ready for pacta_check_preflight. 324 protocols + 18 briefs, no RPC; an empty query lists what Pacta tracks. Free (no key, no payment).

pacta_who_controls_contractA

who controls this contract / token: owner, admin, upgradeable proxy, timelock, multisig, can mint, can pause; rug check, token safety. Block-pinned chain facts on Ethereum and Base confirmed by two independent RPC providers, with Foundry cast commands; never guesses or rates. Free: 100 calls per caller per UTC day (no key, no payment).

pacta_list_commitmentsB

DeFi protocol control-plane records (owner, admin, upgradeable proxy, timelock, multisig) with their Base EAS attestation UIDs: filter Pacta's static index by protocol, classification or batch. Free (static feed, no key, no payment).

pacta_list_proposalsB

DeFi governance proposals (Aave, Euler, Morpho, Sky) with pinned-block control-plane context: who controls the contracts a proposal touches, with cast repro commands on request. Free (static feed, no key, no payment).

pacta_get_anchoringA

On-chain proof metadata: Base Mainnet PactaCommitmentRegistry, EAS schema and pacta.base.eth addresses. Free (no key, no payment).

pacta_x402_discoverB

x402 payment configuration: gateway URL, Base USDC pay-to and per-route price ceilings; with the gateway on (the default), also fetches /.well-known/x402 and /v1/sample/control-plane. Free (no key, no payment).

pacta_check_preflightA

Smart contract security pre-flight / rug check before an agent interacts with a contract or token: verdict (NO_CONTROLLER_FOUND / TIMELOCK_PROTECTED / ZERO_DELAY_TIMELOCK_RISK / MULTISIG_NO_TIMELOCK / INSTANT_EOA_ADMIN_RISK / UNCLASSIFIED_CONTRACT_CONTROLLER / UNDEPLOYED_OR_EOA), 0-100 risk score (null when there is no contract or no controller was found), the checks run (checksRun), proxy + implementation, controller kind, zero-delay upgradeability, pause / blacklist / upgrade capabilities, pinned block. Free: 50 calls per caller per UTC day (no key, no payment), then $0.01 Base USDC per call via x402.

pacta_scan_wallet_exposureA

Wallet risk / DeFi exposure of a wallet or Gnosis Safe on Ethereum and Base: read-only Multicall3 Safe custody detection, ERC-20 / ERC-4626 / MetaMorpho balanceOf + symbol/decimals verification across 313 indexed protocols, 0-100 risk score, shortest exit window, position roster, and #1 adverse gap preview. Free: 100 calls per caller per UTC day (no key, no payment), then $0.01 Base USDC per call via x402.

pacta_scan_control_planeB

Who can upgrade or control this contract: pinned-block EVM control-plane scan (EIP-1967 proxy admin, Ownable owner, Safe multisig, TimelockController). Free ($0.00) today: rate-limited, no wallet or payment required.

pacta_live_timelocksA

Pending DeFi timelock operations (queued upgrades and parameter changes): live state and ETA countdowns of tracked TimelockController operations. Free ($0.00) today: rate-limited, no wallet or payment required.

pacta_scan_timelock_opB

Timelock operation status and delay: pinned-block OpenZeppelin TimelockController operation state (pending, ready, done). Free ($0.00) today: rate-limited, no wallet or payment required.

pacta_scan_proposal_diffA

Governance proposal check: re-run a tracked proposal's pinned control-plane reads live and return pinned-vs-live diffs. The proposal must be listed in https://pacta.wtf/api/v1/proposals.json as -. Free ($0.00) today: rate-limited, no wallet or payment required.

pacta_verdictA

Token safety / contract control-plane verdict in one call: verdict, riskScore 0-100 and grade A-F (both null when not determined), a one-line verdict, upgrade / owner / pause / blacklist / mint capability flags, the controller (EOA, Safe threshold, timelock delay), the indexed Pacta record when there is one, and a shareable scan URL; one pinned block on Ethereum or Base. Give slug, or chain + address. Free: 100 calls per caller per UTC day (no key, no payment), then $0.02 Base USDC per call via x402.

pacta_dossierA

Protocol control-plane dossier: live EIP-1967 / owner / Safe reads, every controller Safe's signers and threshold, Safe signers shared with other indexed protocols, and the Base EAS attestation proof. Give slug (or chain + address of an indexed contract). Free: 100 calls per caller per UTC day (no key, no payment), then $0.05 Base USDC per call via x402.

request_featureA

Request a missing tool, chain, check or data: tell Pacta what your agent needs (text, optional use_case); we read every request daily. Never include names, emails, IP addresses, secrets or keys. Free: 5 per caller per UTC day.

pacta_submit_requestA

Request coverage of a protocol, chain or check Pacta does not index yet, or report data that looks wrong (coverage_gap_hint): opt-in, ask the user first. An identical request_type + target_subject upvotes the existing request (same request_id). Returns request_id, status, demand_votes and an optional fast_track_url. Never opens a GitHub issue. Pass contact_handle ONLY when the user explicitly asks for follow-up or an invoice. Forwards to POST /v1/requests on the gateway. Free in every pricing mode: 5 per hour.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 16 tools

Disambiguation2/5

Four tools—pacta_check_preflight, pacta_verdict, pacta_who_controls_contract and pacta_scan_control_plane—all answer the same core question (who controls this contract, is it safe) and even return overlapping verdict/risk-score/owner/timelock fields, differing mainly in depth and response framing. pacta_submit_request and request_feature are near-duplicates of the same 'request missing coverage' action, and pacta_dossier overlaps with the controller tools. An agent must memorize subtle output-shape differences rather than infer purpose from the tool name.

Naming Consistency3/5

Most tools follow pacta_<verb>_<noun> (list_commitments, check_preflight, lookup_protocol, scan_wallet_exposure), which is readable. But several break the pattern: pacta_verdict, pacta_dossier and pacta_live_timelocks are bare nouns/adjectives, pacta_x402_discover sandwiches the payment-rail term into the verb slot, and pacta_who_controls_contract is phrased as a user question. The unprefixed request_feature duplicating pacta_submit_request compounds the inconsistency.

Tool Count3/5

16 tools is at the upper edge of a well-scoped set, and the count is inflated by redundancy: four overlapping contract-controller tools and two equivalent request-submission tools mean several slots do not earn a distinct place. Trimmed to ~11-12 (merging the controller/verdict family and collapsing the request tools) the surface would feel appropriately sized for a DeFi control-plane intel service.

Completeness4/5

Coverage of the stated domain is broad: static listings (commitments, proposals), lookup, live control-plane scans, preflight/verdict, timelock operation state, wallet exposure, attestation proof and a feedback/coverage-request path. Gaps are minor—no batch/multi-contract comparison tool, no pagination or historical timeline of controller changes—but agents can work around these by chaining existing calls.

Maintenance

ActivityMaintained
ResponsivenessOutdated data