Commit 4fcabca
committed
feat(meta-tools): guide @mux to optimize minimal-first, expand on demand
Composing a toolset was slow because the model would dump the whole
catalog (mcpmux_list_all_tools), reason over all of it, then build one
large FeatureSet upfront. Steer it toward a lean, incremental strategy
in the guidance the model actually reads:
- Server instructions: add an explicit "start minimal and expand on
demand" directive — search for just the tools the task needs, compose
a small FeatureSet, then grow it later (manage_feature_set update +
add) only as new needs arise. Don't over-curate; re-optimizing is
cheap.
- mcpmux_list_all_tools description: point to mcpmux_search_tools for the
common case; call out the full dump as the most token-heavy read.
- mcpmux_manage_feature_set description: prefer a small initial set
expanded later over adding every candidate tool upfront.
Guidance-only; no behavior change to the tools themselves.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent b90b05c commit 4fcabca
2 files changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
372 | 381 | | |
373 | 382 | | |
374 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
719 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
720 | 723 | | |
721 | 724 | | |
722 | 725 | | |
| |||
0 commit comments