{"server":"io.github.erickmckee/klearflow-relay","count":3,"tools":[{"name":"inspect_revenue_opportunity","title":"Inspect Revenue Opportunity","description":"Use this first when deciding whether a business has recoverable missed-call or follow-up revenue leakage. Returns a score, estimated monthly leak, recoverable revenue, and next action. Execution costs $0.005 via x402 Base USDC.","input_schema":{"type":"object","required":["industry","missedCallsPerWeek","followUpMethod"],"properties":{"zipCode":{"type":"string","description":"Optional postal code used as business-market context."},"industry":{"type":"string","description":"Business industry or service category, for example HVAC, roofing, plumbing, legal, or dental."},"businessName":{"type":"string","description":"Optional business name used only to label the result."},"interestLevel":{"enum":["just_curious","medium","high","urgent"],"type":"string","description":"Optional buying/response urgency used to calibrate the recommended commercial action."},"followUpMethod":{"enum":["none","manual","email","text"],"type":"string","description":"Current follow-up process for missed opportunities: none, manual human follow-up, email, or text/SMS."},"averageJobValue":{"type":"number","minimum":0,"description":"Average revenue in USD from one won job or customer opportunity."},"missedCallsPerWeek":{"type":"number","minimum":0,"description":"Estimated inbound calls missed per week. Use 0 when none are missed."},"estimatedRecoveryRate":{"type":"number","maximum":1,"minimum":0,"description":"Expected fraction of leaked opportunities that can be recovered, from 0 to 1. Omit to use the model default."}},"additionalProperties":false},"output_schema":{"type":"object","required":["proofId","priceUsd","payment","result"],"properties":{"result":{"type":"object","description":"Inspection result containing the leakage score, modeled monthly leak, recoverable revenue estimate, and recommended next action.","additionalProperties":true},"payment":{"type":"object","required":["protocol","payer","transaction","network"],"properties":{"payer":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Settled payer address when supplied by the payment facilitator."},"network":{"type":"string","description":"Payment network identifier, currently Base mainnet eip155:8453."},"protocol":{"type":"string","const":"x402"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Settlement transaction identifier when available."}},"additionalProperties":false},"proofId":{"type":"string","description":"Unique KlearFlow proof identifier for this settled paid execution."},"priceUsd":{"type":"number","minimum":0,"description":"USDC-denominated execution price settled through x402."}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T05:30:28.076Z"},{"name":"recover_revenue","title":"Recover Revenue","description":"Use this after a specific revenue-loss event already happened and the caller needs the next recovery action. Returns a prioritized decision packet; KlearFlow sends no external message. Execution costs $0.05 via x402 Base USDC.","input_schema":{"type":"object","required":["eventType","minutesSinceEvent"],"properties":{"industry":{"type":"string","description":"Optional business industry or service category used to tailor the recovery action."},"eventType":{"enum":["missed_call","stale_lead","quote_unanswered","appointment_no_show","payment_failed"],"type":"string","description":"Specific revenue-loss event to recover: missed call, stale lead, unanswered quote, appointment no-show, or failed payment."},"bookingUrl":{"type":"string","description":"Optional booking URL to include in a recommended recovery message."},"paymentUrl":{"type":"string","description":"Optional secure payment-retry URL for payment_failed events."},"businessName":{"type":"string","description":"Optional business name used to label the recovery packet."},"priorAttempts":{"type":"integer","minimum":0,"description":"Number of prior recovery outreach attempts already made."},"preferredChannel":{"enum":["auto","sms","email","phone_task"],"type":"string","description":"Preferred recovery channel. Use auto to let KlearFlow select among SMS, email, or a human phone task."},"customerFirstName":{"type":"string","description":"Optional customer first name used only when composing the recommended action text."},"minutesSinceEvent":{"type":"number","minimum":0,"description":"Minutes elapsed since the revenue-loss event occurred."},"averageOpportunityValue":{"type":"number","minimum":0,"description":"Estimated gross value in USD of the customer opportunity."}},"additionalProperties":false},"output_schema":{"type":"object","required":["proofId","priceUsd","payment","result"],"properties":{"result":{"type":"object","description":"Recovery decision packet containing priority, recommended action, fallbacks, stop conditions, modeled economics, and safety boundaries.","additionalProperties":true},"payment":{"type":"object","required":["protocol","payer","transaction","network"],"properties":{"payer":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Settled payer address when supplied by the payment facilitator."},"network":{"type":"string","description":"Payment network identifier, currently Base mainnet eip155:8453."},"protocol":{"type":"string","const":"x402"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Settlement transaction identifier when available."}},"additionalProperties":false},"proofId":{"type":"string","description":"Unique KlearFlow proof identifier for this settled paid execution."},"priceUsd":{"type":"number","minimum":0,"description":"USDC-denominated execution price settled through x402."}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T05:30:28.076Z"},{"name":"route_task","title":"Route Task","description":"Use this when the caller needs to discover and rank live x402 providers for a task before choosing downstream spend. KlearFlow does not execute the selected provider. Routing costs $0.005 via x402 Base USDC.","input_schema":{"type":"object","required":["task"],"properties":{"task":{"type":"string","maxLength":500,"minLength":3,"description":"Plain-English capability the caller wants a live x402 provider to perform."},"limit":{"type":"integer","maximum":10,"minimum":1,"description":"Maximum number of ranked provider candidates to return."},"maxPriceUsd":{"type":"number","maximum":1000,"minimum":0,"description":"Optional maximum listed provider price in USD."},"excludeHosts":{"type":"array","items":{"type":"string","maxLength":255,"minLength":1},"maxItems":20,"description":"Optional provider hostnames to exclude from the ranked result, useful to avoid self-routing or previously rejected providers."},"preferPaidVerified":{"type":"boolean","description":"When true, rank providers with independent paid-verification evidence higher."}},"additionalProperties":false},"output_schema":{"type":"object","required":["proofId","priceUsd","payment","result"],"properties":{"result":{"type":"object","description":"Routing result containing the ranked live x402 provider candidates and the selected recommendation; no downstream provider is executed.","additionalProperties":true},"payment":{"type":"object","required":["protocol","payer","transaction","network"],"properties":{"payer":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Settled payer address when supplied by the payment facilitator."},"network":{"type":"string","description":"Payment network identifier, currently Base mainnet eip155:8453."},"protocol":{"type":"string","const":"x402"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Settlement transaction identifier when available."}},"additionalProperties":false},"proofId":{"type":"string","description":"Unique KlearFlow proof identifier for this settled paid execution."},"priceUsd":{"type":"number","minimum":0,"description":"USDC-denominated execution price settled through x402."}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"openWorldHint":true,"idempotentHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T05:30:28.076Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/io.github.erickmckee%2Fklearflow-relay/connection?target=mcpServers","arguments":{"name":"io.github.erickmckee/klearflow-relay","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/io.github.erickmckee%2Fklearflow-relay","arguments":{"name":"io.github.erickmckee/klearflow-relay"}}]}