NAIF Gravity
Free MCP/API diagnostics. Micro Tools V2: free preview, $1 JSON check, $2 API shape, $3 normalize.
Should I use this
Quality & Safety
Findings (2)
- HIGH
- LOWin prepare_repair
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"naif-fixgraph": {
"url": "https://naif-store-62-83-19-162.sslip.io/mcp"
}
}
}Remote endpoints
https://naif-store-62-83-19-162.sslip.io/mcpstreamable-httphttps://naifgravity.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (5)
🟡diagnose_issue(problem, source)
Start here. Diagnose one sanitized MCP, API, webhook, agent or integration failure for free. Returns bounded evidence plus a suggested repair service, then use quote_repair only if a priced repair is wanted. It never creates a quote, checkout, payment or repair job. It may record bounded operational attribution/telemetry, so readOnlyHint is false; it does not modify the caller system or commercial state.
Input Schema
{
"type": "object",
"properties": {
"problem": {
"type": "string",
"minLength": 3,
"maxLength": 3000,
"description": "One sanitized technical symptom. Include the affected component and observable error/status. Never include secrets, credentials, private keys or PII."
},
"source": {
"type": "string",
"maxLength": 80,
"description": "Optional attribution label for the calling agent or integration; omit when no stable source label is available."
}
},
"required": [
"problem"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"phase": {
"type": "string",
"description": "DIAGNOSE on a successful bounded diagnosis."
},
"free": {
"type": "boolean",
"description": "True for this free diagnostic step."
},
"rawInputStored": {
"type": "boolean",
"description": "False when the raw diagnostic input is not retained as payload data."
},
"suggestedProductId": {
"type": "string",
"description": "Public repair product suggested from the diagnosis when available."
},
"nextTool": {
"type": "string",
"description": "quote_repair when the caller wants a priced bounded repair."
},
"automaticQuote": {
"type": "boolean",
"description": "False; diagnosis never creates a quote automatically."
},
"automaticCheckout": {
"type": "boolean",
"description": "False; diagnosis never creates checkout automatically."
},
"automaticPayment": {
"type": "boolean",
"description": "False; diagnosis never sends or charges payment."
},
"automaticExecution": {
"type": "boolean",
"description": "False; diagnosis never starts repair execution."
},
"error": {
"type": "string",
"description": "Present when a bounded diagnosis could not be produced."
}
},
"description": "Bounded diagnosis result. On success phase is DIAGNOSE and nextTool is quote_repair; an error field indicates diagnosis was unavailable.",
"additionalProperties": true
}🟡quote_repair(description, productId, source)
Use only after diagnose_issue when the caller wants a priced bounded repair. Creates a new non-binding quote for the selected or automatically matched public service. Repeating the call may create a different quoteId, so it is intentionally non-idempotent. It does not accept the quote, create checkout, send payment or start execution. If the quote is accepted by the caller, pass its quoteId and one offered payment rail to prepare_repair.
Input Schema
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 8,
"maxLength": 2000,
"description": "Sanitized bounded repair need derived from diagnose_issue; describe the failure and desired repair outcome without secrets or PII."
},
"productId": {
"type": "string",
"minLength": 3,
"maxLength": 100,
"description": "Optional exact public productId suggested by diagnose_issue or chosen from the catalog. Omit to let NAIF match the closest service."
},
"source": {
"type": "string",
"maxLength": 80,
"description": "Optional attribution label for the calling agent or integration."
}
},
"required": [
"description"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"phase": {
"type": "string",
"description": "QUOTE on a successful quote."
},
"quoteId": {
"type": "string",
"description": "Unique non-binding quote identifier to pass to prepare_repair after explicit caller acceptance."
},
"productId": {
"type": "string",
"description": "Matched public repair product identifier."
},
"productName": {
"type": "string",
"description": "Human-readable matched repair service name."
},
"price": {
"description": "Commercial price returned by the quote service."
},
"exactAmount": {
"description": "Exact settlement amount when the selected payment design requires one; preserve it exactly as returned."
},
"currency": {
"type": "string",
"description": "Quote currency."
},
"eta": {
"description": "Estimated delivery time or service ETA when available."
},
"state": {
"type": "string",
"description": "Current quote state returned by commerce."
},
"commercialState": {
"type": "string",
"description": "Commercial lifecycle state when available."
},
"paymentRails": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Rail identifier to pass as prepare_repair.rail."
}
},
"required": [
"id"
],
"additionalProperties": true
},
"description": "Payment rail descriptors offered for this quote; pass one descriptor id to prepare_repair.rail."
},
"nextTool": {
"type": "string",
"description": "prepare_repair after explicit caller acceptance."
},
"quoteAccepted": {
"type": "boolean",
"description": "False; creating a quote does not accept it."
},
"checkoutCreated": {
"type": "boolean",
"description": "False; creating a quote does not create checkout."
},
"automaticPayment": {
"type": "boolean",
"description": "False; this tool never sends or charges payment."
},
"automaticExecution": {
"type": "boolean",
"description": "False; this tool never starts repair execution."
},
"automaticJob": {
"type": "boolean",
"description": "False; this tool never starts a repair job."
},
"error": {
"type": "string",
"description": "Present when the requested service is unavailable or commerce could not create a quote."
}
},
"description": "Non-binding repair quote. A successful result includes quoteId, price/currency, offered paymentRails and nextTool=prepare_repair. An error field indicates no quote was created.",
"additionalProperties": true
}🟡prepare_repair(quoteId, confirm, rail, source)
Use ONLY for the normal repair flow after quote_repair has already returned a quoteId and the caller explicitly chooses that existing quote. This tool does not create a quote: with confirm=true it records acceptance of that quote and creates checkout instructions on exactly one rail offered by it. Do NOT use this tool for owner/platform-preauthorized autonomous purchasing where the agent is allowed to choose one of the four capped micro-services and create its own quote; use request_delegated_purchase for that separate flow. APPLE_PAY returns a human handoff URL for buyer authorization; BASE_USDC and TRON_USDT return payer transfer instructions. It never sends funds, charges the caller, verifies payment or directly starts repair execution. After the buyer completes the required payment action, use verify_repair with the returned checkoutId and the same rail.
Input Schema
{
"type": "object",
"properties": {
"quoteId": {
"type": "string",
"minLength": 8,
"maxLength": 128,
"description": "Exact quoteId returned by quote_repair and explicitly accepted by the caller."
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true to record explicit acceptance before checkout instructions are created."
},
"rail": {
"type": "string",
"enum": [
"APPLE_PAY",
"BASE_USDC",
"TRON_USDT"
],
"description": "Choose exactly one id from the descriptors in quote_repair.paymentRails. Saudi quotes normally offer APPLE_PAY only."
},
"source": {
"type": "string",
"maxLength": 80,
"description": "Optional attribution label for the calling agent or integration."
}
},
"required": [
"quoteId",
"confirm",
"rail"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"phase": {
"type": "string",
"description": "PREPARE_REPAIR on success."
},
"quoteId": {
"type": "string",
"description": "Accepted quote identifier."
},
"rail": {
"type": "string",
"description": "Selected payment rail."
},
"quoteAcceptance": {
"type": "object",
"description": "Commerce acknowledgement that the quote was accepted.",
"additionalProperties": true
},
"checkout": {
"type": "object",
"description": "Checkout record/instructions returned for the selected rail; includes the checkout identifier used by verify_repair.",
"additionalProperties": true
},
"nextAction": {
"type": "object",
"description": "For APPLE_PAY, human handoff information; for wallet rails, payer transfer instructions.",
"additionalProperties": true
},
"nextTool": {
"type": "string",
"description": "verify_repair after the buyer completes the payment action."
},
"fundsSent": {
"type": "boolean",
"description": "False; this tool does not send funds."
},
"paymentVerified": {
"type": "boolean",
"description": "False until verify_repair confirms an existing payment."
},
"automaticPayment": {
"type": "boolean",
"description": "False; no automatic charge or transfer occurs."
},
"automaticExecution": {
"type": "boolean",
"description": "False; this preparation step does not directly execute repair."
},
"automaticJob": {
"type": "boolean",
"description": "False; this preparation step does not start a repair job."
},
"error": {
"type": "string",
"description": "Present when quote acceptance or checkout preparation failed."
}
},
"description": "Accepted quote plus checkout instructions. A successful result includes checkout information and nextTool=verify_repair; no funds are sent by this tool.",
"additionalProperties": true
}🟡request_delegated_purchase(productId, description, authorizedMerchant, maxAmountUsd, authorizeCheckout, ...)
Use ONLY for an owner/platform-preauthorized autonomous purchase of one of four supported micro-services under an explicit spending cap. Unlike prepare_repair, this tool does not consume an existing quoteId: it creates its own quote, accepts it, and creates checkout within the delegation. Repeating the call may create a new quote/checkout, so it is intentionally non-idempotent. Do NOT use it when quote_repair already produced a quoteId or for general repair services outside the four listed micro-services; use prepare_repair for an existing repair quote. Supports wallet rails and APPLE_PAY_AUTO. APPLE_PAY_AUTO requires one human Apple Pay approval first; when Tap returns an ACTIVE saved-card payment agreement, later purchases may be charged only within the stored cap. If provider support or authorization is missing, the flow fails closed.
Input Schema
{
"type": "object",
"properties": {
"productId": {
"type": "string",
"enum": [
"json-validity-check",
"api-response-shape-check",
"json-normalizer",
"csv-schema-audit"
],
"description": "Exactly one of the four services allowed for delegated purchase. For any other repair service, use diagnose_issue → quote_repair → prepare_repair."
},
"description": {
"type": "string",
"minLength": 8,
"maxLength": 2000,
"description": "Sanitized bounded work description for the delegated micro-service; never include secrets, credentials or private keys."
},
"authorizedMerchant": {
"type": "string",
"const": "naifgravity.com",
"description": "Merchant scope explicitly authorized by the owner/platform for this delegated purchase flow."
},
"maxAmountUsd": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 5,
"description": "Owner/platform per-purchase spending cap in USD-equivalent. The quote must fit inside this cap and the service launch price."
},
"authorizeCheckout": {
"type": "boolean",
"const": true,
"description": "Explicit permission for this tool to create its own quote, accept it, and create checkout within the supplied cap. If a quoteId already exists, use prepare_repair instead."
},
"paymentRail": {
"type": "string",
"enum": [
"AUTO",
"BASE_USDC",
"TRON_USDT",
"APPLE_PAY_AUTO"
],
"description": "Delegated-purchase rail policy. AUTO chooses an eligible wallet rail; APPLE_PAY_AUTO uses or establishes the capped Tap authorization. This is not the manual rail selection for prepare_repair."
},
"applePayAuthorizationToken": {
"type": "string",
"minLength": 20,
"maxLength": 240,
"description": "Opaque token returned by the one-time APPLE_PAY_AUTO setup. Supply only a token from this delegated authorization flow; never provide card data or raw Apple Pay payloads."
},
"dailyLimitUsd": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 20,
"description": "Requested daily APPLE_PAY_AUTO cap used only during first-time authorization setup; maximum 20 USD."
},
"source": {
"type": "string",
"maxLength": 80,
"description": "Optional attribution label for the calling agent or integration."
}
},
"required": [
"productId",
"description",
"authorizedMerchant",
"maxAmountUsd",
"authorizeCheckout"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Delegated-purchase state such as PAYMENT_REQUIRED, ONE_TIME_APPLE_PAY_AUTHORIZATION_REQUIRED, APPLE_PAY_AUTHORIZATION_NOT_ACTIVE, or a provider payment state."
},
"productId": {
"type": "string",
"description": "One of the four delegated micro-service product identifiers."
},
"quoteId": {
"type": "string",
"description": "Quote created by this delegated call. It was not supplied by the caller."
},
"checkoutId": {
"type": "string",
"description": "Checkout created by this delegated call when quote creation/acceptance succeeded."
},
"authorization": {
"type": "object",
"description": "APPLE_PAY_AUTO authorization setup/status information, potentially including the one-time human authorization URL/token. Never interpret this object alone as payment success.",
"additionalProperties": true
},
"delegatedAuthorization": {
"type": "object",
"description": "Echo of the enforced merchant/spending delegation, including cap and whether quote acceptance/checkout creation were authorized.",
"additionalProperties": true
},
"paymentRail": {
"type": "string",
"enum": [
"BASE_USDC",
"TRON_USDT",
"APPLE_PAY_AUTO"
],
"description": "Rail actually selected for this delegated purchase."
},
"paymentInstructions": {
"type": "object",
"description": "Wallet transfer instructions for an existing delegated checkout; the tool does not send the transfer.",
"additionalProperties": true
},
"nextTool": {
"type": "string",
"description": "For wallet rails, verify_checkout_payment after the payer submits the exact transfer."
},
"nextToolArguments": {
"type": "object",
"description": "Suggested verification arguments for the wallet checkout; txHash remains caller-supplied after payment.",
"additionalProperties": true
},
"payerAction": {
"type": "string",
"description": "Required human/payer action before payment can be considered complete."
},
"automaticQuote": {
"type": "boolean",
"description": "True when this tool created the delegated quote itself."
},
"automaticAcceptance": {
"type": "boolean",
"description": "True when the delegated quote was automatically accepted under explicit owner/platform authorization."
},
"automaticCheckout": {
"type": "boolean",
"description": "True when this tool created checkout under the delegation."
},
"automaticPayment": {
"type": "boolean",
"description": "False for wallet flows and authorization setup; may only become provider-driven within a previously ACTIVE APPLE_PAY_AUTO agreement."
},
"automaticExecution": {
"type": "boolean",
"description": "False until the existing post-payment workflow has verified payment; this tool does not execute unpaid work."
},
"automaticJob": {
"type": "boolean",
"description": "False when no verified-payment job has been attached yet."
},
"verified": {
"type": "boolean",
"description": "When returned by the provider flow, true only for a verified payment."
},
"state": {
"type": "string",
"description": "Provider/checkout state when returned."
},
"paymentId": {
"type": "string",
"description": "Verified payment identifier when returned by the provider flow."
},
"job": {
"description": "Repair/delivery job attached by the existing verified-payment workflow when available; may be null."
},
"error": {
"type": "string",
"description": "Fail-closed error code when delegation, price, provider authorization, quote, checkout, or payment requirements are not satisfied."
},
"details": {
"description": "Bounded provider/commerce error details when available."
}
},
"description": "Result of a capped delegated purchase attempt. For wallet rails, success creates and accepts a quote plus checkout and returns PAYMENT_REQUIRED with payer instructions; payment itself remains external. For APPLE_PAY_AUTO, first use may return ONE_TIME_APPLE_PAY_AUTHORIZATION_REQUIRED with human authorization data, while a later call with an ACTIVE authorization token may return provider payment-verification fields. Treat error or a non-confirmed status as not paid. This schema describes the delegated flow only; normal existing-quote repairs use prepare_repair.",
"additionalProperties": true
}⚪verify_repair(checkoutId, rail, txHash)
Use after the buyer completes the payment action for a checkout created by prepare_repair. APPLE_PAY verifies the existing Tap charge by checkoutId; BASE_USDC and TRON_USDT require the payer-provided txHash. A confirmed payment returns verified=true, while an already-confirmed Apple Pay checkout may return alreadyVerified=true; an unconfirmed or rejected payment returns error and/or reason without fabricating success. Verification may also return the job attached by the existing payment-completion workflow. This tool never creates or sends a transaction and never charges the buyer.
Input Schema
{
"type": "object",
"properties": {
"checkoutId": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{8,128}$",
"description": "Exact checkout ID returned by prepare_repair."
},
"rail": {
"type": "string",
"enum": [
"APPLE_PAY",
"BASE_USDC",
"TRON_USDT"
],
"description": "Use the same payment rail selected in prepare_repair."
},
"txHash": {
"type": "string",
"pattern": "^(0x)?[0-9a-fA-F]{64}$",
"description": "Payer-provided transaction hash. Required for BASE_USDC and TRON_USDT after transfer submission; omit for APPLE_PAY."
}
},
"required": [
"checkoutId",
"rail"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"phase": {
"type": "string",
"description": "VERIFY when the verification route returned a structured result."
},
"rail": {
"type": "string",
"description": "Payment rail checked."
},
"checkoutId": {
"type": "string",
"description": "Checkout identifier that was verified."
},
"verified": {
"type": "boolean",
"description": "True only when the provider/chain evidence confirms the expected payment for this checkout."
},
"alreadyVerified": {
"type": "boolean",
"description": "True when an APPLE_PAY checkout had already been verified previously."
},
"state": {
"type": "string",
"description": "Payment/checkout state when returned; PAYMENT_VERIFIED denotes a confirmed payment."
},
"reason": {
"type": "string",
"description": "Verification evidence or rejection reason when returned by a wallet rail."
},
"paymentId": {
"type": "string",
"description": "Recorded verified payment identifier when available."
},
"job": {
"description": "Existing repair job attached by the payment-completion workflow when available; may be null."
},
"error": {
"type": "string",
"description": "Present when payment is missing, unavailable, invalid or could not be verified."
}
},
"description": "Verification status for an existing checkout payment. Treat verified=true or alreadyVerified=true as confirmed; otherwise inspect error/reason/state and do not assume payment success.",
"additionalProperties": true
}Community
Evidence