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

stacklok / toolhive / 22765002621 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2026 01:23PM UTC
Files 537
Run time 13s
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.1

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>

47136 of 73763 relevant lines covered (63.9%)

73.08 hits per line

Source Files on job 22765002621.1
  • Tree
  • List 537
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22765002621
  • ff81ee4f on github
  • Prev Job for on main (#22764768913.1)
  • Next Job for on main (#22766270458.1)
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