tilley-admin-mcp-web - Tool Documentation

Read-only documentation page for available MCP tools and parameters.
Tool modules: 10
Total tools: 46
Health: /health
MCP transport: POST / (auth required)
OAuth protected resource: /.well-known/oauth-protected-resource
Public base URL: https://admin-mcp.farmtilley.com
MCP issuer: https://admin-mcp.farmtilley.com
Cognito issuer: https://cognito-idp.us-east-2.amazonaws.com/us-east-2_iunpzkPju
OAuth client ID: 3ep69b6m1bukn7h18nqeiffvvv

Employees only. Install skill: ADMIN-SKILLS.md. After sign-in, call AdminAgentSkills_GetDownloadLink for tilley-admin-agent-skills.zip.

adhoc-sql

AdHocQuery_ChooseCatalog

read-only idempotent Choose DATANAC SQL catalog

ADMIN ONLY. Step 1 of 3. Returns a guidance prompt that maps question domains to catalogs. Currently supports DATANAC-Users (members, agencies, agents, producer farms, insurance scenarios/plans, budgets, sales, trades) and DATANAC-Markets (Futures, Options, SpecialOptions, uvw_Quotes view, FuturesSymbols). The prompt includes support-visibility columns: acre flags and share fields, claim year and damage columns, and Sale versus TransactionHistory. Return those columns; do not label the rows. Call this before AdHocQuery_ExploreSchema or AdHocQuery_ExecuteQuery.

No parameters.

AdHocQuery_ExecuteQuery

read-only idempotent Execute T-SQL (30 s, sync)

ADMIN ONLY. Step 3 of 3 (small result sets). Executes T-SQL as the DATANAC_READONLY user. Writes are impossible — the SQL login only has db_datareader. Prefer explicit column lists over SELECT *. Joins and aggregates are fine. 30-second command timeout. For long-running queries or large exports use AdHocQuery_ExecuteQueryAsync.

Name Type Required Default Description
catalog string yes Catalog: 'DATANAC-Users' or 'DATANAC-Markets'.
tsql string yes T-SQL query. Read-only enforced at the SQL level (db_datareader).
max_rows int? no Max rows returned in JSON (1–1000, default 200).

AdHocQuery_ExecuteQueryAsync

read-only Execute T-SQL (5 min, CSV → S3)

ADMIN ONLY. Queues a long-running T-SQL query (up to 5 minutes). Returns a task_id immediately. Poll AdHocQuery_QueryAsyncStatus every 5–10 s until done. On completion, result is a CSV with header row uploaded to S3; status returns a 1-hour presigned URL.

Name Type Required Default Description
catalog string yes Catalog: 'DATANAC-Users' or 'DATANAC-Markets'.
tsql string yes T-SQL query. Read-only enforced at the SQL level (db_datareader).

AdHocQuery_ExploreSchema

read-only idempotent Search DATANAC schema (section-aware, grouped by table)

ADMIN ONLY. Step 2 of 3. Regex search over DATANAC schema — results are GROUPED BY TABLE so you always see which table each column belongs to. Boilerplate (indexes, defaults) is stripped; column definitions ([name] [type] nullable) and FOREIGN KEY references are kept. WORKFLOW — run these searches before writing T-SQL: (a) Search each table by exact name to see its columns: 'InsurancePlan', 'Agency', 'Member', 'Agent'. (b) Search 'FOREIGN KEY' to see all join columns with their REFERENCES targets. (c) Search a shared key name like 'producer_token' to confirm which tables share it — results are grouped so you see '[Member] agent_token', '[ProducerFarm] agent_token', etc. Use ONLY the exact column names returned by this tool in your T-SQL — never guess. Max 200 output lines total; increase max_lines or narrow the regex if needed.

Name Type Required Default Description
catalog string yes Catalog: 'DATANAC-Users' or 'DATANAC-Markets'. Obtain from AdHocQuery_ChooseCatalog.
regex string yes .NET regex applied case-insensitively to column lines within each table section. Examples: '^CREATE TABLE.*InsurancePlan' or just 'InsurancePlan' to see all its columns; 'FOREIGN KEY' for all FK references; 'producer_token|agency_id' to find shared keys.
max_lines int? no Max output lines total (1–200, default 80).

AdHocQuery_QueryAsyncStatus

read-only idempotent Poll async query status

ADMIN ONLY. Returns the status of an async query started with AdHocQuery_ExecuteQueryAsync. Possible responses: 'running (elapsed Ns)', 'failed: <message>', or 'done: <presigned S3 URL>'. Presigned URL is valid for 1 hour. Status TTL is also 1 hour.

Name Type Required Default Description
task_id string yes task_id returned by AdHocQuery_ExecuteQueryAsync.
agent-skills

AdminAgentSkills_GetDownloadLink

read-only idempotent open-world Get admin skills download link

ADMIN ONLY. Use when the user asks for the Tilley admin agent skills zip, how to install or update Tilley admin skills, or to check whether installed admin skills are current. Signed-in employees only. Returns a download URL for tilley-admin-agent-skills.zip only, plus that object's S3 last_modified. No other files. Compare last_modified to each installed admin skill's version stamp. If the zip is newer, download, unzip, and reinstall. The zip is not public. Do not pass the url to npx skills add.

Name Type Required Default Description
file_name string no File name to link. Only tilley-admin-agent-skills.zip is allowed for now. Omit to get that file.
aip-pass

AipPass_Files_FileGetDocumentLink

read-only idempotent open-world Get presigned URL for raw PASS file

Get a presigned S3 GET URL (1-day expiry, attachment filename) for a raw PASS file. IMPORTANT: These files are large pipe-delimited text. Do NOT load the full content. Instead, use the URL with grep/awk/head to sample specific record types or lines. Example shell: curl -s '<url>' | grep '^[^|]*|[^|]*|P55A' | head -20

Name Type Required Default Description
key string yes Full S3 object key for the PASS file (e.g. "Agrisompo/TX26P1020250102.txt"). Obtain from AipPass_Files_Search. Returns a presigned URL valid for ~24 hours.

AipPass_Files_Search

read-only idempotent open-world List raw PASS files for a vendor

List raw PASS files under a vendor/server S3 prefix. Returns key, size, and lastModified for each object. Use AipPass_Files_FileGetDocumentLink to get a presigned download URL.

Name Type Required Default Description
vendor string yes Vendor / server name (S3 top-level prefix, e.g. "Agrisompo"). Call AipPass_Vendor_Search first to get the list of valid vendors.

AipPass_Vendor_Search

read-only idempotent open-world List AIP PASS vendors/servers

List AIP PASS vendor/server folders in S3 (one entry per AIP vendor). Returns the top-level S3 prefix names. Use these as the `vendor` parameter in other AipPass tools.

No parameters.

AipPass_Vendor_Summary

read-only idempotent open-world AIP PASS vendor README summary (agencies/producers)

Fetch the README.json metadata index for a given AIP PASS vendor/server folder. Returns structured JSON with aip.agencies[] (unique P55A agency records), aip.producers[] (unique P10 producers), aip.files[] (files with record-type counts), and run metadata (server, generatedAt). Returns null/empty when no README.json exists yet.

Name Type Required Default Description
vendor string yes Vendor / server name (S3 top-level prefix, e.g. "Agrisompo"). Call AipPass_Vendor_Search first to get the list of valid vendors.
arc-plc

arc_plc_arc_co_county_yield_override_update

open-world Create or update ARC-CO yield override

Create or update one ArcCoCountyYieldOverride row for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
state_name string no Full US state name.
county_name string no "" County name.
commodity_name string no Commodity name.
type_name string no Crop type name.
crop_year int no 0 Crop year.
final_county_yield_irrigated double? no Override ARC-CO county benchmark yield, irrigated practice (decimal).
final_county_yield_non_irrigated double? no Override ARC-CO county benchmark yield, non-irrigated practice (decimal).
is_active bool no true Active flag.
id string no Row id GUID. Omit to insert.

arc_plc_program_election_update

open-world Create or update program election

Create or update one ProgramElection row for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
crop_year int no 0 Crop year.
state_name string no Full US state name.
county_name string no "" County name.
commodity_name string no Commodity name.
type_name string no Crop type name.
practice_name string no Practice name.
program_category string no "" Program category (for example arc_plc).
program_election string no "" Elected program code (for example arc-co or plc).
is_active bool no true Active flag.
id string no Row id GUID. Omit to insert.
budget

budget_commodity_override_update

idempotent open-world Create or update a budget commodity override

Create or update one BudgetCommodityOverride for one producer and one county practice. producer_token is required. A missing or blank token is rejected. An active row needs projected_price. is_active false clears that practice only. This is not a producer MCP budget update.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
budget_county_practice_id string no Budget county practice GUID. Required.
year int no 0 Crop year.
commodity_name string no Commodity name.
projected_price double? no Projected price. Required when is_active is true.
is_active bool no true Active flag. False clears that practice only.
id string no Row id GUID. Omit to let the save assign one.

budget_master_update

open-world Save a budget master for one producer

Save county practices, line items, and schedule items for one producer in one call. producer_token is required. A missing or blank token is rejected. This is the budget master save, not a producer MCP budget update.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
budget_county_practices_json string no [] JSON array of BudgetCountyPractices rows. Empty array leaves those rows unchanged.
budget_county_practice_line_items_json string no [] JSON array of BudgetCountyPracticeLineItems rows. Empty array leaves those rows unchanged.
budget_county_practice_schedule_items_json string no [] JSON array of BudgetCountyPracticeScheduleItems rows. Empty array leaves those rows unchanged.
farms

farms_producer_farm_base_acres_deactivate

idempotent open-world Deactivate base acres for one producer and crop year

Set is_active to 0 on ProducerFarmBaseAcres for one producer_token and one crop_year. Farms, fields, and other years are not changed. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
crop_year int yes Crop year to deactivate. Required. Other years are left as they are.

farms_producer_farm_base_acres_update

open-world Create or update one base-acre row

Create or update one base-acre row for one producer. producer_token is required. base_acres is stored as base_acreage and payment_yield as plc_yield. One row, not a file import.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
producer_farm_id string no "" Farm PK (required).
commodity_name string no Commodity name.
type_name string no Crop type. Blank matches a blank or null type on the import path.
crop_year int no 0 Crop year.
is_active bool no true Active flag.
id string no Row id GUID. Omit to insert a new id.
base_acres double? no Base acres. Stored as base_acreage.
payment_yield double? no PLC payment yield. Stored as plc_yield.

farms_producer_farm_copy_crop_year_action

open-world Copy farm vault to another crop year

Copy farm vault (farms, fields, field-crops) from one crop year to another. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Leave unset. Admins acting for an agent pass that agent's GUID. Never send "".
crop_year int no 0 Source crop year.
new_crop_year int no 0 Destination crop year.

farms_producer_farm_field_crop_event_update

open-world Log or update field-crop event

Log or update a field-crop event (planting, harvest, loss, etc.). producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Leave unset. Admins acting for an agent pass that agent's GUID. Never send "".
producer_farm_field_crop_id string no "" Field-crop PK (required).
event_type string no "" Event type (required).
event_date string no "" Event date string (required).
quantity double no 0 Quantity (required; use 0 if none).
is_active bool no true Active flag (required).
id string no Event row id; omit or empty for insert.
notes string no Notes.

farms_producer_farm_field_crop_update

open-world Create or update field crop row

Create or update a planted crop row for a field and crop year. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Leave unset. Admins acting for an agent pass that agent's GUID. Never send "".
producer_farm_id string no "" Parent farm PK (required).
producer_farm_field_id string no "" Field PK (required).
crop_year int no 0 Crop year (required).
commodity_name string no DATANAC commodity name (required).
type_name string no DATANAC type name (required).
practice_name string no DATANAC practice name (required).
reported_acreage double no 0 Reported acreage (required).
crop_yield double no 0 Yield (required) in units per acre.
is_active bool no true Active flag (required).
id string no Row id GUID; omit or empty for insert.

farms_producer_farm_field_update

open-world Create or update farm field

Create or update a field under a producer farm (requires producer_farm_id). producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Leave unset. Admins acting for an agent pass that agent's GUID. Never send "".
producer_farm_id string no "" Parent farm PK (required).
field_name string no "" Field name (required).
crop_year int no 0 Crop year (required).
is_active bool no true Active flag (required).
id string no Field id GUID; omit or empty for insert.
field_number string no Field number / tract id.

farms_producer_farm_update

open-world Create or update producer farm

Create or update a producer farm (name, FSA number, location, active flag). producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Leave unset. Admins acting for an agent pass that agent's GUID. Never send "".
crop_year int no 0 Crop year (required).
farm_name string no "" Farm display name (required).
is_active bool no true Active flag (required).
id string no Farm id GUID; omit or empty for insert.
location_state_name string no Full US state name.
location_county_name string no County name for the chosen state.
farm_number string no FSA farm number.
financial

farms_producer_policy_update

open-world Create or update one producer policy

Create or update one ProducerPolicy row for one producer. producer_token is required. policy_json is the object the update already accepts: id, aip_code, policy_number, and is_active. The tool sets producer_token on that object.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
policy_json string no {} JSON object with id, aip_code, policy_number, and is_active. producer_token is taken from the tool argument.

financial_debt_schedule_amortization_update

open-world Save amortization rows for one debt schedule

Save amortization rows for one producer and one debt schedule. producer_token and debt_schedule_id are required. rows_json is a JSON array of the rows to store. This tool does not recalculate principal or interest.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
debt_schedule_id string no Debt schedule id GUID. Required. Written onto every row.
rows_json string no JSON array of amortization rows to store. Each object uses the calculator keys. Omit id to insert a new row id.

financial_debt_schedule_update

idempotent open-world Create or update one debt schedule

Save loan terms for one debt schedule. producer_token and id are required. This tool does not calculate amortization rows or payment amounts.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
id string no Debt schedule id GUID. Required.
document_id string no Financial document id GUID. Omit when unused.
equipment_inventory_id string no Equipment inventory id GUID. Omit when unused.
year int? no Schedule year.
name string no Loan name.
creditor string no Lender.
purpose string no Purpose: Operation, Equipment, Capital, or Other.
category string no Category: Crops, Equipment, Livestock, Real Estate, Vehicles, or Other.
notes string no Note. Stored as notes.
is_active bool no true Active flag.
inception_date string no Inception date, YYYY-MM-DD.
maturity_date string no Maturity date, YYYY-MM-DD.
interest_rate double? no Annual interest rate as a decimal. 0.05 is 5 percent. 0 is allowed.
payment_frequency string no Payment frequency: Weekly, Bi-weekly, Monthly, Quarterly, Semi-Annual, or Annual.
amount double? no Principal amount.
balloon_amount double? no Balloon amount. 0 when there is no balloon.
extra_principal_rate double? no Extra principal rate as a decimal applied to the beginning balance. 0 when unused.
day_count_convention string no Day count: Actual/365 or 30/360.
interest_only_periods int? no Interest-only periods before amortizing payments. 0 when unused.
payment_date string no Header payment date, YYYY-MM-DD. Omit when unused. Not an amortization row.
payment_amount double? no Stored payment amount. Pass the current value on an update. This tool does not calculate it.
interest_paid double? no Stored interest paid. Pass the current value on an update. This tool does not calculate it.
principal_paid double? no Stored principal paid. Pass the current value on an update. This tool does not calculate it.
principal_total double? no Stored principal total. Pass the current value on an update. This tool does not calculate it.
liability_current double? no Stored current liability. Pass the current value on an update. This tool does not calculate it.
liability_intermediate double? no Stored intermediate liability. Pass the current value on an update. This tool does not calculate it.
liability_longterm double? no Stored long-term liability. Pass the current value on an update. This tool does not calculate it.
interest_accrued double? no Stored accrued interest. Pass the current value on an update. This tool does not calculate it.

financial_equipment_county_practices_update

open-world Create or update equipment county practices for one producer

Create or update equipment county practices for one producer. producer_token is required. county_practices_json is the object the update already accepts, with an EquipmentInventoryCountyPractices array. Each item may include id, equipment_inventory_id, commodity_name, type_name, practice_name, and is_active. The tool sets producer_token on the object and each item.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
county_practices_json string no {} JSON object with an EquipmentInventoryCountyPractices array. producer_token is taken from the tool argument.

financial_equipment_inventory_update

open-world Create or update equipment for one producer

Create or update equipment for one producer. producer_token is required. equipment_json is the object the update already accepts, with an EquipmentInventory array. Each item may include id, year, name, category, condition, serial_number, value, adjusted_value, prior_value, term, is_active, type, purpose, original_cost, engine_hours, accumulated_depreciation, maintenance_amount, model_year, appraised_value, appraiser_name, and appraised_date. The tool sets producer_token on the object and each item.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
equipment_json string no {} JSON object with an EquipmentInventory array. producer_token is taken from the tool argument.

financial_equipment_repair_update

open-world Create or update an equipment repair for one producer

Create or update equipment repairs for one producer. producer_token is required. repair_json is the object the update already accepts, with an EquipmentInventoryRepair array. Each item may include equipment_inventory_id, id, repair_date, vendor, category, description, parts, labor, total, and is_active. The tool sets producer_token on the object.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
repair_json string no {} JSON object with an EquipmentInventoryRepair array. producer_token is taken from the tool argument.

financial_statement_schedule_account_update

open-world Create or update a financial statement schedule account

Create or update one financial statement schedule account for one producer. producer_token is required. account_json is the object the update already accepts: id, year, category, financial_institution_name, account_name, account_type, units, unit_value, value, adjusted_value, prior_value, and is_active. Finishing a financial interview does not call this update. The tool sets producer_token on the object.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
account_json string no {} JSON object with id, year, category, financial_institution_name, account_name, account_type, units, unit_value, value, adjusted_value, prior_value, and is_active. producer_token is taken from the tool argument.
insurance

insurance_insurance_plan_claim_update

open-world Create or update insurance claims

Create or update insurance claims for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active rows only; default true.
claims_json string no {} JSON body with InsurancePlanClaim batch fields.

insurance_insurance_plan_update

open-world Create or update insurance plans

Create or update insurance plans for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active rows only; default true.
insurance_plans_json string no {} JSON body with InsurancePlans array and related fields.

insurance_insurance_scenario_update

open-world Create or update insurance scenario

Create or update an insurance scenario for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active rows only; default true.
scenario_json string no {} Full InsuranceScenario JSON body fields (name, crop_year, status, id, etc.).

insurance_insurance_stress_test_parameters_update

open-world Update stress-test parameters

Update stress-test parameters for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active rows only; default true.
stress_parameters_json string no {} JSON body with insurance_scenario_id and stress parameter fields / nested InsurancePlans.
marketing

marketing_buyer_update

open-world Create or update buyer

Create or update a buyer for one producer. producer_token is required. Buyer fields go in buyer_json.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active flag.
buyer_json string no {} JSON object of buyer fields (id, name, location, is_active).

marketing_crop_profile_update

open-world Create or update marketing crop profile

Create or update a crop profile for one producer. producer_token is required.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
commodity_name string no DATANAC commodity name.
year int no 0 Profile year.
marketing_goal_units double no 0 Marketing goal units.
production double no 0 Production.
is_active bool no true Active flag.
id string no Profile row id. Omit or leave blank to insert.

marketing_sale_update

open-world Create or update sale

Create or update a sale for one producer. producer_token is required. Sale fields go in sale_json.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active flag.
sale_json string no {} JSON object of sale fields (id, crop_year, commodity_name, category, amount, price, delivery dates).

marketing_user_transaction_history_update

open-world Update user transaction history

Create or update a user transaction for one producer. producer_token is required. Transaction fields go in transaction_json.

Name Type Required Default Description
producer_token string no Producer GUID. Required. A missing or blank token is rejected.
agent_token string no Agent GUID. Omit when unused.
is_active bool no true Active flag.
transaction_json string no {} JSON object of user transaction fields (id, is_posted, notes).
stripe

Stripe_Charge_Get

read-only idempotent open-world Get Stripe charge

ADMIN ONLY. Fetch a Stripe Charge by id (ch_…). Same id as CustomerTransactions.Payments.ApprovalCode. Returns status, amounts, receipt_url, card last4, CustomerCode metadata, refunded flag.

Name Type Required Default Description
charge_id string yes Stripe Charge id (ch_…) / Payments.ApprovalCode.

Stripe_Charge_Search

read-only idempotent open-world Search Stripe charges

ADMIN ONLY. Search charges for CS. Prefer customer_code (Member.id / metadata CustomerCode) or email (receipt_email). Omit both to list the most recent charges. Optional raw Stripe Search query overrides filters.

Name Type Required Default Description
customer_code string no Tilley Member.id GUID (= metadata CustomerCode).
email string no Charge receipt_email to match.
query string no Raw Stripe Search query; overrides customer_code/email when set.
limit int? no Max results 1–100 (default 20).

Stripe_CheckoutSession_Get

read-only idempotent open-world Get Stripe Checkout Session

ADMIN ONLY. Fetch a Checkout Session by id (cs_…). Returns status, amount, payment_intent id, url, and Tilley metadata.

Name Type Required Default Description
session_id string yes Stripe Checkout Session id (cs_…).

Stripe_CheckoutSession_List

read-only idempotent open-world List recent Stripe Checkout Sessions

ADMIN ONLY. List the most recent Checkout Sessions (cs_…). Use when you need a session id before Stripe_CheckoutSession_Get.

Name Type Required Default Description
limit int? no Max results 1–100 (default 10).

Stripe_ChooseTask

read-only idempotent Stripe CS task guide

ADMIN ONLY. Step 1. Returns a customer-service guide mapping common Stripe support tasks to Stripe_* MCP tools (charges, payment intents, receipts, customers, refunds) and when to use AdHocQuery CustomerTransactions vs Member_Payment_* pay links.

No parameters.

Stripe_Customer_Search

read-only idempotent open-world Search Stripe customers

ADMIN ONLY. Search Stripe Customer objects by email (or raw Stripe Search query). Note: Tilley often keys payments by metadata CustomerCode without a durable Stripe Customer.

Name Type Required Default Description
email string no Customer email address.
query string no Raw Stripe Customer Search query; overrides email when set.
limit int? no Max results 1–100 (default 20).

Stripe_PaymentIntent_Get

read-only idempotent open-world Get Stripe PaymentIntent

ADMIN ONLY. Fetch a PaymentIntent by id (pi_…). Useful for checkout status and Tilley metadata (CustomerCode, InvoiceNumber / InvoiceNumbers).

Name Type Required Default Description
payment_intent_id string yes Stripe PaymentIntent id (pi_…).

Stripe_PaymentIntent_Search

read-only idempotent open-world Search Stripe PaymentIntents

ADMIN ONLY. Search PaymentIntents by Tilley metadata CustomerCode and/or InvoiceNumber, or a raw Stripe Search query. Use when Charge search misses a pending/failed checkout.

Name Type Required Default Description
customer_code string no Tilley Member.id GUID (= metadata CustomerCode).
invoice_number string no Sales.InvoiceNumber metadata.
query string no Raw Stripe Search query; overrides filters when set.
limit int? no Max results 1–100 (default 20).

Stripe_Receipt_Get

read-only idempotent open-world Get Stripe receipt URL

ADMIN ONLY. Hosted Stripe receipt URL for a Charge id (ch_… / Payments.ApprovalCode). Same as Member_Payment_GetReceiptUrl but admin-scoped for CS.

Name Type Required Default Description
charge_id string yes Stripe Charge id (ch_…) / Payments.ApprovalCode.

Stripe_Refund_List

read-only idempotent open-world List Stripe refunds for a charge

ADMIN ONLY. List refunds attached to a Charge (ch_…). Read-only — does not create refunds.

Name Type Required Default Description
charge_id string yes Stripe Charge id (ch_…).
limit int? no Max results 1–100 (default 20).