Phase 11: crop_seed_api_lessons tool + Pioneer fallback #3
Reference in New Issue
Block a user
Delete Branch "api-lessons-pioneer-fallback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add the fifth MCP tool
crop_seed_api_lessons(topic?)backed bydocs_mcp/lessons.md. This is the only source of opinionated content in the server — everything else returns verbatim from vendor catalogs.The Pioneer fallback is the critical anti-hallucination addition. Pioneer's ToS bans automation; without this tool an agent might surface Bayer/Asgrow chunks as mediocre matches for a Pioneer query and try to answer anyway. The tool's docstring tells the agent to call it on any Pioneer / P-series question; the
pioneersection says clearly: "I don't have Pioneer's variety data indexed... please consult Pioneer or an extension service." and "Do NOT invent Pioneer hybrid ratings."Lesson sections shipped
lookup_varietybefore quotingTest plan
topic='pioneer'returns the Pioneer fallback policy section.topic='rating'returns justrating-scales(slug-match preferred over body-match).topic='trait'returns justtrait-glossary.topic=Nonereturns the full 10K-char curated index (8 sections).topic='zzzzzz'returns a no-match message listing all available slugs.mcp.list_tools()shows it alongside the other four.