• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 22765002621
64%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2026 01:23PM UTC
Jobs 1
Files 537
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Mar 2026 01:14PM UTC coverage: 63.902% (+0.004%) from 63.898%
22765002621

push

github

web-flow
Enrich optimizer tool descriptions for better LLM usage (#4031)

* Enrich optimizer tool descriptions for better LLM usage

The `find_tool` and `call_tool` MCP tools exposed by the optimizer had
minimal descriptions that did not give LLMs enough context to use them
effectively. LLMs rely heavily on tool descriptions to decide when and
how to invoke tools, so sparse descriptions led to poor tool discovery
and incorrect invocations.

This aligns the Go descriptions with the richer ones in the Python
mcp-optimizer reference (`server.py`), covering:
- When and why to use each tool (use cases)
- What the tools return (response structure)
- Workflow guidance (always call find_tool before call_tool)
- Examples for find_tool queries
- Detailed parameter descriptions with examples for input schemas

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix unit tests with tool descriptions

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

24 of 24 new or added lines in 1 file covered. (100.0%)

11 existing lines in 3 files now uncovered.

47136 of 73763 relevant lines covered (63.9%)

73.08 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
71.85
-1.11% pkg/ignore/processor.go
4
84.01
-1.08% pkg/audit/auditor.go
4
76.83
-0.92% pkg/transport/proxy/transparent/transparent_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 22765002621.1 06 Mar 2026 01:23PM UTC 537
63.9
GitHub Action Run
Source Files on build 22765002621
  • Tree
  • List 537
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22765002621
  • ff81ee4f on github
  • Prev Build on main (#22764768913)
  • Next Build on main (#22766270458)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc