Skip to content

This release adds 3 notable features for engineering teams evaluating rollout.

Published 2mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent agentic ai anthropic function-calling hybrid-search
+13 more
langchain llm mcp mcp-server openai openapi python swagger token-optimization tool-calling tool-retrieval workflow-engine zero-dependency

Summary

AI summary

Multi-stage retrieval pipeline adds cross‑encoder reranking, MMR diversity, and history‑aware demotion.

Full changelog

What's New

Multi-Stage Retrieval Pipeline

  • Cross-encoder reranking — second-stage precision improvement using cross-encoder/ms-marco-MiniLM-L-6-v2
  • MMR diversity — Maximal Marginal Relevance reranking reduces redundant results
  • History-aware retrieval — demotes already-used tools, boosts next-step tools via graph proximity

Graph Conversion Quality

  • Response→Request data flow — detects PRECEDES relations from shared $ref between response and request schemas
  • Layer 2 confidence tuning — reduced false positives in substring-based dependency detection
  • K-means clustering stabilization — deterministic seed selection, increased iterations

Integrated Pipeline

  • ai-api-lint integrationfrom_url(lint=True) auto-fixes poor OpenAPI specs before ingest (missing descriptions, error responses, schema enhancements)
  • LLM keyword enrichment — generates English search keywords for non-English tool descriptions to improve BM25

LLM Auto-Detection Adapter

  • wrap_llm() — pass any LLM without implementing OntologyLLM ABC:
    • callable(str) -> str
    • OpenAI client (openai.OpenAI())
    • String shorthand: "ollama/qwen2.5:7b", "openai/gpt-4o-mini", "litellm/..."
  • build_ontology() — convenience method for ontology construction after tool registration

Installation

pip install graph-tool-call                # core
pip install graph-tool-call[embedding]     # + cross-encoder, sentence-transformers
pip install graph-tool-call[lint]          # + ai-api-lint
pip install graph-tool-call[all]           # everything

318 tests passing, 7 skipped

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track SonAIengine/graph-tool-call

Get notified when new releases ship.

Sign up free

About SonAIengine/graph-tool-call

When tool count exceeds LLM context limits, accuracy collapses (248 tools → 12%). graph-tool-call builds a tool graph from OpenAPI/MCP specs and retrieves multi-step workflows via hybrid search (BM25 + graph traversal + embedding), recovering accuracy to 82% with 79% fewer tokens. Zero dependencies. Also works as an MCP Proxy — aggregate multiple MCP servers behind 3 meta-tools.

All releases →

Beta — feedback welcome: [email protected]