{"name":"io.thegavel/gavel","slug":"thegavel-gavel","title":null,"description":"Oracle-free fixed-rate, fixed-term BTC credit on Arbitrum One. Data and unsigned blueprints.","url":"https://mcp.market/server/thegavel-gavel","rating":null,"grade":"B","score":73,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":20,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-09-16T07:47:02.000Z","license":null},"uptime":{"percent":100,"checks":6,"ok":6,"last_checked_at":"2026-09-21T00:25:56.135Z","last_ok_at":"2026-09-21T00:25:56.135Z","latency_ms":143},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/JamieFrame/gavel-mcp","website":null,"version":"0.4.0","remotes":[{"type":"streamable-http","url":"https://mcp.thegavel.io/mcp"}],"packages":[],"tools":[{"name":"check_wallet_status","description":"Returns a structured readiness report for the given wallet address: native ETH balance for gas, relevant ERC-20 balances (USDC, USDT, WBTC), current allowances against the Gavel LoanProtocol and ListingService, and a precomputed list of blockers (what's stopping the wallet from placing bids or creating auctions).\n\nUseful for: onboarding flows where an LLM agent needs to verify a user's wallet is funded and approved before walking them through a transaction. The 'readiness.blockers' field is the high-leverage answer to \"what's next?\" — the LLM can quote it directly without reasoning from raw balances.\n\nThis tool reads the Arbitrum chain directly via RPC. It does not require any signed authorisation from the wallet owner — addresses and balances are public on-chain data.\n\nReturns: { address, network, native_gas, tokens, active_positions, readiness }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"address":{"type":"string","description":"The EOA or smart-account address to inspect. Any valid Ethereum address. The wallet does not need to be the caller — anyone can check anyone's balance, this is public chain data."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network to inspect. Default 'arbitrum-one' (mainnet, live protocol)."}},"required":["address"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"find_auctions_matching_criteria","description":"Returns Gavel auctions filtered by the criteria you supply. Does not rank, score, or recommend a specific auction — only filters by the parameters provided. The user chooses what to act on.\n\nUseful for: an agent helping a user narrow a long auction list down to the subset matching their stated yield, duration, and LTV preferences.\n\nAll filter parameters are optional. Unspecified parameters mean \"no constraint on that dimension\". When status is omitted, defaults to 'open' (actionable auctions only).\n\nReturns: { matches: Auction[], match_count, total_inspected, criteria_echoed }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"min_rate_pct":{"type":"number","description":"Minimum implied APR in percent (e.g. 5.5 means at least 5.5%). Omit for no lower bound."},"max_rate_pct":{"type":"number","description":"Maximum implied APR in percent. Omit for no upper bound."},"min_duration_days":{"type":"integer","description":"Minimum loan duration in days. Omit for no lower bound."},"max_duration_days":{"type":"integer","description":"Maximum loan duration in days. Omit for no upper bound."},"min_ltv":{"type":"number","description":"Minimum LTV (loan-to-value), as decimal 0.0-1.0. Omit for no lower bound."},"max_ltv":{"type":"number","description":"Maximum LTV. Omit for no upper bound."},"pair":{"type":"string","description":"Collateral/loan pair (e.g. 'WBTC/USDC'). Omit for any pair."},"status":{"type":"string","enum":["open","completed","all"],"default":"open","description":"Auction lifecycle filter. 'open' = actionable (default), 'completed' = settled, 'all' = both."},"min_remaining_hours":{"type":"number","description":"Only return auctions with at least this many hours left before close. Useful for bidders who need time to act. Ignored when status != 'open'."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Maximum results to return. Caps at 100."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_address_history","description":"What has this address done on the protocol? Public chain events only, with no enrichment beyond them.\n\nAuctions originated, bids placed, positions open and closed, and a summary of outcomes. No clustering, no labelling and no inferred identity: nothing in the response is not already public on-chain. Any address may be queried by anyone; no authorisation is needed.\n\nThis is the supervisor page's data source — the read a person uses to check what an agent they supervise has actually done.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"address":{"type":"string","description":"The address to inspect. Any valid Ethereum address; it need not be the caller."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"description":"Network. Default 'arbitrum-one' (mainnet). Use 'arbitrum-sepolia' for the testnet deployment, which carries a far deeper book — but note the two run different contract builds, so a testnet observation is not a mainnet fact."}},"required":["address"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_book","description":"What is open right now — auctions, bids and positions listed? Current chain state, with counts rather than a characterisation of depth.\n\nOpen auctions with their best bid and time remaining, those closing within 24 hours, and totals: open auction count, principal outstanding, collateral locked, and distinct lenders and borrowers over 30 days.\n\n⚠ Fields that cannot be answered are null, not empty. positions_listed is null where marketplace listings are not indexed — an empty array would assert that nothing is listed.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"pair":{"type":"string","description":"Restrict to one collateral/loan pair. Omit for all."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"description":"Network. Default 'arbitrum-one' (mainnet). Use 'arbitrum-sepolia' for the testnet deployment, which carries a far deeper book — but note the two run different contract builds, so a testnet observation is not a mainnet fact."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_gavel_indicator","description":"Returns the current value of a single Aletheia indicator by id, with its methodology reference. This server serves this protocol's own indicator set, including those anchored on its rate. Call list_gavel_indicators first to discover valid ids.\n\nOptionally returns the historical series instead of the current value (set include_history). History is free and unmetered on the same terms as the current value.\n\nThis is descriptive data; no recommendation is provided. An indicator that has no reading on this network says so explicitly rather than returning a null or a zero that could be mistaken for a value.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Indicator id from list_gavel_indicators, e.g. 'yield-curve', 'vrb', 'lpi'."},"include_history":{"type":"boolean","default":false,"description":"If true, return the historical series instead of the current value. Not every indicator has one."},"from":{"type":"string","description":"History start, ISO 8601 date. Only meaningful with include_history."},"to":{"type":"string","description":"History end, ISO 8601 date. Only meaningful with include_history."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_loan_status","description":"Returns the current state of a single Gavel loan and what action, if any, is available to whom. Designed to be re-called during a long conversation so lifecycle changes can be surfaced to the user.\n\n'next_actions' is an array of {actor, action, calldata_tool} tuples naming the tool that prepares each transaction, so the next step can be taken without guessing. 'lifecycle_summary' gives the borrower's and lender's view in plain English.\n\nThis is descriptive data; no recommendation is provided. Verify on-chain before acting on a reported maturity or default.\n\nReturns: { loan_id, state, borrower, lender, principal, repayment, apr, matures_at, time_remaining_seconds, outcome, next_actions }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"loan_id":{"type":"integer","description":"The loan id. For v1 auctions this equals the auction id — see get_user_positions."}},"required":["loan_id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_mvrv","description":"This tool has moved. Cross-venue credit data is served by the Bitcoin Credit Stack MCP at https://mcp.bitcoincreditstack.com/mcp, where this tool is called `get_mvrv`. Calling it here returns a structured 'moved' error naming the host. This shim is temporary and will be removed.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_protocol_reference","description":"Returns the Gavel Protocol's complete on-chain reference data for the requested network: contract addresses, supported tokens (collateral and loan), key function signatures, operational conventions (like the Position NFT tokenId formula), and Etherscan/ABI references.\n\nUse this tool when an agent needs to:\n  - Look up a contract address before constructing a transaction\n  - Get the function signature for placeBid, createAuction, repayLoan, etc.\n  - Understand the tokenId convention for borrower vs lender position NFTs\n  - Find an Etherscan link to verify a contract's source code\n  - Confirm which loan tokens are whitelisted\n\nThis is descriptive data; no recommendation is provided. The agent is responsible for constructing, signing, and broadcasting any transactions via the user's own wallet. Aletheia never holds keys or dispatches transactions.\n\nReturns: { network, chain_id, explorer, rpc_endpoints, status, contracts, tokens, key_functions, important_notes, abi_references }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network to look up. Default 'arbitrum-one' (mainnet, live protocol). Use 'arbitrum-sepolia' for the testnet deployment."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_user_positions","description":"Returns every Gavel position an address holds — as borrower, as winning lender, or as a bidder on an auction that has not closed.\n\nEach position carries its lifecycle state (auction_open, bid_placed, bid_lost, active, matured_unclaimed, repaid, defaulted), the maturity date and time remaining, the counterparty, and 'next_action_available' — the one thing this address can do next (nothing, repay, claim_collateral, claim_repayment, claim_refund). 'lifecycle_summary' is a plain-English sentence you can quote to the user directly.\n\nReads public chain data via the Aletheia indexer; no signed authorisation is needed and anyone can query any address. The chain is authoritative — a transaction in the current block may not be indexed yet.\n\nReturns: { address, network, positions[], count, settled_hidden }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"address":{"type":"string","description":"The address to inspect. Any valid Ethereum address; it need not be the caller."},"include_settled":{"type":"boolean","default":false,"description":"Include finished positions (repaid, defaulted, lost bids). Default false — only what is still live."}},"required":["address"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_verification_bundle","description":"What can be checked about the contracts, and what did the last check return? Observations with their block heights; the verdict is the reader's.\n\nContract addresses and their implementations, the bytecode hash of each, the upgradeability position, the privileged-function map with whether each can touch user funds, the audit reference, and five structural promises — each with the check that would falsify it and what that check returned.\n\n⚠ Read the fields, not the impression. 'match' is \"unchecked\" where Aletheia has not compared deployed bytecode against verified source; a promise that did not settle says so; and mainnet and testnet return different answers because they run different builds. There is no safety score, rating or verified badge in this payload, and none will be added.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"description":"Network. Default 'arbitrum-one' (mainnet). Use 'arbitrum-sepolia' for the testnet deployment, which carries a far deeper book — but note the two run different contract builds, so a testnet observation is not a mainnet fact."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_yield_curve","description":"Returns the current fitted Gavel yield curve for the requested collateral/loan pair. Rates are oracle-free, derived from auctions in The Gavel Protocol. The curve is a log-quadratic fit through binned midpoints.\n\nIMPORTANT — every rate returned is an evaluation of the fitted curve, not an observed trade, and the published tenor set extends past the deepest observation. Tenors with no underlying bin data are returned as fitted values and listed in 'extrapolated_tenors'; treat those as model output only. Read 'provenance' before using the curve as a market reference: it carries the observation count, the number of distinct counterparties, the external share, and a disclosure stating whether this is yet an independent market assessment. Check fit.r_squared and fit.fitted_to — R-squared is measured against bin means, not raw scatter, so at low observation counts it reflects smoothness rather than goodness of fit.\n\nUseful for: comparing fixed-term BTC-collateralised borrow rates across maturities, deriving the term premium, sourcing the Gavel layer of the Bitcoin Credit Stack. This tool returns data; it does not advise.\n\nReturns: { pair, computed_at, status, rates, extrapolated_tenors, fit_observation_count, provenance, fit: {r_squared, rmse, model, fitted_to} }. Note 'fit_observation_count' counts only the loans the fit was computed over (binning is active-loans-only, so settled loans are excluded), whereas 'provenance.observation_count' counts the full scatter — they legitimately differ. Optional 'include_points' returns the raw scatter backing the fit.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"pair":{"type":"string","default":"WBTC/USDC","description":"Collateral/loan pair. Default 'WBTC/USDC'. Currently the only live pair on mainnet."},"include_points":{"type":"boolean","default":false,"description":"If true, include the underlying scatter points used to fit the curve. Larger response."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_comparables","description":"Which recent auctions resemble these parameters, and how did each clear? Returns the individual observations so the caller can reason from them directly.\n\nNearest-k settled auctions by normalised distance on loan amount, LTV and tenor. Every row carries its clearing APR, bid count, and whether its originator was Aletheia's own account. Below MIN_COMPARABLES the rows are still returned, with the threshold and the observed count named — no aggregate is computed over them.\n\n⚠ The own-account flag is null, not false, wherever it cannot be computed. Read provenance.own_account_attribution before treating a null as a \"no\".","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"loan_amount":{"type":"number","exclusiveMinimum":0,"description":"Loan size to match against, in loan-token units."},"ltv":{"type":"number","minimum":0,"maximum":1,"description":"Loan-to-value at origination, as a decimal 0–1."},"tenor_days":{"type":"number","exclusiveMinimum":0,"description":"Loan term in days. The protocol's minimum is 7."},"k":{"type":"integer","minimum":1,"maximum":25,"description":"How many comparables to return. Caps at 25; default 10."},"window_days":{"type":"integer","exclusiveMinimum":0,"description":"Only consider auctions settled within this many days."},"pair":{"type":"string","description":"Collateral/loan pair. Default 'WBTC/USDC'."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"description":"Network. Default 'arbitrum-one' (mainnet). Use 'arbitrum-sepolia' for the testnet deployment, which carries a far deeper book — but note the two run different contract builds, so a testnet observation is not a mainnet fact."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_fiat_onramps","description":"Returns a catalog of fiat-to-USDC onramps that deliver native USDC on the requested chain. Does not rank or endorse a specific provider — entries are listed alphabetically so the response is deterministic. The user chooses which onramp to use.\n\nFilter by country (ISO 3166 alpha-2) and amount to narrow the catalog to providers that operate in the user's jurisdiction and accept their transaction size.\n\nUseful for: an LLM agent helping a novice user fund their wallet from fiat USD/EUR/GBP. The LLM presents the catalog to the user; the user picks one and proceeds.\n\nIMPORTANT — a cold-start user needs TWO purchases, not one. None of these providers delivers gas ETH alongside the USDC. A wallet holding only USDC cannot transact at all, and the failure is opaque (the transaction simply will not send). Surface the gas purchase to the user at the same time as the USDC purchase — see 'gas_requirement' in the response.\n\nReturns: { providers: OnrampProvider[], gas_requirement, filter_echo, notes }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"country":{"type":"string","description":"ISO 3166 alpha-2 country code (e.g. 'US', 'GB', 'FR'). Filters to providers supporting that country. Omit to return all providers."},"amount_usd":{"type":"number","description":"Amount in USD the user plans to onramp. Filters out providers whose limits don't cover this amount. Omit to ignore amount limits."},"chain":{"type":"string","enum":["arbitrum-one"],"default":"arbitrum-one","description":"Target chain. Currently only 'arbitrum-one' supported — all listed providers deliver native USDC on Arbitrum One."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_gavel_indicators","description":"Returns the catalogue of Aletheia indicators computed from The Gavel Protocol and the Bitcoin chain: id, name, family, units, description, and whether the indicator is currently live on this network.\n\nThree families: 'credit' (credit-market assessments), 'onchain' (commodity chain metrics such as MVRV and SOPR), and 'market' (external context — DeFi rates, stablecoin supply, macro).\n\nUse this to discover what is available, then call get_gavel_indicator with an id. This tool returns a catalogue; it does not rank indicators or advise which to use.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"family":{"type":"string","enum":["credit","onchain","market"],"description":"Restrict to one family. Omit to return the whole catalogue."},"live_only":{"type":"boolean","default":false,"description":"If true, omit indicators that are not currently live on this network."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_onchain_indicators","description":"This tool has moved. Cross-venue credit data is served by the Bitcoin Credit Stack MCP at https://mcp.bitcoincreditstack.com/mcp, where this tool is called `list_onchain_indicators`. Calling it here returns a structured 'moved' error naming the host. This shim is temporary and will be removed.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_wallet_options","description":"Returns a catalog of self-custody wallet apps compatible with Gavel (i.e., that support Arbitrum One). Does not rank wallets by quality. Each entry has a 'suitability_tags' list describing the typical user fit as factual attributes ('beginner', 'mobile_first', 'hardware', 'multisig', etc.) — the LLM and user pick based on those.\n\nUseful for: an LLM agent helping a user without an existing wallet choose one before onramping funds. The LLM should explain the custody-model and platform implications relevant to the user's situation, then let the user pick.\n\nReturns: { wallets: WalletOption[], filter_echo, notes }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"platform":{"type":"string","enum":["ios","android","browser_extension","desktop","hardware","mobile_app"],"description":"Filter wallets to those available on the specified platform. Omit to return all."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"prepare_bid_calldata","description":"Builds an unsigned transaction blueprint for placing a bid on a Gavel auction, including the prerequisite ERC-20 approval when the current allowance is short.\n\nYou supply the auction and the repayment amount you are willing to accept; this tool validates them against live auction state and encodes the call. It does not choose an auction, a rate or a size for you — use find_auctions_matching_criteria to filter by your own criteria first.\n\nBidding on Gavel is a reverse auction: a LOWER repayment is a more competitive bid and a lower yield to you as lender. Each bid must undercut the current best by at least the auction's bid step.\n\nReturns an unsigned transaction blueprint for the requested intent. The user is responsible for reviewing, signing, and broadcasting via their own wallet. Aletheia does not hold keys or dispatch transactions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"auction_id":{"type":"integer","description":"The auction to bid on."},"lender_address":{"type":"string","description":"Your address — used to read your balance and current allowance."},"repayment_amount":{"type":"string","description":"The total repayment you are bidding, as a decimal string in loan-token units, e.g. '5320.00'."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network. Default 'arbitrum-one' (mainnet, real funds)."}},"required":["auction_id","lender_address","repayment_amount"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"prepare_claim_collateral_calldata","description":"Builds an unsigned transaction blueprint for a lender to claim the collateral on a defaulted Gavel loan.\n\nValidates that you are the lender and that the loan has passed maturity without repayment. Chain state is authoritative — a repayment in the current block may not be indexed yet, so this tool warns rather than asserts when the margin is thin.\n\nReturns an unsigned transaction blueprint for the requested intent. The user is responsible for reviewing, signing, and broadcasting via their own wallet. Aletheia does not hold keys or dispatch transactions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"loan_id":{"type":"integer","description":"The defaulted loan."},"lender_address":{"type":"string","description":"Your address — must match the loan's lender."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network. Default 'arbitrum-one' (mainnet, real funds)."}},"required":["loan_id","lender_address"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"prepare_claim_refund_calldata","description":"Builds an unsigned transaction blueprint for reclaiming funds held by the protocol after a losing bid.\n\nWhen you are outbid, your funds stay claimable rather than being pushed back automatically. This encodes the claim for a given token.\n\nReturns an unsigned transaction blueprint for the requested intent. The user is responsible for reviewing, signing, and broadcasting via their own wallet. Aletheia does not hold keys or dispatch transactions.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"token_address":{"type":"string","description":"The token to reclaim, e.g. the USDC address you bid with."},"claimant_address":{"type":"string","description":"Your address — used to check there is a pending refund."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network. Default 'arbitrum-one' (mainnet, real funds)."}},"required":["token_address","claimant_address"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"prepare_create_auction_calldata","description":"Builds an unsigned transaction blueprint for creating a borrow auction — you post collateral and ask lenders to compete to lend against it — including the prerequisite collateral approval.\n\nEvery term is yours to set: which collateral and how much, which loan token and how much, the maximum repayment you will accept, the loan duration, how long the auction runs, and the bid step. This tool encodes what you specify and warns about consequences; it does not propose terms, rates or a loan size.\n\nLenders bid DOWN from your maximum repayment, so max_repayment is your worst acceptable price — set it too low and the auction may attract no bids.\n\nReturns an unsigned transaction blueprint for the requested intent. The user is responsible for reviewing, signing, and broadcasting via their own wallet. Aletheia does not hold keys or dispatch transactions.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"borrower_address":{"type":"string","description":"Your address — used to read collateral balance and allowance."},"collateral_token":{"type":"string","description":"Collateral token address. See get_protocol_reference for whitelisted tokens."},"collateral_amount":{"type":"string","description":"Collateral to post, decimal string in token units, e.g. '0.05'."},"loan_token":{"type":"string","description":"Loan token address (what you want to borrow)."},"loan_amount":{"type":"string","description":"Amount to borrow, decimal string, e.g. '2500.00'."},"max_repayment":{"type":"string","description":"The most you will repay at maturity, decimal string. Lenders bid below this."},"loan_duration_days":{"type":"number","description":"Loan term in days."},"auction_duration_hours":{"type":"number","description":"How long the auction accepts bids, in hours."},"bid_step":{"type":"string","default":"0","description":"Minimum improvement between bids, decimal string in loan-token units."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network. Default 'arbitrum-one' (mainnet, real funds)."}},"required":["borrower_address","collateral_token","collateral_amount","loan_token","loan_amount","max_repayment","loan_duration_days","auction_duration_hours"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"prepare_repay_loan_calldata","description":"Builds an unsigned transaction blueprint for repaying a Gavel loan, including the prerequisite approval for the repayment amount.\n\nValidates that the loan is live and that you are its borrower. Repay before maturity or the lender may claim your collateral.\n\nReturns an unsigned transaction blueprint for the requested intent. The user is responsible for reviewing, signing, and broadcasting via their own wallet. Aletheia does not hold keys or dispatch transactions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"loan_id":{"type":"integer","description":"The loan to repay. See get_user_positions."},"borrower_address":{"type":"string","description":"Your address — must match the loan's borrower."},"network":{"type":"string","enum":["arbitrum-one","arbitrum-sepolia"],"default":"arbitrum-one","description":"Network. Default 'arbitrum-one' (mainnet, real funds)."}},"required":["loan_id","borrower_address"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":73,"grade":"B","scanned_at":"2026-09-20T21:00:01.129Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-20T21:00:01.095Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":17,"max":20,"notes":["remote reachable in 2070ms"]},"poisoning":{"score":15,"max":15,"notes":["21 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 2 write-action tools with no auth"]},"maintenance":{"score":15,"max":15,"notes":["last push 5 days ago"]},"identity":{"score":5,"max":10,"notes":["namespace and repository owner differ","GitHub account older than a year"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"}],"inputs":{"probes":[{"url":"https://mcp.thegavel.io/mcp","reachable":true,"authRequired":false,"latencyMs":2070,"serverInfo":{"name":"aletheia-mcp","version":"0.4.0"}}],"packages":[],"repo":{"found":true,"owner":"JamieFrame","repo":"gavel-mcp","archived":false,"pushedAt":"2026-09-16T07:47:02Z","stars":0,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/36994163?v=4","ownerCreatedAt":"2018-03-02T14:56:39Z"},"icon":{"url":"https://www.thegavel.io/apple-touch-icon.png","source":"site","width":180,"height":180},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":null,"lastPushAt":"2026-09-16T07:47:02.000Z","score":20}}}},"grade_history":[],"reviews":[]}