Skip to content

Conversation

@tspenov
Copy link
Collaborator

@tspenov tspenov commented Oct 8, 2025

Changes

Ticket

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have tried to find clearer solution before commenting hard-to-understand parts of code
  • I have added tests that prove my fix is effective or that my feature works

Note

Adds a Use Cases Catalog and MCP tool that returns step-by-step analytical recipes (starting with Identify Market Tops) and registers it with tests.

  • Backend / MCP:
    • Use Cases Catalog: Introduces Sanbase.MCP.UseCasesCatalog with identify_market_tops including detailed steps and interpretation.
    • New Tool: Adds Sanbase.MCP.UseCasesCatalogTool to return a simplified list of use cases (title, steps, interpretation).
    • Server Registration: Registers Sanbase.MCP.UseCasesCatalogTool in lib/sanbase/mcp/server.ex.
  • Tests:
    • Validates catalog structure/content and ensures steps reference tools.
    • Verifies tool response shape and fields (only title, steps, interpretation).

Written by Cursor Bugbot for commit 6ede61d. This will update automatically on new commits. Configure here.

@tspenov tspenov force-pushed the add-usecases-tool branch from 22e6e53 to 6ede61d Compare October 8, 2025 07:55
@tspenov
Copy link
Collaborator Author

tspenov commented Oct 21, 2025

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants