تخطي إلى المحتوى
Qualityforeveryone

بروتوكول A2A و MCP

واجهة المطورين وتكامل الوكلاء الذكيين

بدون مفتاح API. استدعِ Quality for Everyone عبر A2A JSON-RPC 2.0 أو بروتوكول سياق النموذج (MCP) للتحقق من الشهادات واستكشاف الدورات وتشغيل 12 حاسبة جودة.

A2A JSON-RPC 2.0
/api/a2a
POST / GET • 60 طلب/دقيقة
خادم أدوات MCP
/api/mcp
tools/list و tools/call
بطاقة الوكيل
/.well-known/agent.json
ملف اكتشاف A2A JSON
بيان النماذج اللغوية
/llms.txt
دليل نصي للوكلاء

أول استدعاء خلال 5 دقائق

أرسل طلب POST بصيغة JSON-RPC 2.0 إلى /api/a2a أو /api/mcp. يمكنك تمرير اسم المهارة داخل params.metadata.skill أو params.skill أو مباشرة في method.

curl -sS -X POST https://www.qualityforeveryone.com/api/a2a \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": "first-call-1",
    "method": "tasks/send",
    "params": {
      "metadata": { "skill": "calculate-oee" },
      "input": {
        "planned": 480,
        "run": 456,
        "idealCycle": 0.5,
        "total": 850,
        "good": 820
      }
    }
  }'

المهارات وأدوات MCP المسجلة (16)

جميع حاسبات الجودة الـ 12 متاحة عبر كل من /api/a2a و /api/mcp.

معرّف المهارة / الأداةالبروتوكولالمدخلات المطلوبةالوصف
verify-certificateA2Acode (نص، مثال: QFE-7X9B-2M4L-8K1P)يتحقق من شهادة Quality for Everyone عبر الرمز مع إخفاء أحرف اللقب حفاظًا على الخصوصية.
list-coursesA2Aلا يوجديعرض جميع دورات الأكاديمية المنشورة دون المسودات أو مفاتيح إجابات الاختبار.
get-courseA2Aslug أو idيسترد البيانات الوصفية للدورة ومخطط الدروس المنشورة.
get-lessonA2Aid أو slugيسترد محتوى القراءة لدرس منشور ضمن دورة منشورة.
calculate-oeeA2A + MCPplanned, run, idealCycle, total, goodCalculate Overall Equipment Effectiveness (Availability × Performance × Quality) and identify the largest loss category. When to use: Use when evaluating manufacturing line efficiency, machine utilization, or TPM/lean equipment losses.
calculate-aqlA2A + MCPlot, aqlCompute ANSI/ASQ Z1.4 / ISO 2859-1 single-sampling acceptance plan (code letter, sample size, Ac, Re) for a given lot size, inspection level, and AQL. When to use: Use when planning incoming, in-process, or final lot acceptance inspection.
calculate-grrA2A + MCPreadingsPerform Measurement Systems Analysis (MSA) Gage R&R using the Average & Range method (2 appraisers, 2-10 parts, 2-3 trials) returning EV, AV, GRR, %TV, %Tolerance, and ndc. When to use: Use when validating measurement system repeatability and reproducibility.
calculate-dpmoA2A + MCPdefects, units, opportunitiesCalculate Defects Per Opportunity (DPO), Defects Per Million Opportunities (DPMO), yield %, Z-score, and 1.5-sigma shifted Six Sigma level. When to use: Use when benchmarking defect rates or Six Sigma performance across processes.
calculate-rtyA2A + MCPyieldsPctCalculate multi-step First Pass Yield (FPY) and Rolled Throughput Yield (RTY), identifying the weakest step and units lost per 1,000. When to use: Use when analyzing cumulative yield loss across a multi-stage production or service process.
calculate-taktA2A + MCPavailable, demandCalculate customer Takt time, cycle-time gap, line capacity, and demand shortfall across time units (s, min, h, shift). When to use: Use when balancing assembly lines or matching production pace to customer demand.
calculate-mtbfA2A + MCPoperating, failures, repairCalculate Mean Time Between Failures (MTBF), Mean Time To Repair (MTTR), and inherent availability. When to use: Use when analyzing equipment reliability, maintenance KPIs, or uptime SLAs.
calculate-capabilityA2A + MCPusl, lsl, mean, sigmaCompute Cp, Cpu, Cpl, Cpk, capability verdict band, sigma level, and expected PPM out-of-spec. When to use: Use when assessing whether a stable process meets engineering specification limits (USL/LSL).
calculate-controlA2A + MCPn, grandMean, rBarCalculate X-bar and R chart control limits (UCL/LCL) using standard A2, D3, D4 constants and optionally detect Western Electric out-of-control rules. When to use: Use when setting up Statistical Process Control (SPC) charts or checking subgroup means for instability.
calculate-copqA2A + MCPinternal, external, appraisal, prevention, revenueCalculate total Cost of Quality / Poor Quality, percentage of revenue, failure-to-prevention ratio, and category shares. When to use: Use when quantifying financial impact of internal/external failures, appraisal, and prevention.
calculate-ppmA2A + MCPdefective, totalConvert defective unit counts and total inspected units into Parts Per Million (PPM), percentage rate, and defects per 1,000. When to use: Use when reporting supplier quality PPM or lot defect rates.
calculate-riskA2A + MCPseverity, occurrence, detectionCalculate S×O risk score and FMEA Risk Priority Number (RPN = S×O×D) on a 1-5 scale, flagging cases where high detection masks severe risk. When to use: Use when prioritizing FMEA failure modes or operational quality risks.