Octri

mcp score

Evalúa, sobre 10, lo que se ofrece a los agentes: primero las herramientas más débiles, luego los problemas del servidor en conjunto y las reglas que más puntos restan. Acepta las correcciones sugeridas en MCP Studio y llegarán a los agentes con la siguiente publicación. Consulta calidad de las herramientas.

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

Opciones

--tool <name>string

Muestra los hallazgos de una herramienta, cada uno con su clave y sugerencias de reescritura.

--allboolean

Enumera todas las herramientas, no solo las 15 más débiles.

--fail-under <score>number

Termina con un error si la puntuación está por debajo de este valor, como 7, para que falle un trabajo de CI cuando baje la calidad.

octri mcp score ignore <key>

Descarta un hallazgo que no se aplique a tu API. Solo cambia la puntuación: lo que se ofrece a los agentes no cambia, así que no hay nada que publicar.

Argumentos

<key>stringobligatorio

La clave del hallazgo, de --tool.

octri mcp score restore <key>

Vuelve a mostrar un hallazgo descartado.

Argumentos

<key>stringobligatorio

La clave del hallazgo.

Ejemplos

Evaluar el servidor

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

Hallazgos de una herramienta

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.