Octri

mcp score

エージェントに提供される内容を10点満点で評価します。最も弱いツール、サーバー全体の問題、最も多くの点数を減らしているルールを示します。提案された修正をMCP Studioで承認すると、次回の公開後にエージェントに反映されます。ツールの品質をご覧ください。

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

フラグ

--tool <name>string

1つのツールの検出事項を、それぞれのキーと推奨される書き換えとともに出力します。

--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.
  …

1つのツールの検出事項

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:ガイドから作成したワークフローツールが、引き続きガイドと一致しているかを確認します。
  • ツールの品質