Octri

mcp score

يقيّم ما يُقدَّم للوكلاء من 10: بدءًا بأضعف الأدوات، ثم المشكلات التي تؤثر في الخادم ككل، ثم القواعد التي تخصم أكبر عدد من النقاط. تقبل الإصلاحات المقترحة في MCP Studio، وتصل إلى الوكلاء عند النشر التالي. راجع جودة الأدوات.

bash
octri mcp score [--tool <name>] [--all] [--fail-under <score>]

الخيارات

--tool <name>string

يطبع النتائج الخاصة بأداة واحدة، ولكل نتيجة مفتاح وإعادة صياغة مقترحة.

--allboolean

يسرد كل الأدوات، وليس أضعف 15 أداة فقط.

--fail-under <score>number

ينهي التنفيذ بخطأ إذا كان التقييم أدنى من هذه الدرجة، مثل 7، كي تفشل مهمة CI عند تراجع الجودة.

octri mcp score ignore <key>

يتجاهل نتيجة لا تنطبق على واجهة API لديك. يتغير التقييم فقط: يظل ما يُقدَّم للوكلاء كما هو، لذا لا شيء يحتاج إلى النشر.

الوسيطات

<key>stringمطلوب

مفتاح النتيجة، من --tool.

octri mcp score restore <key>

يعيد نتيجة تم تجاهلها.

الوسيطات

<key>stringمطلوب

مفتاح النتيجة.

أمثلة

تقييم الخادم

bash
octri mcp score
Output
✔ Scoring MCP tools

MCP tool quality 7.5 / 10 A
  definitions    6.6
  coherence      9.7
  listing        every tool
  tokens listed  about 3,123
  last publish   7.5 (was 7.5)
  TOOL                GRADE  SCORE  TOP FINDING
  ──────────────────  ─────  ─────  ────────────────────────────────────────────────────────────
  createCustomer      C        5.2  The description only repeats the name.
  createProduct       C        5.2  The description only repeats the name.
  replaceProduct      C        5.2  The description only repeats the name.
  cancelSubscription  C        5.6  The description only repeats the name.
  listInvoices        B        6.0  The description only repeats the name.
  listProducts        B        6.1  The description only repeats the name.
  …

نتائج أداة واحدة

bash
octri mcp score --tool createCustomer
Output
✔ Scoring MCP tools

createCustomer 5.2 / 10 C
  tokens  about 206 per turn

  high  The description only repeats the name.
    key post-customers|description-restates-name
    description, read first: Create a customer. Use this when the user asks to add a new customer.

  high  5 of 5 inputs have no description: body.name, body.email, body.currency, body.address, body.metadata.
    key post-customers|parameters-described
    input body.name, read first: The customer's name.
    input body.email: Email address.
    input body.currency, read first: The customer's currency.
    input body.address, read first: The customer's address.
    input body.metadata, read first: The customer's metadata.
  Accept fixes in MCP Studio; Publish ships them to agents. octri mcp score ignore <key> dismisses one.
  • octri mcp test: اختبر نماذج حقيقية وهي تنفذ مهام نموذجية باستخدام أدواتك، كتجربة جافة.
  • octri mcp workflows: تحقّق من أن أدوات سير العمل المنشأة من أدلتك ما زالت متوافقة معها.
  • جودة الأدوات