Skip to content

Add search enrichment, lists, catalog and skill commands #17

@a6b8

Description

@a6b8

Summary

New CLI commands and search improvements for AI-optimized tool discovery:

  • Search enrichment: flowmcp search now returns meta-flags, requiredParams (with enum values and types), and call examples
  • Detail view: Exact tool name match (count=1) returns full parameter details including optional params
  • Lists command: flowmcp lists [name] for shared list inspection (6 lists, e.g. evm-chains with 123 entries)
  • Catalog generate: flowmcp catalog generate creates a ~438 token meta-catalog for AI session init
  • Skill generate: flowmcp skill generate <tool> creates one-shot skill documentation
  • Search fix: Exact tool name matching (score 100), substring segment matching, description-contains fallback
  • Enum fix: Search output includes enum example values, call examples use correct types (number, boolean)

Eval Results

Subagent A/B testing (Haiku, fresh context):

  • Without enrichment: 0/5 correct API calls (wrong params, wrong types, missing fields)
  • With enrichment: 5/5 correct API calls
  • Skill format vs JSON: equivalent when JSON includes enum values

All 473 existing tests pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions