KlearFlow Relay
Machine-paid revenue intelligence, recovery decisions, and x402 routing for AI agents.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"klearflow-relay": {
"url": "https://klearflow.vercel.app/mcp"
}
}
}원격 엔드포인트
https://klearflow.vercel.app/mcpstreamable-http할 수 있는 일
도구 목록
도구 (3)
🟢inspect_revenue_opportunity(businessName, industry, missedCallsPerWeek, followUpMethod, interestLevel, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"businessName": {
"type": "string",
"description": "Optional business name used only to label the result."
},
"industry": {
"type": "string",
"description": "Business industry or service category, for example HVAC, roofing, plumbing, legal, or dental."
},
"missedCallsPerWeek": {
"type": "number",
"minimum": 0,
"description": "Estimated inbound calls missed per week. Use 0 when none are missed."
},
"followUpMethod": {
"type": "string",
"enum": [
"none",
"manual",
"email",
"text"
],
"description": "Current follow-up process for missed opportunities: none, manual human follow-up, email, or text/SMS."
},
"interestLevel": {
"type": "string",
"enum": [
"just_curious",
"medium",
"high",
"urgent"
],
"description": "Optional buying/response urgency used to calibrate the recommended commercial action."
},
"zipCode": {
"type": "string",
"description": "Optional postal code used as business-market context."
},
"averageJobValue": {
"type": "number",
"minimum": 0,
"description": "Average revenue in USD from one won job or customer opportunity."
},
"estimatedRecoveryRate": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Expected fraction of leaked opportunities that can be recovered, from 0 to 1. Omit to use the model default."
}
},
"required": [
"industry",
"missedCallsPerWeek",
"followUpMethod"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"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."
},
"payment": {
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "x402"
},
"payer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Settled payer address when supplied by the payment facilitator."
},
"transaction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Settlement transaction identifier when available."
},
"network": {
"type": "string",
"description": "Payment network identifier, currently Base mainnet eip155:8453."
}
},
"required": [
"protocol",
"payer",
"transaction",
"network"
],
"additionalProperties": false
},
"result": {
"type": "object",
"description": "Inspection result containing the leakage score, modeled monthly leak, recoverable revenue estimate, and recommended next action.",
"additionalProperties": true
}
},
"required": [
"proofId",
"priceUsd",
"payment",
"result"
],
"additionalProperties": false
}🟢route_task(task, limit, maxPriceUsd, preferPaidVerified, excludeHosts)
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.
입력 스키마
{
"type": "object",
"properties": {
"task": {
"type": "string",
"minLength": 3,
"maxLength": 500,
"description": "Plain-English capability the caller wants a live x402 provider to perform."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Maximum number of ranked provider candidates to return."
},
"maxPriceUsd": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"description": "Optional maximum listed provider price in USD."
},
"preferPaidVerified": {
"type": "boolean",
"description": "When true, rank providers with independent paid-verification evidence higher."
},
"excludeHosts": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"description": "Optional provider hostnames to exclude from the ranked result, useful to avoid self-routing or previously rejected providers."
}
},
"required": [
"task"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"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."
},
"payment": {
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "x402"
},
"payer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Settled payer address when supplied by the payment facilitator."
},
"transaction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Settlement transaction identifier when available."
},
"network": {
"type": "string",
"description": "Payment network identifier, currently Base mainnet eip155:8453."
}
},
"required": [
"protocol",
"payer",
"transaction",
"network"
],
"additionalProperties": false
},
"result": {
"type": "object",
"description": "Routing result containing the ranked live x402 provider candidates and the selected recommendation; no downstream provider is executed.",
"additionalProperties": true
}
},
"required": [
"proofId",
"priceUsd",
"payment",
"result"
],
"additionalProperties": false
}🟢recover_revenue(eventType, businessName, industry, customerFirstName, minutesSinceEvent, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"eventType": {
"type": "string",
"enum": [
"missed_call",
"stale_lead",
"quote_unanswered",
"appointment_no_show",
"payment_failed"
],
"description": "Specific revenue-loss event to recover: missed call, stale lead, unanswered quote, appointment no-show, or failed payment."
},
"businessName": {
"type": "string",
"description": "Optional business name used to label the recovery packet."
},
"industry": {
"type": "string",
"description": "Optional business industry or service category used to tailor the recovery action."
},
"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."
},
"priorAttempts": {
"type": "integer",
"minimum": 0,
"description": "Number of prior recovery outreach attempts already made."
},
"preferredChannel": {
"type": "string",
"enum": [
"auto",
"sms",
"email",
"phone_task"
],
"description": "Preferred recovery channel. Use auto to let KlearFlow select among SMS, email, or a human phone task."
},
"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."
}
},
"required": [
"eventType",
"minutesSinceEvent"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"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."
},
"payment": {
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "x402"
},
"payer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Settled payer address when supplied by the payment facilitator."
},
"transaction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Settlement transaction identifier when available."
},
"network": {
"type": "string",
"description": "Payment network identifier, currently Base mainnet eip155:8453."
}
},
"required": [
"protocol",
"payer",
"transaction",
"network"
],
"additionalProperties": false
},
"result": {
"type": "object",
"description": "Recovery decision packet containing priority, recommended action, fallbacks, stop conditions, modeled economics, and safety boundaries.",
"additionalProperties": true
}
},
"required": [
"proofId",
"priceUsd",
"payment",
"result"
],
"additionalProperties": false
}커뮤니티
증거