MCP App Store
by KeenEthics

Overview

Winnow helps growers answer questions about their own farm operations in ChatGPT. The app exposes schema discovery and read-only SQL query tools over the farm's scoped operation, field, and weather tables, with server-side validation that rejects non-SELECT statements and out-of-scope datasets.

Tools

execute_sql

ChatGPT
Run a READ-ONLY BigQuery SELECT over this farm's tables and return the rows. Reference only the tables from get_schema (unqualified names resolve to this farm's dataset); non-SELECT statements and other datasets are rejected. Small results return inline JSON; a large result returns COMPLETE (never truncated) as an attached CSV file resource, with a note saying so. Pass the user's question in user_question.

get_layer

ChatGPT
Used by the map page. Do not call directly; use show_map.

get_schema

ChatGPT
Call this FIRST, with no tables, before writing SQL: the result opens with this farm's operating guide (units, replant/split-field rules, how to name a machine) and then indexes the real tables with their column names. Then, before querying a table, call again with tables=[...] to get those tables' column types and descriptions. Returns no data rows — use execute_sql for that. Pass the user's question in user_question.

show_map

ChatGPT
Show farm data on an interactive satellite map. A layer is one field operation's points ({"operation": field_operation_id, "color_by"?}), one trial's treatment areas ({"trial": trial_id}), a set of field outlines ({"fields": [field_id, ...]}), one field's lab soil samples for one sampling year ({"soil_samples": field_id, "year"?, "color_by"?}), or one field's USDA soil survey map units ({"ssurgo": field_id, "color_by"?}). Lab samples are measured; the survey is an estimate of inherent soil. Find the IDs with execute_sql first, and confirm the field with the user if more than one matches. Prefer one field per map. Every layer's field is outlined. Pass the user's question in user_question.

Capabilities

WritesInteractive

Similar Apps