Farmbrite MCP by usefulapi is an MCP server published by io.usefulapi, hosted at farmbrite.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 44 tools, including farmbrite_list_animals, farmbrite_get_animal, farmbrite_list_livestock_groups, farmbrite_get_livestock_group, farmbrite_list_animal_measurements.
Read Farmbrite livestock, crops, tasks, inventory and orders; log records and tasks.
4,413 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List livestock records (name, type, tag number, gender, breed, status, weight, group, purchase/sale data). Farmbrite returns only active-status animals unless you filter by status (Sold, Deceased, Culled, Butchered, Archived...). GET /animals.
| Parameter | Type | Description |
|---|---|---|
| name | string | Animals whose name contains this text. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| type | string | Only this animal type, e.g. Cattle, Sheep, Chicken. |
| limit | integer | Results per page, 1-100 (default 25). |
| status | string | Only animals with this status (the default list is Active-type statuses only). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
| tag_number | string | Only the animal with this tag number. |
{
"name": "farmbrite_list_animals",
"title": "List animals",
"description": "List livestock records (name, type, tag number, gender, breed, status, weight, group, purchase/sale data). Farmbrite returns only active-status animals unless you filter by status (Sold, Deceased, Culled, Butchered, Archived...). GET /animals.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Animals whose name contains this text."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Only this animal type, e.g. Cattle, Sheep, Chicken."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"Active",
"Butchered",
"Culled",
"Deceased",
"Dry",
"Lactating",
"Lost",
"Off Farm",
"Quarantined",
"Reference",
"Sick",
"Sold",
"Weaning",
"Archived"
],
"type": "string",
"description": "Only animals with this status (the default list is Active-type statuses only)."
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
},
"tag_number": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Only the animal with this tag number."
}
}
},
"annotations": {
"title": "List animals",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One animal by id, with its current location and custom fields. GET /animals/{animal_id}.
| Parameter | Type | Description |
|---|---|---|
| animal_id * | string | Animal id (a Farmbrite id string). |
{
"name": "farmbrite_get_animal",
"title": "Get animal",
"description": "One animal by id, with its current location and custom fields. GET /animals/{animal_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"animal_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get animal",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List livestock groups (id, name, type). GET /livestock_groups.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_livestock_groups",
"title": "List livestock groups",
"description": "List livestock groups (id, name, type). GET /livestock_groups.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List livestock groups",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One livestock group by id with its member count, filters and member animals. GET /livestock_groups/{group_id}.
| Parameter | Type | Description |
|---|---|---|
| group_id * | string | Livestock group id (a Farmbrite id string). |
{
"name": "farmbrite_get_livestock_group",
"title": "Get livestock group",
"description": "One livestock group by id with its member count, filters and member animals. GET /livestock_groups/{group_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"group_id"
],
"properties": {
"group_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Livestock group id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get livestock group",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Weight, height, temperature, condition score and fecal-count records of one animal, newest data included. GET /animals/{animal_id}/measurements.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
| animal_id * | string | Animal id (a Farmbrite id string). |
{
"name": "farmbrite_list_animal_measurements",
"title": "List animal measurements",
"description": "Weight, height, temperature, condition score and fecal-count records of one animal, newest data included. GET /animals/{animal_id}/measurements.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
},
"animal_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "List animal measurements",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Feeding records (amount, cost, date, feed type, inventory used) of one animal or livestock group. GET /{animals|livestock_groups}/{id}/feedings.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| parent * | string | Whose feedings. |
| parent_id * | string | Animal or livestock group id (a Farmbrite id string). |
{
"name": "farmbrite_list_feedings",
"title": "List feedings",
"description": "Feeding records (amount, cost, date, feed type, inventory used) of one animal or livestock group. GET /{animals|livestock_groups}/{id}/feedings.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"parent": {
"enum": [
"animals",
"livestock_groups"
],
"type": "string",
"description": "Whose feedings."
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal or livestock group id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "List feedings",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Grazing status per field/pasture: animals present, days rested, rest days required, last grazed. GET /grazings.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_grazing_summary",
"title": "List grazing summary",
"description": "Grazing status per field/pasture: animals present, days rested, rest days required, last grazed. GET /grazings.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List grazing summary",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List plant types/varieties (days to maturity, spacing, market price, harvest unit). GET /plants.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_plants",
"title": "List plant types",
"description": "List plant types/varieties (days to maturity, spacing, market price, harvest unit). GET /plants.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List plant types",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List crop plantings (plant, field/plot, bed, quantity, planting and expected harvest dates, growth stage). GET /crops.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| plot_id | string | Only plantings in this field/plot id (a Farmbrite id string). |
| sort_by | string | Field to sort by, e.g. created_at. |
| plant_id | string | Only plantings of this plant type id (a Farmbrite id string). |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_crops",
"title": "List crop plantings",
"description": "List crop plantings (plant, field/plot, bed, quantity, planting and expected harvest dates, growth stage). GET /crops.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"plot_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Only plantings in this field/plot id (a Farmbrite id string)."
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"plant_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Only plantings of this plant type id (a Farmbrite id string)."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List crop plantings",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One crop planting by id. GET /crops/{crop_id}.
| Parameter | Type | Description |
|---|---|---|
| crop_id * | string | Crop planting id (a Farmbrite id string). |
{
"name": "farmbrite_get_crop",
"title": "Get crop planting",
"description": "One crop planting by id. GET /crops/{crop_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"crop_id"
],
"properties": {
"crop_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Crop planting id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get crop planting",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List fields/grow locations (title, type, size, status, grazing rest days). GET /plots.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_plots",
"title": "List fields (plots)",
"description": "List fields/grow locations (title, type, size, status, grazing rest days). GET /plots.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List fields (plots)",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One field/grow location by id. GET /plots/{plot_id}.
| Parameter | Type | Description |
|---|---|---|
| plot_id * | string | Field (plot) id (a Farmbrite id string). |
{
"name": "farmbrite_get_plot",
"title": "Get field (plot)",
"description": "One field/grow location by id. GET /plots/{plot_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"plot_id"
],
"properties": {
"plot_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Field (plot) id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get field (plot)",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Harvest records (quantity, unit, grade, price, date, inventory added) of one animal or crop planting. GET /{animals|crops}/{id}/harvests.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| parent * | string | Whose harvests. |
| parent_id * | string | Animal or crop planting id (a Farmbrite id string). |
{
"name": "farmbrite_list_harvests",
"title": "List harvests",
"description": "Harvest records (quantity, unit, grade, price, date, inventory added) of one animal or crop planting. GET /{animals|crops}/{id}/harvests.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"parent": {
"enum": [
"animals",
"crops"
],
"type": "string",
"description": "Whose harvests."
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal or crop planting id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "List harvests",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Treatment records (type, product, amount, cost, date, withdrawal date, technician) of one animal, field or crop planting. GET /{animals|plots|crops}/{id}/treatments.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| parent * | string | What was treated. |
| parent_id * | string | Animal, field (plot) or crop planting id (a Farmbrite id string). |
{
"name": "farmbrite_list_treatments",
"title": "List treatments",
"description": "Treatment records (type, product, amount, cost, date, withdrawal date, technician) of one animal, field or crop planting. GET /{animals|plots|crops}/{id}/treatments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"parent": {
"enum": [
"animals",
"plots",
"crops"
],
"type": "string",
"description": "What was treated."
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal, field (plot) or crop planting id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "List treatments",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Notes (description, category, date, keywords) attached to an animal, field, plant type, crop planting or inventory type. GET /{animals|plots|plants|crops|inventory_types}/{id}/notes.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| parent * | string | What the notes are attached to. |
| parent_id * | string | Id of the animal, field, plant type, crop planting or inventory type (a Farmbrite id string). |
{
"name": "farmbrite_list_notes",
"title": "List notes",
"description": "Notes (description, category, date, keywords) attached to an animal, field, plant type, crop planting or inventory type. GET /{animals|plots|plants|crops|inventory_types}/{id}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"parent": {
"enum": [
"animals",
"plots",
"plants",
"crops",
"inventory_types"
],
"type": "string",
"description": "What the notes are attached to."
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Id of the animal, field, plant type, crop planting or inventory type (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "List notes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List contacts (customers, suppliers, vendors): name, company, email, phone, type, label. GET /contacts.
| Parameter | Type | Description |
|---|---|---|
| name | string | Contacts whose last name contains this text. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| string | Only the contact with this exact email. | |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_contacts",
"title": "List contacts",
"description": "List contacts (customers, suppliers, vendors): name, company, email, phone, type, label. GET /contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Contacts whose last name contains this text."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"email": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only the contact with this exact email."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List contacts",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One contact by id, with address. GET /contacts/{contact_id}.
| Parameter | Type | Description |
|---|---|---|
| contact_id * | string | Contact id (a Farmbrite id string). |
{
"name": "farmbrite_get_contact",
"title": "Get contact",
"description": "One contact by id, with address. GET /contacts/{contact_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_id"
],
"properties": {
"contact_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Contact id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get contact",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List tasks (title, description, status, priority, assignee, due/end time, checklist, linked animal/field/crop). GET /tasks.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| complete | boolean | true = only completed tasks, false = only open tasks. |
| sort_dir | string | Sort direction. |
| assigned_to_id | string | Only tasks assigned to this user id (a Farmbrite id string). |
{
"name": "farmbrite_list_tasks",
"title": "List tasks",
"description": "List tasks (title, description, status, priority, assignee, due/end time, checklist, linked animal/field/crop). GET /tasks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"complete": {
"type": "boolean",
"description": "true = only completed tasks, false = only open tasks."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
},
"assigned_to_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Only tasks assigned to this user id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "List tasks",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One task by id with its checklist. GET /tasks/{task_id}.
| Parameter | Type | Description |
|---|---|---|
| task_id * | string | Task id (a Farmbrite id string). |
{
"name": "farmbrite_get_task",
"title": "Get task",
"description": "One task by id with its checklist. GET /tasks/{task_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Task id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get task",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List calendar/schedule activities (title, start and end time, all-day flag, linked animal or field). GET /activities.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_activities",
"title": "List schedule activities",
"description": "List calendar/schedule activities (title, start and end time, all-day flag, linked animal or field). GET /activities.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List schedule activities",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List inventory item types (feed, supplies, harvested products) with the quantity remaining, unit, value and low-stock alert level. GET /inventory_types.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_inventory_types",
"title": "List inventory items",
"description": "List inventory item types (feed, supplies, harvested products) with the quantity remaining, unit, value and low-stock alert level. GET /inventory_types.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List inventory items",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One inventory item type by id with quantity remaining and projected empty date. GET /inventory_types/{inventory_type_id}.
| Parameter | Type | Description |
|---|---|---|
| inventory_type_id * | string | Inventory type id (a Farmbrite id string). |
{
"name": "farmbrite_get_inventory_type",
"title": "Get inventory item",
"description": "One inventory item type by id with quantity remaining and projected empty date. GET /inventory_types/{inventory_type_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"inventory_type_id"
],
"properties": {
"inventory_type_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Inventory type id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get inventory item",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Where one inventory item is stored: warehouse and bin ids and names, capacity and quantity remaining in each. Use the ids with farmbrite_add_inventory / farmbrite_remove_inventory. GET /inventory_types/{inventory_type_id}/inventory.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| inventory_type_id * | string | Inventory type id (a Farmbrite id string). |
{
"name": "farmbrite_get_inventory_locations",
"title": "Get inventory by location",
"description": "Where one inventory item is stored: warehouse and bin ids and names, capacity and quantity remaining in each. Use the ids with farmbrite_add_inventory / farmbrite_remove_inventory. GET /inventory_types/{inventory_type_id}/inventory.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"inventory_type_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"inventory_type_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Inventory type id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get inventory by location",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List storage locations (warehouses) for inventory: name, description, internal id. Use the ids when adding or removing inventory. GET /warehouses.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_warehouses",
"title": "List storage locations",
"description": "List storage locations (warehouses) for inventory: name, description, internal id. Use the ids when adding or removing inventory. GET /warehouses.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List storage locations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List sales orders (status, payment status, total, dates, contact, delivery type, invoice number). GET /orders.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-100 (default 25). |
| status | string | Only orders with this status. |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
| contact_id | string | Only orders of this contact id (a Farmbrite id string). |
| payment_status | string | Only orders with this payment status. |
One order by id with its line items, customer contact, delivery address and totals. GET /orders/{order_id}.
| Parameter | Type | Description |
|---|---|---|
| order_id * | string | Order id (a Farmbrite id string). |
{
"name": "farmbrite_get_order",
"title": "Get order",
"description": "One order by id with its line items, customer contact, delivery address and totals. GET /orders/{order_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Order id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List income and expense transactions (type, amount, date, vendor, category, linked animal/field/plant, description). GET /transactions.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| type | string | Only expenses or only income. |
| limit | integer | Results per page, 1-100 (default 25). |
| filters | object | Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {"created_at": "gte:2026-01-01"} or {"name": "like:Bessie"}). Farmbrite silently ignores an unknown field or… |
| sort_by | string | Field to sort by, e.g. created_at. |
| sort_dir | string | Sort direction. |
{
"name": "farmbrite_list_transactions",
"title": "List transactions",
"description": "List income and expense transactions (type, amount, date, vendor, category, linked animal/field/plant, description). GET /transactions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"type": {
"enum": [
"Expense",
"Income"
],
"type": "string",
"description": "Only expenses or only income."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
}
}
},
"annotations": {
"title": "List transactions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One transaction by id. GET /transactions/{transaction_id}.
| Parameter | Type | Description |
|---|---|---|
| transaction_id * | string | Transaction id (a Farmbrite id string). |
{
"name": "farmbrite_get_transaction",
"title": "Get transaction",
"description": "One transaction by id. GET /transactions/{transaction_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"transaction_id"
],
"properties": {
"transaction_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Transaction id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Get transaction",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a contact (customer, supplier, vendor). Nothing is emailed or sent to the contact. Creating twice makes two contacts. POST /contacts.
| Parameter | Type | Description |
|---|---|---|
| cell | string | |
| type | string | Contact type, e.g. Customer or Vendor (as defined in your Farmbrite account). |
| string | ||
| label | string | |
| phone | string | |
| address | object | |
| company | string | |
| last_name | string | |
| first_name | string | |
| description | string |
{
"name": "farmbrite_create_contact",
"title": "Create contact",
"description": "WRITE: create a contact (customer, supplier, vendor). Nothing is emailed or sent to the contact. Creating twice makes two contacts. POST /contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cell": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"type": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Contact type, e.g. Customer or Vendor (as defined in your Farmbrite account)."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
"label": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"phone": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"address": {
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 100
},
"state": {
"type": "string",
"maxLength": 100
},
"postal": {
"type": "string",
"maxLength": 30
},
"street": {
"type": "string",
"maxLength": 200
},
"country": {
"type": "string",
"maxLength": 100
}
}
},
"company": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
}
},
"annotations": {
"title": "Create contact",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: change fields of an existing contact (only the fields you pass are sent). Overwrites the previous values. PUT /contacts/{contact_id}.
| Parameter | Type | Description |
|---|---|---|
| cell | string | |
| string | ||
| phone | string | |
| company | string | |
| last_name | string | |
| contact_id * | string | Contact id (a Farmbrite id string). |
| first_name | string | |
| description | string |
{
"name": "farmbrite_update_contact",
"title": "Update contact",
"description": "WRITE: change fields of an existing contact (only the fields you pass are sent). Overwrites the previous values. PUT /contacts/{contact_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_id"
],
"properties": {
"cell": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
"phone": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"company": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"contact_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Contact id (a Farmbrite id string)."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
}
},
"annotations": {
"title": "Update contact",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: create a task, optionally linked to an animal, equipment, plant, location or planting. May notify the assigned Farmbrite user according to your account settings. Creating twice makes two tasks. POST /tasks.
| Parameter | Type | Description |
|---|---|---|
| title * | string | |
| status | string | A task status defined in your account, e.g. 'To Do'. |
| end_time | string | Due/end time, 'yyyy-mm-dd hh:mm'. |
| priority | integer | Priority 1-5. |
| description | string | Task details. |
| hours_spent | number | |
| reference_id | string | Id of the animal/equipment/plant/location/planting the task is about (a Farmbrite id string). |
| assigned_to_id | string | Farmbrite user id or the user's email address to assign the task to. |
| reference_type | string | What the task is about (with reference_id). |
WRITE: change a task (only the fields you pass are sent); set complete=true to mark it done. Overwrites previous values. PUT /tasks/{task_id}.
| Parameter | Type | Description |
|---|---|---|
| title | string | |
| status | string | A task status defined in your account, e.g. 'To Do'. |
| task_id * | string | Task id (a Farmbrite id string). |
| complete | boolean | true marks the task done. |
| end_time | string | Due/end time, 'yyyy-mm-dd hh:mm'. |
| priority | integer | Priority 1-5. |
| description | string | Task details. |
| hours_spent | number | |
| assigned_to_id | string | Farmbrite user id or the user's email address to assign the task to. |
WRITE: record an income or expense transaction in the farm's books. Creating twice records it twice. POST /transactions.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Transaction date, yyyy-mm-dd. |
| type * | string | one of ["Expense","Income"] |
| amount * | number | Positive amount in the account's currency. |
| ref_id | string | Id of the related animal/equipment/plant/location (a Farmbrite id string). |
| vendor | string | Vendor or customer name. |
| category | string | A custom category or an IRS Schedule F key. |
| keywords | string | |
| ref_type | string | What it relates to (with ref_id). |
| description | string | |
| check_number | string |
WRITE: add a note to an animal, livestock group, field, plant type, crop planting or inventory item. Notes cannot be removed with this server. POST /{parent}/{id}/notes.
| Parameter | Type | Description |
|---|---|---|
| date | string | |
| parent * | string | What the note is attached to. |
| category | string | |
| keywords | string | |
| parent_id * | string | Id of the animal, livestock group, field, plant type, crop planting or inventory type (a Farmbrite id string). |
| description * | string | The note text. |
{
"name": "farmbrite_create_note",
"title": "Add note",
"description": "WRITE: add a note to an animal, livestock group, field, plant type, crop planting or inventory item. Notes cannot be removed with this server. POST /{parent}/{id}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id",
"description"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"parent": {
"enum": [
"animals",
"livestock_groups",
"plots",
"plants",
"crops",
"inventory_types"
],
"type": "string",
"description": "What the note is attached to."
},
"category": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"keywords": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Id of the animal, livestock group, field, plant type, crop planting or inventory type (a Farmbrite id string)."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "The note text."
}
}
},
"annotations": {
"title": "Add note",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: add stock to an inventory item in a storage location (warehouse, optionally a bin). Raises the quantity remaining; not idempotent: repeating adds again. Find ids with farmbrite_list_inventory_types, farmbrite_get_inventory_locations and farmbrite_list_warehouses. PUT /inventory_types/{id}/inventory/add.
| Parameter | Type | Description |
|---|---|---|
| date | string | |
| bin_id | string | Bin id inside the warehouse (a Farmbrite id string). |
| source | string | |
| adjustment * | number | Quantity to add (positive, in the item's unit). |
| lot_number | string | |
| description | string | |
| warehouse_id * | string | Storage location (warehouse) id (a Farmbrite id string). |
| inventory_type_id * | string | Inventory type id (a Farmbrite id string). |
WRITE: take stock out of an inventory item in a storage location (use, loss, sale). Lowers the quantity remaining; not idempotent: repeating removes again. It cannot be undone with this server except by adding stock back. PUT /inventory_types/{id}/inventory/remove.
| Parameter | Type | Description |
|---|---|---|
| date | string | |
| bin_id | string | Bin id inside the warehouse (a Farmbrite id string). |
| order_id | string | Order id the stock was used for (a Farmbrite id string). |
| adjustment * | number | Quantity to remove (positive, in the item's unit). |
| lot_number | string | |
| description | string | |
| warehouse_id * | string | Storage location (warehouse) id (a Farmbrite id string). |
| inventory_type_id * | string | Inventory type id (a Farmbrite id string). |
WRITE: create a sales order with line items (status defaults to Draft and payment_status to Due unless you set them; memo is internal, note is customer-facing). Farmbrite may email the customer or generate an invoice depending on the account's settings and the status chosen; the API reference does not say, so use Draft unless the user asks otherwise and only pass email when told to. Orders are entered as back-office orders (is_admin). Creating twice makes two orders. POST /orders.
| Parameter | Type | Description |
|---|---|---|
| memo | string | Internal memo, not shown to the customer. |
| note | string | A message for the CUSTOMER associated with the order (Farmbrite's customer-facing note). Only set it when the user wants the customer to read it; use memo for internal text. |
| string | ||
| phone | string | |
| status | string | one of ["Approved","Cancelled","Complete","Delivered","Draft","In Progress","On Hold","Ordered","Packing","Pending Approval","Picking","Ready","Shipped"] |
| due_date | string | |
| tax_rate | number | Tax rate in percent. |
| last_name | string | |
| contact_id | string | Existing contact id for the customer (a Farmbrite id string). |
WRITE: change an order's status and/or payment status (for example mark it Paid or Delivered). Farmbrite may send customer notifications on some status changes, depending on the account settings. PUT /orders/{order_id}.
| Parameter | Type | Description |
|---|---|---|
| status | string | one of ["Approved","Cancelled","Complete","Delivered","Draft","In Progress","On Hold","Ordered","Packing","Pending Approval","Picking","Ready","Shipped"] |
| order_id * | string | Order id (a Farmbrite id string). |
| payment_status | string | one of ["Due","Paid","Cancelled"] |
{
"name": "farmbrite_update_order",
"title": "Update order status",
"description": "WRITE: change an order's status and/or payment status (for example mark it Paid or Delivered). Farmbrite may send customer notifications on some status changes, depending on the account settings. PUT /orders/{order_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"status": {
"enum": [
"Approved",
"Cancelled",
"Complete",
"Delivered",
"Draft",
"In Progress",
"On Hold",
"Ordered",
"Packing",
"Pending Approval",
"Picking",
"Ready",
"Shipped"
],
"type": "string"
},
"order_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Order id (a Farmbrite id string)."
},
"payment_status": {
"enum": [
"Due",
"Paid",
"Cancelled"
],
"type": "string"
}
}
},
"annotations": {
"title": "Update order status",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: add an animal (or a group when is_group=true with group_qty) to the herd. type (e.g. Cattle, Sheep) and status are required. Creating twice makes two animals. POST /animals.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| type * | string | Animal type, e.g. Cattle, Sheep, Goat, Chicken or a custom type. |
| breed | string | |
| gender | string | e.g. Female, Male. |
| status | string | one of ["Active","Butchered","Culled","Deceased","Dry","Lactating","Lost","Off Farm","Quarantined","Reference","Sick","Sold","Weaning","Archived"] |
| weight | number | |
| is_group | boolean | true to add a group of identical animals. |
| keywords | string | |
| father_id | string | Father animal id (a Farmbrite id string). |
| group_qty | integer | Head count when is_group is true. |
| mother_id | string |
WRITE: change an animal's fields (only the fields you pass are sent), including its status (Sold, Deceased, Culled...). Statuses Butchered, Culled and Deceased need death_date. Overwrites previous values. PUT /animals/{animal_id}.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| type | string | |
| breed | string | |
| gender | string | e.g. Female, Male. |
| status | string | one of ["Active","Butchered","Culled","Deceased","Dry","Lactating","Lost","Off Farm","Quarantined","Reference","Sick","Sold","Weaning","Archived"] |
| weight | number | |
| keywords | string | |
| animal_id * | string | Animal id (a Farmbrite id string). |
| father_id | string | Father animal id (a Farmbrite id string). |
| mother_id | string | Mother animal id (a Farmbrite id string). |
WRITE: record a measurement for one animal (weight, height, temperature, condition score, fecal egg count). Adds a record each time. POST /animals/{animal_id}/measurements.
| Parameter | Type | Description |
|---|---|---|
| fec | number | Fecal egg count. |
| date | string | |
| temp | number | Body temperature. |
| height | number | |
| weight | number | |
| animal_id * | string | Animal id (a Farmbrite id string). |
| condition_score | number |
{
"name": "farmbrite_add_animal_measurement",
"title": "Add animal measurement",
"description": "WRITE: record a measurement for one animal (weight, height, temperature, condition score, fecal egg count). Adds a record each time. POST /animals/{animal_id}/measurements.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"fec": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Fecal egg count."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"temp": {
"type": "number",
"maximum": 200,
"minimum": 0,
"description": "Body temperature."
},
"height": {
"type": "number",
"maximum": 100000,
"minimum": 0
},
"weight": {
"type": "number",
"maximum": 10000000,
"minimum": 0
},
"animal_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal id (a Farmbrite id string)."
},
"condition_score": {
"type": "number",
"maximum": 10,
"minimum": 0
}
}
},
"annotations": {
"title": "Add animal measurement",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: record a feeding for an animal or livestock group. Either name the feed type, or give inventory_id + inventory_location_id to draw it from inventory (which lowers that inventory's quantity). Adds a record each time. POST /{animals|livestock_groups}/{id}/feedings.
| Parameter | Type | Description |
|---|---|---|
| cost | number | |
| date | string | |
| type | string | Feed type, when not drawing from inventory. |
| unit | string | |
| amount * | number | Amount fed. |
| parent * | string | one of ["animals","livestock_groups"] |
| per_head | boolean | true if amount is per animal. |
| parent_id * | string | Animal or livestock group id (a Farmbrite id string). |
| description | string | |
| inventory_id | string | Inventory type id the feed comes from (a Farmbrite id string). |
WRITE: record a harvest (quantity and unit) for an animal or crop planting. Adds a record each time. POST /{animals|crops}/{id}/harvests.
| Parameter | Type | Description |
|---|---|---|
| qty * | number | |
| date | string | |
| unit * | string | Unit, e.g. pounds, lbs, dozen. |
| grade | string | |
| price | number | |
| parent * | string | one of ["animals","crops"] |
| parent_id * | string | Animal or crop planting id (a Farmbrite id string). |
| description | string | |
| batch_number | string |
{
"name": "farmbrite_create_harvest",
"title": "Record harvest",
"description": "WRITE: record a harvest (quantity and unit) for an animal or crop planting. Adds a record each time. POST /{animals|crops}/{id}/harvests.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id",
"qty",
"unit"
],
"properties": {
"qty": {
"type": "number",
"maximum": 1000000000000,
"exclusiveMinimum": 0
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"unit": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "Unit, e.g. pounds, lbs, dozen."
},
"grade": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"parent": {
"enum": [
"animals",
"crops"
],
"type": "string"
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal or crop planting id (a Farmbrite id string)."
},
"description": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"batch_number": {
"type": "string",
"maxLength": 100,
"minLength": 1
}
}
},
"annotations": {
"title": "Record harvest",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: record a treatment (vaccine, dewormer, spray, fertilizer...) for an animal, livestock group, field or crop planting. Adds a record each time. POST /{animals|livestock_groups|plots|crops}/{id}/treatments.
| Parameter | Type | Description |
|---|---|---|
| cost | number | |
| date | string | |
| type * | string | Treatment type. |
| amount | any | Amount given (a number, or text with its unit such as '5 ml'). |
| parent * | string | one of ["animals","livestock_groups","plots","crops"] |
| product | string | |
| parent_id * | string | Animal, livestock group, field (plot) or crop planting id (a Farmbrite id string). |
| technician | string | |
| description | string | |
| retreat_date | string | |
| withdrawal_date | string |
Tools for Farmbrite, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which animals are currently sick or quarantined, and what treatments have they had?"; "List my open tasks due this week and mark the fence repair as done."; "How much layer feed is left in inventory, and where is it stored?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Farmbrite data. Free plan: 50 tool calls per month. Run farmbrite_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run farmbrite_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run farmbrite_upgrade without a plan: it returns both plans, each with a payment link for the user to open. farmbrite_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "farmbrite_list_orders",
"title": "List orders",
"description": "List sales orders (status, payment status, total, dates, contact, delivery type, invoice number). GET /orders.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"Approved",
"Cancelled",
"Complete",
"Delivered",
"Draft",
"In Progress",
"On Hold",
"Ordered",
"Packing",
"Pending Approval",
"Picking",
"Ready",
"Shipped"
],
"type": "string",
"description": "Only orders with this status."
},
"filters": {
"type": "object",
"description": "Extra filters as {field: value}, using a field name from the records. A plain value means equals; 'op:value' applies an operator, op being one of eq, ne, gt, gte, lt, lte, like, in, nin (e.g. {\"created_at\": \"gte:2026-01-01\"} or {\"name\": \"like:Bessie\"}). Farmbrite silently ignores an unknown field or invalid value, so check the result.",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
"maxLength": 80
},
"additionalProperties": {
"type": "string",
"maxLength": 200
}
},
"sort_by": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"maxLength": 60,
"description": "Field to sort by, e.g. created_at."
},
"sort_dir": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
},
"contact_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Only orders of this contact id (a Farmbrite id string)."
},
"payment_status": {
"enum": [
"Due",
"Paid",
"Cancelled"
],
"type": "string",
"description": "Only orders with this payment status."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "farmbrite_create_task",
"title": "Create task",
"description": "WRITE: create a task, optionally linked to an animal, equipment, plant, location or planting. May notify the assigned Farmbrite user according to your account settings. Creating twice makes two tasks. POST /tasks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "A task status defined in your account, e.g. 'To Do'."
},
"end_time": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}$",
"description": "Due/end time, 'yyyy-mm-dd hh:mm'."
},
"priority": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "Priority 1-5."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Task details."
},
"hours_spent": {
"type": "number",
"maximum": 10000,
"minimum": 0
},
"reference_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Id of the animal/equipment/plant/location/planting the task is about (a Farmbrite id string)."
},
"assigned_to_id": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Farmbrite user id or the user's email address to assign the task to."
},
"reference_type": {
"enum": [
"animal",
"equipment",
"plant",
"location",
"planting"
],
"type": "string",
"description": "What the task is about (with reference_id)."
}
}
},
"annotations": {
"title": "Create task",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "farmbrite_update_task",
"title": "Update task",
"description": "WRITE: change a task (only the fields you pass are sent); set complete=true to mark it done. Overwrites previous values. PUT /tasks/{task_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "A task status defined in your account, e.g. 'To Do'."
},
"task_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Task id (a Farmbrite id string)."
},
"complete": {
"type": "boolean",
"description": "true marks the task done."
},
"end_time": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}$",
"description": "Due/end time, 'yyyy-mm-dd hh:mm'."
},
"priority": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "Priority 1-5."
},
"description": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Task details."
},
"hours_spent": {
"type": "number",
"maximum": 10000,
"minimum": 0
},
"assigned_to_id": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Farmbrite user id or the user's email address to assign the task to."
}
}
},
"annotations": {
"title": "Update task",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "farmbrite_create_transaction",
"title": "Create transaction",
"description": "WRITE: record an income or expense transaction in the farm's books. Creating twice records it twice. POST /transactions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"type",
"amount",
"date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Transaction date, yyyy-mm-dd."
},
"type": {
"enum": [
"Expense",
"Income"
],
"type": "string"
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Positive amount in the account's currency."
},
"ref_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Id of the related animal/equipment/plant/location (a Farmbrite id string)."
},
"vendor": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Vendor or customer name."
},
"category": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A custom category or an IRS Schedule F key."
},
"keywords": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"ref_type": {
"enum": [
"animal",
"equipment",
"plant",
"location"
],
"type": "string",
"description": "What it relates to (with ref_id)."
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"check_number": {
"type": "string",
"maxLength": 50,
"minLength": 1
}
}
},
"annotations": {
"title": "Create transaction",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "farmbrite_add_inventory",
"title": "Add inventory",
"description": "WRITE: add stock to an inventory item in a storage location (warehouse, optionally a bin). Raises the quantity remaining; not idempotent: repeating adds again. Find ids with farmbrite_list_inventory_types, farmbrite_get_inventory_locations and farmbrite_list_warehouses. PUT /inventory_types/{id}/inventory/add.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"inventory_type_id",
"warehouse_id",
"adjustment"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"bin_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Bin id inside the warehouse (a Farmbrite id string)."
},
"source": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"adjustment": {
"type": "number",
"maximum": 1000000000000,
"description": "Quantity to add (positive, in the item's unit).",
"exclusiveMinimum": 0
},
"lot_number": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"warehouse_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Storage location (warehouse) id (a Farmbrite id string)."
},
"inventory_type_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Inventory type id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Add inventory",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "farmbrite_remove_inventory",
"title": "Remove inventory",
"description": "WRITE: take stock out of an inventory item in a storage location (use, loss, sale). Lowers the quantity remaining; not idempotent: repeating removes again. It cannot be undone with this server except by adding stock back. PUT /inventory_types/{id}/inventory/remove.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"inventory_type_id",
"warehouse_id",
"adjustment"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"bin_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Bin id inside the warehouse (a Farmbrite id string)."
},
"order_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Order id the stock was used for (a Farmbrite id string)."
},
"adjustment": {
"type": "number",
"maximum": 1000000000000,
"description": "Quantity to remove (positive, in the item's unit).",
"exclusiveMinimum": 0
},
"lot_number": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"warehouse_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Storage location (warehouse) id (a Farmbrite id string)."
},
"inventory_type_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Inventory type id (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Remove inventory",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| first_name | string |
| order_date | string |
| order_items * | array | Line items. |
| payment_method | string |
| payment_status | string | one of ["Due","Paid","Cancelled"] |
| delivery_amount | number |
| discount_amount | number |
{
"name": "farmbrite_create_order",
"title": "Create order",
"description": "WRITE: create a sales order with line items (status defaults to Draft and payment_status to Due unless you set them; memo is internal, note is customer-facing). Farmbrite may email the customer or generate an invoice depending on the account's settings and the status chosen; the API reference does not say, so use Draft unless the user asks otherwise and only pass email when told to. Orders are entered as back-office orders (is_admin). Creating twice makes two orders. POST /orders.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_items"
],
"properties": {
"memo": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Internal memo, not shown to the customer."
},
"note": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "A message for the CUSTOMER associated with the order (Farmbrite's customer-facing note). Only set it when the user wants the customer to read it; use memo for internal text."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
"phone": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"status": {
"enum": [
"Approved",
"Cancelled",
"Complete",
"Delivered",
"Draft",
"In Progress",
"On Hold",
"Ordered",
"Packing",
"Pending Approval",
"Picking",
"Ready",
"Shipped"
],
"type": "string",
"default": "Draft"
},
"due_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"tax_rate": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Tax rate in percent."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"contact_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Existing contact id for the customer (a Farmbrite id string)."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"order_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"order_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"price",
"qty"
],
"properties": {
"qty": {
"type": "number",
"maximum": 1000000000,
"exclusiveMinimum": 0
},
"price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"product_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Product id (a Farmbrite id string)."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1
}
}
},
"maxItems": 100,
"minItems": 1,
"description": "Line items."
},
"payment_method": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"payment_status": {
"enum": [
"Due",
"Paid",
"Cancelled"
],
"type": "string",
"default": "Due"
},
"delivery_amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"discount_amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
}
},
"annotations": {
"title": "Create order",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Mother animal id (a Farmbrite id string). |
| purchased | boolean |
| sale_date | string |
| birth_date | string |
| death_date | string | Required when status is Butchered, Culled or Deceased. |
| tag_number | string |
| description | string |
| internal_id | string |
| market_price | number |
| electronic_id | string |
| purchase_date | string |
| purchase_price | number |
| deceased_reason | string |
{
"name": "farmbrite_create_animal",
"title": "Create animal",
"description": "WRITE: add an animal (or a group when is_group=true with group_qty) to the herd. type (e.g. Cattle, Sheep) and status are required. Creating twice makes two animals. POST /animals.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"type"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"type": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Animal type, e.g. Cattle, Sheep, Goat, Chicken or a custom type."
},
"breed": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"gender": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "e.g. Female, Male."
},
"status": {
"enum": [
"Active",
"Butchered",
"Culled",
"Deceased",
"Dry",
"Lactating",
"Lost",
"Off Farm",
"Quarantined",
"Reference",
"Sick",
"Sold",
"Weaning",
"Archived"
],
"type": "string",
"default": "Active"
},
"weight": {
"type": "number",
"maximum": 10000000,
"minimum": 0
},
"is_group": {
"type": "boolean",
"description": "true to add a group of identical animals."
},
"keywords": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"father_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Father animal id (a Farmbrite id string)."
},
"group_qty": {
"type": "integer",
"maximum": 1000000,
"description": "Head count when is_group is true.",
"exclusiveMinimum": 0
},
"mother_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Mother animal id (a Farmbrite id string)."
},
"purchased": {
"type": "boolean"
},
"sale_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"birth_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"death_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Required when status is Butchered, Culled or Deceased."
},
"tag_number": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"internal_id": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"market_price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"electronic_id": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"purchase_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"purchase_price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"deceased_reason": {
"type": "string",
"maxLength": 500,
"minLength": 1
}
}
},
"annotations": {
"title": "Create animal",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| sale_date |
| string |
| birth_date | string |
| death_date | string |
| tag_number | string |
| description | string |
| internal_id | string |
| market_price | number |
| electronic_id | string |
| deceased_reason | string |
{
"name": "farmbrite_update_animal",
"title": "Update animal",
"description": "WRITE: change an animal's fields (only the fields you pass are sent), including its status (Sold, Deceased, Culled...). Statuses Butchered, Culled and Deceased need death_date. Overwrites previous values. PUT /animals/{animal_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"type": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"breed": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"gender": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "e.g. Female, Male."
},
"status": {
"enum": [
"Active",
"Butchered",
"Culled",
"Deceased",
"Dry",
"Lactating",
"Lost",
"Off Farm",
"Quarantined",
"Reference",
"Sick",
"Sold",
"Weaning",
"Archived"
],
"type": "string"
},
"weight": {
"type": "number",
"maximum": 10000000,
"minimum": 0
},
"keywords": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"animal_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal id (a Farmbrite id string)."
},
"father_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Father animal id (a Farmbrite id string)."
},
"mother_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Mother animal id (a Farmbrite id string)."
},
"sale_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"birth_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"death_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"tag_number": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"internal_id": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"market_price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"electronic_id": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"deceased_reason": {
"type": "string",
"maxLength": 500,
"minLength": 1
}
}
},
"annotations": {
"title": "Update animal",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| inventory_location_id | string | Inventory location id (from farmbrite_get_inventory_locations) (a Farmbrite id string). |
{
"name": "farmbrite_create_feeding",
"title": "Record feeding",
"description": "WRITE: record a feeding for an animal or livestock group. Either name the feed type, or give inventory_id + inventory_location_id to draw it from inventory (which lowers that inventory's quantity). Adds a record each time. POST /{animals|livestock_groups}/{id}/feedings.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id",
"amount"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Feed type, when not drawing from inventory."
},
"unit": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"amount": {
"type": "number",
"maximum": 1000000000,
"description": "Amount fed.",
"exclusiveMinimum": 0
},
"parent": {
"enum": [
"animals",
"livestock_groups"
],
"type": "string"
},
"per_head": {
"type": "boolean",
"description": "true if amount is per animal."
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal or livestock group id (a Farmbrite id string)."
},
"description": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"inventory_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Inventory type id the feed comes from (a Farmbrite id string)."
},
"inventory_location_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Inventory location id (from farmbrite_get_inventory_locations) (a Farmbrite id string)."
}
}
},
"annotations": {
"title": "Record feeding",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "farmbrite_create_treatment",
"title": "Record treatment",
"description": "WRITE: record a treatment (vaccine, dewormer, spray, fertilizer...) for an animal, livestock group, field or crop planting. Adds a record each time. POST /{animals|livestock_groups|plots|crops}/{id}/treatments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"parent",
"parent_id",
"type"
],
"properties": {
"cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Treatment type."
},
"amount": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "string",
"maxLength": 100,
"minLength": 1
}
],
"description": "Amount given (a number, or text with its unit such as '5 ml')."
},
"parent": {
"enum": [
"animals",
"livestock_groups",
"plots",
"crops"
],
"type": "string"
},
"product": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"parent_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Animal, livestock group, field (plot) or crop planting id (a Farmbrite id string)."
},
"technician": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"retreat_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"withdrawal_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
}
},
"annotations": {
"title": "Record treatment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}