Skip to main content
Glama

title: InterOrdra MCP emoji: 🔍 colorFrom: purple colorTo: blue sdk: docker pinned: false license: mit short_description: AIエージェント向け意味的ギャップ検出ツール

InterOrdra MCP

License: MIT

テキスト間の意味的距離を測定します。問題が深刻化する前に不一致を検出します。

InterOrdraは、2つのテキストが概念的にどれだけ離れているかを数値で示すMCPサーバーです。単なるキーワードの重複ではなく、埋め込みを使用した真の意味的距離を測定します。

会話、検索、または応答が密かに失敗していることを知る必要があるAIエージェント、パイプライン、および開発者向けに構築されています。


Related MCP server: renoun-mpc

解決する問題

2つの事柄は構文的には接続されていても、意味的にはかけ離れている可能性があります:

  • ユーザーがXについて質問し、エージェントがYについて回答する。誰もそれに気づかない。

  • RAGパイプラインがドキュメントを取得するが、実際にはクエリに回答していない。LLMがギャップを埋めるためにハルシネーション(幻覚)を起こす。

  • 交渉が何時間も続くが、当事者同士が同じことについて話していない。

  • ユーザーが同じ質問を5回言い換えるが、システムが真のニーズを見逃し続ける。

InterOrdraはこれらのギャップを表面化させます。0(完全に一致)から1(完全に切断)までのスコア、重大度レベル、および各側に固有の語彙を提供します。


Smithery経由で接続(推奨)

セットアップは不要です。MCP互換のクライアントであればどれでも動作します。

Connect on Smithery

独自の ANTHROPIC_API_KEY が必要です。接続時にSmitheryから入力を求められます。


ユースケース

シナリオ

呼び出すツール

LLMの回答が質問に関連しているか確認する

detectar_gap

RAG検索の検証 — ドキュメントは実際にクエリに回答しているか?

detectar_gap

パイプライン内の2つのエージェントが切断された出力を生成している

detectar_gap

ユーザーが満足できず、同じ質問を言い換え続けている

reformular_pregunta

曖昧なリクエストの背後にある真のニーズを見つける

reformular_pregunta

マルチターン会話がドリフトし、一貫性を失っている

analizar_conversacion

交渉や議論が失敗した理由を診断する

analizar_conversacion

チームメンバーのメッセージ間の不一致を検出する

analizar_conversacion


各ツールの呼び出し時

detectar_gap を呼び出す場合:

  • 質問と回答がトピックから外れている、または切断されているように見える場合

  • 2つのテキスト間の意味的類似性の数値スコアが必要な場合

  • 検索拡張生成(RAG)用の関連性フィルターを構築している場合

  • 2つの概念が同じ意味空間に属していることを確認する必要がある場合

reformular_pregunta を呼び出す場合:

  • 質問が曖昧すぎて適切に回答できない場合

  • ユーザーが満足を得られずに同じことを聞き続けている場合

  • 回答する前に根本的な問題を表面化させる必要がある場合

analizar_conversacion を呼び出す場合:

  • マルチターン会話がドリフトし、一貫性を失っている場合

  • 整合性が崩れた正確なターンを見つける必要がある場合

  • エージェントパイプラインがターン間で一貫性のない出力を生成している場合


ツール

detectar_gap

埋め込みを使用して2つのテキスト間の意味的距離を測定します。ギャップスコア、重大度レベル、および各テキストに固有の語彙を返します。

入力:

{
  "texto_a": "the server is not responding to network requests",
  "texto_b": "I need the team to understand my product vision"
}

戻り値:

{
  "gap_score": 0.94,
  "nivel": "alto",
  "mensaje": "Gap semántico significativo. Los textos hablan de mundos distintos.",
  "similaridad_semantica": 0.06,
  "palabras_solo_en_A": ["servidor", "red", "solicitudes"],
  "palabras_solo_en_B": ["visión", "producto", "equipo"],
  "metodo": "embeddings"
}

ギャップスコア:

  • 0.0 – 0.3 → 低。テキストは十分な意味を共有しています。

  • 0.3 – 0.6 → 中。部分的な切断。誤解が生じる可能性があります。

  • 0.6 – 1.0 → 高。テキストは完全に異なる概念世界で動作しています。


reformular_pregunta

質問を受け取り、その背後にある真のニーズを表面化させる3つの代替的なフレーミングを返します。Claudeを使用します。

入力:

{
  "pregunta": "why doesn't anyone understand me"
}

戻り値:

{
  "pregunta_original": "why doesn't anyone understand me",
  "variantes": [
    "What specific communication breakdown is happening in your current context?",
    "What would it look like if someone truly understood you — what would change?",
    "Which part of your message consistently gets lost or misinterpreted?"
  ],
  "instruccion": "Use these variants to explore the gap between what is asked and what is needed."
}

analizar_conversacion

メッセージのシーケンスを分析し、蓄積された意味的ギャップを検出します。会話がどこで乖離し始めたかを見つけます。

入力:

{
  "mensajes": [
    "We need to improve system performance",
    "I think we should hire more engineers",
    "The budget for Q3 is already allocated",
    "Can we talk about team morale instead?"
  ]
}

戻り値:

{
  "gaps_detectados": [
    {"entre_mensajes": "1 y 2", "gap_score": 0.45, "nivel": "medio"},
    {"entre_mensajes": "2 y 3", "gap_score": 0.71, "nivel": "alto"},
    {"entre_mensajes": "3 y 4", "gap_score": 0.83, "nivel": "alto"}
  ],
  "gap_promedio": 0.66,
  "punto_critico": {"entre_mensajes": "3 y 4", "gap_score": 0.83},
  "diagnostico": "Conversación gravemente desacoplada"
}

セルフホスト

要件: Python 3.10+ · 独自の ANTHROPIC_API_KEY

pip install fastmcp anthropic
python server.py

Claude Desktopclaude_desktop_config.json に追加:

{
  "mcpServers": {
    "interordra": {
      "command": "python",
      "args": ["/path/to/server.py"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

InterOrdraは独自のAnthropic APIキーを使用します。著者はあなたの利用料金を負担しません。


背景

InterOrdraは、技術的には通信しているが実際には切断されている、全く異なる周波数で放送している2つのシステムというパターンから生まれました。

名前は inter(間)+ ordra(秩序/構造)に由来しており、ギャップが存在する秩序あるシステム間の空間を意味します。

プロジェクト全体: github.com/rosibis-piedra/interordra


著者

Rosibis Piedra AIソフトウェアエンジニア · コスタリカ github.com/rosibis-piedra


ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Structural observability for AI conversations. Detects loops, stuck states, breakthroughs, and convergence across 17 channels without analyzing content.
    2
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to intelligently match tasks to skills through semantic embeddings, track skill effectiveness, detect skill gaps, and discover new skills from external sources.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rosibis-piedra/interordra-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server