rb209-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RB209_EMAIL | Yes | Your RB209 licence email | |
| RB209_BASE_URL | No | API base URL | https://rb209api.ahdb.org.uk |
| RB209_PASSWORD | Yes | Your RB209 licence password | |
| RB209_SPEC_PATH | No | Only set when running a manually-extracted bundle standalone (the .mcpb manifest wires it automatically) | vendored spec |
| RB209_ENABLED_GROUPS | No | Comma-separated tags to expose (e.g. Recommendation,Soil) | all |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rb209_advice_noteA | GET /api/AdviceNote/AdviceNote/{adviceNoteCode} — Individual advice note text filtered from the supplied corresponding advice note code. |
| rb209_advice_note_advice_notesB | GET /api/AdviceNote/AdviceNotes — The full list of available advice notes. |
| rb209_advice_note_textB | GET /api/AdviceNote/AdviceNoteText/{countryId}/{adviceNoteCode} — Individual advice note text filtered from the supplied country id and advice note code. |
| rb209_advice_note_arable_eng_walA | GET /api/AdviceNote/ArableEngWal — The full list of available advice notes for England and Wales arable. |
| rb209_advice_note_arable_scotA | GET /api/AdviceNote/ArableScot — The full list of available advice notes for Scotland arable. |
| rb209_advice_note_grass_eng_walA | GET /api/AdviceNote/GrassEngWal — The full list of available advice notes for England and Wales grass. |
| rb209_advice_note_grass_scotA | GET /api/AdviceNote/GrassScot — The full list of available advice notes for Scotland grass. |
| rb209_arable_crop_groupA | GET /api/Arable/CropGroup/{cropGroupId} — Individual crop group - filtered by crop group id. |
| rb209_arable_crop_groupsA | GET /api/Arable/CropGroups — The full list of available crop groups. |
| rb209_arable_crop_info1B | GET /api/Arable/CropInfo1/{cropTypeId}/{cropInfo1Id} — Individual crop info 1 - filtered by crop type id and crop info 1 id. |
| rb209_arable_crop_info1sB | GET /api/Arable/CropInfo1s — The full list of available crop info 1s. |
| rb209_arable_crop_info1s_by_typeA | GET /api/Arable/CropInfo1s/{cropTypeId} — A filtered list of available crop info 1s - filtered by crop type id. |
| rb209_arable_crop_info2A | GET /api/Arable/CropInfo2/{cropInfo2Id} — Individual crop info 2 - filtered by crop info 2 id (only required for arable cereals crops). |
| rb209_arable_crop_info2sA | GET /api/Arable/CropInfo2s — The full list of available crop info 2s (only required for arable cereals crops). |
| rb209_arable_crop_typeB | GET /api/Arable/CropType/{cropTypeId} — Individual crop type - filtered by crop type id. |
| rb209_arable_crop_typesB | GET /api/Arable/CropTypes — The full list of available crop types. |
| rb209_arable_crop_types_by_groupC | GET /api/Arable/CropTypes/{cropGroupId} — A filtered list of available crop types - filtered by crop group id. |
| rb209_arable_default_yieldsB | GET /api/Arable/DefaultYields/{countryId} — Get the default yield data for the crops. |
| rb209_arable_potato_groupA | GET /api/Arable/PotatoGroup/{potatoGroupId} — Individual potato group - filtered by potato group id (only required for arable potato crops). |
| rb209_arable_potato_groupsA | GET /api/Arable/PotatoGroups — The full list of available potato groups (only required for arable potato crops). |
| rb209_arable_potato_varietiesB | GET /api/Arable/PotatoVarieties — The full list of available potato varieties (only required for arable potato crops). |
| rb209_arable_potato_varieties_by_groupA | GET /api/Arable/PotatoVarieties/{potatoGroupId} — A filtered list of available potato varieties - filtered by potato group id (only required for arable potato crops). |
| rb209_arable_potato_varietyB | GET /api/Arable/PotatoVariety/{potatoVarietyId} — Individual potato variety - filtered by potato variety id (only required for arable potato crops). |
| rb209_fertiliser_prices_latest_pricesA | GET /api/FertiliserPrices/LatestPrices — Get the latest prices of fertilisers. |
| rb209_fertiliser_prices_request_accessB | POST /api/FertiliserPrices/RequestAccess — Request access to the fertiliser latest prices endpoint. |
| rb209_field_countriesA | GET /api/Field/Countries — The full list of available countries. |
| rb209_field_countryA | GET /api/Field/Country/{countryId} — Individual country text filtered from the supplied corresponding country id. |
| rb209_field_typeA | GET /api/Field/FieldType/{fieldTypeId} — Individual field type text filtered from the supplied corresponding field type id. |
| rb209_field_typesA | GET /api/Field/FieldTypes/{countryId} — The full list of available field types. — You usually don't need this — fieldType is fixed: 1 = Arable & Horticulture, 2 = Grassland, 3 = Both. It only returns data for countryId 3. |
| rb209_field_nutrientC | GET /api/Field/Nutrient/{nutrientId} — Individual nutrient text filtered from the supplied corresponding nutrient id. |
| rb209_field_nutrientsA | GET /api/Field/Nutrients — The full list of available nutrients. |
| rb209_field_second_crop_type_listA | GET /api/Field/SecondCropType_List/{cropGroupId1}/{cropTypeId1}/{cropGroupId2}/{countryId} — Some crops (both arable and grassland) allow a second crop to be sown in the same crop year: The filtered list of available second crop types after the first crop. |
| rb209_field_site_classB | GET /api/Field/SiteClass/{siteClassId} — Site class of site class id provided. |
| rb209_field_site_classesC | GET /api/Field/SiteClasses/{countryId} — Site class list. |
| rb209_field_site_class_itemC | GET /api/Field/SiteClassItem/{soilTypeId}/{altitude}/{postcode}/{countryId} — Site class of field. |
| rb209_grass_defoliation_sequenceA | GET /api/Grass/DefoliationSequence/{defoliationSequenceId} — Get the text of the defoliation sequence for the provided defoliation sequence id. |
| rb209_grass_defoliation_sequencesB | GET /api/Grass/DefoliationSequences/{swardTypeId}/{swardManagementId}/{numberOfCuts}/{newSward} — Deprecated - The list of different defoliation sequences available for grass fields. |
| rb209_grass_defoliation_sequences_by_countryC | GET /api/Grass/DefoliationSequences/{swardTypeId}/{swardManagementId}/{numberOfCuts}/{newSward}/{countryId} — The list of different defoliation sequences available for grass fields. |
| rb209_grass_growth_class_by_classA | GET /api/Grass/GrassGrowthClass/{grassGrowthClassId} — Individual grass growth class (GGC) text filtered from the supplied corresponding grass growth class id. |
| rb209_grass_growth_class_by_soil_type_rainfall_altitude_chalkB | GET /api/Grass/GrassGrowthClass/{soilTypeId}/{rainfall}/{altitude}/{chalk} — Calculate the grass growth class (GGC) for a grassland field. |
| rb209_grass_growth_classesB | GET /api/Grass/GrassGrowthClasses/{countryId} — Full list of available grass growth classes (GGC) for grassland fields. |
| rb209_grass_historiesB | GET /api/Grass/GrassHistories/{countryId} — Grass history list of grass fields. |
| rb209_grass_historyC | GET /api/Grass/GrassHistory/{grassHistoryId} — Grass history of grass history id provided. |
| rb209_grass_seasonC | GET /api/Grass/GrassSeason/{seasonId} — This endpoint is used to return grass season. |
| rb209_grass_seasonsC | GET /api/Grass/GrassSeasons/{countryId} — This endpoint is used to return grass seasons. |
| rb209_grass_potential_cutsC | GET /api/Grass/PotentialCuts/{swardTypeId}/{swardManagementId} — The list of different number of cuts for the field. |
| rb209_grass_site_class_idA | GET /api/Grass/SiteClassId/{soilTypeId}/{rainfall}/{altitude} — Calculate the site class id for Scottish grassland fields. |
| rb209_grass_sward_managementA | GET /api/Grass/SwardManagement/{swardManagementId} — Get the text of the sward management for the provided sward management id. |
| rb209_grass_sward_managementsA | GET /api/Grass/SwardManagements — The list of different sward managements available for grass fields. |
| rb209_grass_sward_managements_by_typeA | GET /api/Grass/SwardManagements/{swardTypeId} — The list of different sward managements available for the provided sward type. |
| rb209_grass_sward_typeB | GET /api/Grass/SwardType/{swardTypeId} — Get the text of the sward type for the provided sward type id. |
| rb209_grass_sward_typesA | GET /api/Grass/SwardTypes — The list of different sward types available for grass fields. |
| rb209_grass_yield_ranges_england_and_walesA | GET /api/Grass/YieldRangesEnglandAndWales/{sequenceId}/{grassGrowthClassId} — The list of yield ranges for grass fields in England and Wales. |
| rb209_grass_yield_ranges_scotlandB | GET /api/Grass/YieldRangesScotland/{sequenceId}/{siteClassId} — The list of yield ranges for grass fields in Scotland. |
| rb209_measurement_crop_heightsA | GET /api/Measurement/CropHeights — Full list of available crop heights. |
| rb209_measurement_green_area_indexesA | GET /api/Measurement/GreenAreaIndexes — Full list of available green area indexes. |
| rb209_measurement_seasonsA | GET /api/Measurement/Seasons — Full list of available seasons. |
| rb209_measurement_shoot_numbersA | GET /api/Measurement/ShootNumbers — Full list of available shoot numbers. |
| rb209_measurement_smn_conversion_methodC | GET /api/Measurement/SmnConversionMethod/{smnValue}/{soilLayer} — The get smn value to be converted from N/kg to kg/ha. |
| rb209_measurement_methodA | POST /api/Measurement/MeasurementMethod — The endpoint to calculate sns index using the measurement method in England & Wales. |
| rb209_measurement_scotland_measurement_methodA | POST /api/MeasurementScotland/MeasurementMethod — The endpoint to calculate residue group using SMN measurement values in Scotland. |
| rb209_organic_material_incorporation_methodB | GET /api/OrganicMaterial/IncorporationMethod/{incorporationMethodId} — Organic material incorporation method item based on incorporation method id. |
| rb209_organic_material_incorporation_methodsA | GET /api/OrganicMaterial/IncorporationMethods — Organic material incorporation method list. |
| rb209_organic_material_incorporation_methods_by_typeB | GET /api/OrganicMaterial/IncorporationMethods/{organicMaterialTypeId} — Organic material incorporation method list based on organicMaterialTypeId. |
| rb209_organic_material_categoriesB | GET /api/OrganicMaterial/OrganicMaterialCategories — This endpoint is used to return organic material categories. |
| rb209_organic_material_category_itemB | GET /api/OrganicMaterial/OrganicMaterialCategoryItem/{organicMaterialCategoryId} — This endpoint is used to return organic material category item. |
| rb209_organic_material_type_itemA | GET /api/OrganicMaterial/OrganicMaterialTypeItem/{organicMaterialTypeId} — This endpoint is used to return organic material type of organic material type id provided. |
| rb209_organic_material_type_item_by_dry_matter_splitC | GET /api/OrganicMaterial/OrganicMaterialTypeItem/{organicMaterialTypeId}/{dryMatterSplit} — This endpoint is used to return organic material type item for provided organicMaterialTypeId and dryMatterSplit. |
| rb209_organic_material_typesB | GET /api/OrganicMaterial/OrganicMaterialTypes — This endpoint used to return organic material types. |
| rb209_organic_material_types_by_dry_matter_splitB | GET /api/OrganicMaterial/OrganicMaterialTypes/{dryMatterSplit} — This endpoint used to return organic material types based on filter. |
| rb209_organic_material_types_by_categoryB | GET /api/OrganicMaterial/OrganicMaterialTypes/{organicMaterialCategoryId} — This endpoint used to return organic material types for provided organicMaterialCategoryId. |
| rb209_organic_material_types_by_category_dry_matter_splitA | GET /api/OrganicMaterial/OrganicMaterialTypes/{organicMaterialCategoryId}/{dryMatterSplit} — This endpoint used to return organic material types for provided organicMaterialCategoryId and dryMatterSplit. |
| rb209_previous_cropping_previous_grassA | GET /api/PreviousCropping/PreviousGrass/{previousGrassId} — Individual previous grass - filtered by previous grass id. |
| rb209_previous_cropping_previous_grassesA | GET /api/PreviousCropping/PreviousGrasses — The full list of available previous grasses. |
| rb209_rainfall_averageA | GET /api/Rainfall/RainfallAverage/{postcode} — Average rainfall of the field across the whole year. |
| rb209_rainfall_summer_rainfall_averageA | GET /api/Rainfall/SummerRainfallAverage/{postcode} — Average rainfall of the field during the summer months (April - September). |
| rb209_rainfall_winter_rainfall_averageA | GET /api/Rainfall/WinterRainfallAverage/{postcode} — Average rainfall of the field during the winter months (October - March). |
| rb209_recommendation_calculate_nutrient_deficiencyC | GET /api/Recommendation/CalculateNutrientDeficiency/{cropTypeId}/{leafSamplingPosition}/{nutrientId}/{nutrientContent} — To get the nutrient deficiency result bases on leaf analysis. |
| rb209_recommendation_calculate_nutrient_offtakeC | POST /api/Recommendation/CalculateNutrientOfftake — The calculate crop nutrient offtake value. |
| rb209_recommendation_recommendationsA | POST /api/Recommendation/Recommendations — The main connection to calculate nutrient recommendations. — Before calling, collect ALL inputs from the user — do not assume rainfall, sowing date, yield or straw handling; get rainfall from a postcode via rb209_rainfall_average. Call this ONCE — it returns every nutrient you enable in |
| rb209_soil_methodologiesB | GET /api/Soil/Methodologies/{nutrientId}/{countryId} — A filtered list of available soil methodologies - filtered by nutrient id and country id. |
| rb209_soil_methodologyB | GET /api/Soil/Methodology/{nutrientId}/{methodologyId} — Individual soil methodology - filtered by nutrient id and methodology id. |
| rb209_soil_nutrient_index_by_indexC | GET /api/Soil/NutrientIndex/{nutrientId}/{indexId} — Individual nutrient index item - filtered by nutrient id and index id. |
| rb209_soil_nutrient_index_by_value_methodologyB | GET /api/Soil/NutrientIndex/{nutrientId}/{nutrientValue}/{methodologyId} — Individual nutrient index item - filtered by nutrient id, nutrient value and methodology id. |
| rb209_soil_nutrient_index_by_value_methodology_countryA | GET /api/Soil/NutrientIndex/{nutrientId}/{nutrientValue}/{methodologyId}/{countryId} — Individual nutrient index item - filtered by nutrient id, nutrient value, methodology id and country Id. |
| rb209_soil_nutrient_indexesA | GET /api/Soil/NutrientIndexes/{methodologyId} — A list of the available nutrient indexes across nutrients - filtered by methodology id. — Returns T04 'No nutrient indexes found' for many nutrient/methodology combos. If the user has no soil analysis, skip it and send soilAnalyses: []; only convert a measured value via the NutrientIndexIdFromValue tool. |
| rb209_soil_nutrient_index_id_from_valueC | GET /api/Soil/NutrientIndexIdFromValue/{nutrientId}/{methodologyId}/{nutrientValue}/{countryId} — Individual nutrient index id - filtered by nutrient id, methodology id and nutrient value. |
| rb209_soil_nutrient_indicesB | GET /api/Soil/NutrientIndices/{nutrientId}/{methodologyId}/{countryId} — A filtered list of available nutrient indexes - filtered by nutrient id, methodology id and country id. |
| rb209_soil_nutrient_target_indexC | GET /api/Soil/NutrientTargetIndex/{cropGroupId}/{nutrientId}/{countryId} — Get the nutrient target index. |
| rb209_soil_nvz_action_programB | GET /api/Soil/NvzActionProgram/{countryId} — The full list of NVZ action program. |
| rb209_soil_ph_recommendationB | GET /api/Soil/SoilPhRecommendation/{soilTypeId}/{countryId} — Get list of soil ph recommendation level. |
| rb209_soil_pscB | GET /api/Soil/SoilPsc/{cropGroupId}/{pIndexId} — Get the list of all available PSC for selected crop group. |
| rb209_soil_typeA | GET /api/Soil/SoilType/{soilTypeId} — Individual soil type - filtered by soil type id. |
| rb209_soil_typesB | GET /api/Soil/SoilTypes — The full list of available soil types. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |