Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Feature request: find_remote_tools - implement semantic/intent-based filtering

Aperta
#313 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Inizia da internal/node/mcp_handlers.go, nell’handler find_remote_tools, e segui come vengono elaborati intent e i filtri esistenti peer_id, service_name e tool_name. Scegli un approccio alla rilevanza, quindi verifica che intent restituisca o classifichi più in alto i nomi e le descrizioni corrispondenti, si combini con i filtri esistenti e preservi il comportamento della ricerca per nome esatto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

find_remote_tools accepts an intent parameter ("Natural-language description of what the caller is looking for") but it is a no-op: the handler logs it at debug level and ignores it (internal/node/mcp_handlers.go). The tool description and JSON schema already advertise it as "reserved for future semantic ranking".

Current behavior

Only structural filters work: peer_id, service_name, and tool_name (exact match). An agent that doesn't know a tool's exact name must list everything and scan descriptions itself.

Feature request

Make intent actually filter/rank results. When set, match it against tool names and descriptions and return results ordered by relevance (or filtered to relevant ones), so a caller can ask e.g. intent: "review a pull request" and get mcp://code-reviewer/review_pr near the top without knowing the name.

Possible directions, from simplest to heaviest:

  1. Lexical matching (substring/keyword overlap against name + description) — no new dependencies.
  2. Embedding-based ranking, e.g. via an inference service already hosted on the mesh.

Notes

  • Should compose with the existing filters (peer_id, service_name).
  • If intent is set together with tool_name, the exact-name lookup should probably still win.
  • No API change needed: the parameter and its schema already exist, so this is backward compatible.
Lingua principale
Go
Stelle
926
Fork
138
Merge medio
11h 7m
PR unite (30g)
152

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di google/sam

Tutte le issue di google/sam

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.