What problem does it solve?
This Skill solves the problem of turning existing StockTrim client helper functions into MCP tools that AI assistants can call reliably and safely with correct schemas.
Core Features & Use Cases
- Layered design enforcement: Ensures tools call services and services call helpers (and never bypass layers) so behavior stays testable and maintainable.
- Typed Pydantic I/O for FastMCP: Defines request and response models to produce deterministic, validation-ready tool interfaces for AI hosts.
- MCP-safe JSON output: Returns results using make_json_result to prevent content-channel drift and keep MCP integration consistent.
- Isolated, mocked testing: Guides you to mock the StockTrim client at the service boundary and assert via unwrap_tool_result for clean typed verification.
Quick Start
Use the add-mcp-tool skill to create a new MCP tool that exposes an existing helper method end-to-end, including the FastMCP tool registration, service wrapper, and a mocked MCP test.