Skip to main content
Glama

BRAINIAC Agriculture & Commodity Intelligence

Compare agricultural input costs

agriculture-intelligence_input-cost-compare
Read-onlyIdempotent

Compare prior/current or left/right agricultural input costs per hectare from caller-supplied rate and price rows. Price $0.03 USDC. POST /api/v1/agriculture-intelligence/input-cost-compare. An unpaid call returns the x402 payment terms and does not run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agriculture-intelligence_input-cost-compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNocsv, string, length 0 to 200000. Optional.
asOfNoasOf, string, length 0 to 40. Optional.
fileNofile, object. Optional.
jsonNojson, string, length 0 to 200000. Optional.
textNotext, string, length 0 to 200000. Optional.
filesNofiles, array. Optional.
fieldsNofields, array. Optional.
pricesNoprices, array. Optional.
yieldsNoyields, array. Optional.
weatherNoweather, array. Optional.
calendarsNocalendars, array. Optional.
grainLotsNograinLots, array. Optional.
openMeteoNoopenMeteo, object. Optional.
worldBankNoworldBank, object. Optional.
grainSpecsNograinSpecs, array. Optional.
inputCostsNoinputCosts, array. Optional.
excessRainMmNoexcessRainMm, number, from 1 to 2000. Optional.
evidenceItemsNoevidenceItems, array. Optional.
frostThresholdCNofrostThresholdC, number, from -40 to 10. Optional.
requiredEvidenceNorequiredEvidence, array. Optional.
droughtThresholdDaysNodroughtThresholdDays, number, from 1 to 365. Optional.

Output Schema

NameRequiredDescriptionDefault
itemsNoitems. Array.
statusNostatus. String.
findingsNofindings. Array.
checkedAtNocheckedAt. String.
pairCountNopairCount. Number.
limitationsNolimitations. Array.
apiKeyRequiredNoapiKeyRequired. Boolean.
openMeteoFetchedNoopenMeteoFetched. Boolean.
paidProviderUsedNopaidProviderUsed. Boolean.
worldBankFetchedNoworldBankFetched. Boolean.
paidCommodityFeedUsedNopaidCommodityFeedUsed. Boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed150 schema fields changed
    • addedInput schema / properties / asOf / description
      Added value: +"asOf, string, length 0 to 40. Optional."
    • addedInput schema / properties / calendars / description
      Added value: +"calendars, array. Optional."
    • addedInput schema / properties / calendars / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / calendars / items / properties / crop / description
      Added value: +"crop, string, length 0 to 80. Optional."
    • addedInput schema / properties / calendars / items / properties / eventAt / description
      Added value: +"eventAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / calendars / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / calendars / items / properties / region / description
      Added value: +"region, string, length 0 to 120. Optional."
    • addedInput schema / properties / calendars / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / calendars / items / properties / stage / description
      Added value: +"stage, string, length 0 to 80. Optional."
    • addedInput schema / properties / calendars / items / properties / windowEnd / description
      Added value: +"windowEnd, string, length 0 to 40. Optional."
    • addedInput schema / properties / calendars / items / properties / windowStart / description
      Added value: +"windowStart, string, length 0 to 40. Optional."
    • removedInput schema / properties / calendars / maxItems
      Removed value: -2000
    • addedInput schema / properties / csv / description
      Added value: +"csv, string, length 0 to 200000. Optional."
    • addedInput schema / properties / droughtThresholdDays / description
      Added value: +"droughtThresholdDays, number, from 1 to 365. Optional."
    • addedInput schema / properties / evidenceItems / description
      Added value: +"evidenceItems, array. Optional."
    • addedInput schema / properties / evidenceItems / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / evidenceItems / items / properties / crop / description
      Added value: +"crop, string, length 0 to 80. Optional."
    • addedInput schema / properties / evidenceItems / items / properties / fieldId / description
      Added value: +"fieldId, string, length 0 to 80. Optional."
    • addedInput schema / properties / evidenceItems / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / evidenceItems / items / properties / label / description
      Added value: +"label, string, length 0 to 200. Optional."
    • addedInput schema / properties / evidenceItems / items / properties / present / description
      Added value: +"present, boolean. Optional."
    • addedInput schema / properties / evidenceItems / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / evidenceItems / maxItems
      Removed value: -500
    • addedInput schema / properties / excessRainMm / description
      Added value: +"excessRainMm, number, from 1 to 2000. Optional."
    • addedInput schema / properties / fields / description
      Added value: +"fields, array. Optional."
    • addedInput schema / properties / fields / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / fields / items / properties / crop / description
      Added value: +"crop, string, length 0 to 80. Optional."
    • addedInput schema / properties / fields / items / properties / expectedHarvestAt / description
      Added value: +"expectedHarvestAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / fields / items / properties / fieldId / description
      Added value: +"fieldId, string, length 0 to 80. Optional."
    • addedInput schema / properties / fields / items / properties / hectares / description
      Added value: +"hectares, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / fields / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / fields / items / properties / latitudeDeg / description
      Added value: +"latitudeDeg, number, from -90 to 90. Optional."
    • addedInput schema / properties / fields / items / properties / longitudeDeg / description
      Added value: +"longitudeDeg, number, from -180 to 180. Optional."
    • addedInput schema / properties / fields / items / properties / plantedAt / description
      Added value: +"plantedAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / fields / items / properties / region / description
      Added value: +"region, string, length 0 to 120. Optional."
    • addedInput schema / properties / fields / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / fields / items / properties / variety / description
      Added value: +"variety, string, length 0 to 120. Optional."
    • removedInput schema / properties / fields / maxItems
      Removed value: -2000
    • addedInput schema / properties / file / description
      Added value: +"file, object. Optional."
    • addedInput schema / properties / file / properties / fileBase64 / description
      Added value: +"fileBase64, string, length 1 to 12000000. Required."
    • addedInput schema / properties / file / properties / filename / description
      Added value: +"filename, string, length 1 to 180. Optional."
    • addedInput schema / properties / file / properties / mediaType / description
      Added value: +"mediaType, string, one of text/plain, text/csv, application/json, application/octet-stream. Optional."
    • addedInput schema / properties / file / properties / role / description
      Added value: +"role, string, length 0 to 80. Optional."
    • addedInput schema / properties / files / description
      Added value: +"files, array. Optional."
    • addedInput schema / properties / files / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / files / items / properties / fileBase64 / description
      Added value: +"fileBase64, string, length 1 to 12000000. Required."
    • addedInput schema / properties / files / items / properties / filename / description
      Added value: +"filename, string, length 1 to 180. Optional."
    • addedInput schema / properties / files / items / properties / mediaType / description
      Added value: +"mediaType, string, one of text/plain, text/csv, application/json, application/octet-stream. Optional."
    • addedInput schema / properties / files / items / properties / role / description
      Added value: +"role, string, length 0 to 80. Optional."
    • removedInput schema / properties / files / maxItems
      Removed value: -20
    • addedInput schema / properties / frostThresholdC / description
      Added value: +"frostThresholdC, number, from -40 to 10. Optional."
    • addedInput schema / properties / grainLots / description
      Added value: +"grainLots, array. Optional."
    • addedInput schema / properties / grainLots / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / grainLots / items / properties / commodity / description
      Added value: +"commodity, string, length 0 to 80. Optional."
    • addedInput schema / properties / grainLots / items / properties / damagePct / description
      Added value: +"damagePct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainLots / items / properties / foreignMaterialPct / description
      Added value: +"foreignMaterialPct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainLots / items / properties / grade / description
      Added value: +"grade, string, length 0 to 40. Optional."
    • addedInput schema / properties / grainLots / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / grainLots / items / properties / lotId / description
      Added value: +"lotId, string, length 0 to 80. Optional."
    • addedInput schema / properties / grainLots / items / properties / moisturePct / description
      Added value: +"moisturePct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainLots / items / properties / proteinPct / description
      Added value: +"proteinPct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainLots / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / grainLots / items / properties / testWeight / description
      Added value: +"testWeight, number, from 0 to 1000. Optional."
    • removedInput schema / properties / grainLots / maxItems
      Removed value: -2000
    • addedInput schema / properties / grainSpecs / description
      Added value: +"grainSpecs, array. Optional."
    • addedInput schema / properties / grainSpecs / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / grainSpecs / items / properties / commodity / description
      Added value: +"commodity, string, length 0 to 80. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / maxDamagePct / description
      Added value: +"maxDamagePct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / maxForeignMaterialPct / description
      Added value: +"maxForeignMaterialPct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / maxMoisturePct / description
      Added value: +"maxMoisturePct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / minProteinPct / description
      Added value: +"minProteinPct, number, from 0 to 100. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / minTestWeight / description
      Added value: +"minTestWeight, number, from 0 to 1000. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / requiredGrade / description
      Added value: +"requiredGrade, string, length 0 to 40. Optional."
    • addedInput schema / properties / grainSpecs / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • removedInput schema / properties / grainSpecs / maxItems
      Removed value: -500
    • addedInput schema / properties / inputCosts / description
      Added value: +"inputCosts, array. Optional."
    • addedInput schema / properties / inputCosts / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / inputCosts / items / properties / category / description
      Added value: +"category, string, one of fertilizer, seed, chemical, fuel, labor, other. Optional."
    • addedInput schema / properties / inputCosts / items / properties / currency / description
      Added value: +"currency, string, length 0 to 12. Optional."
    • addedInput schema / properties / inputCosts / items / properties / hectares / description
      Added value: +"hectares, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / inputCosts / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / inputCosts / items / properties / name / description
      Added value: +"name, string, length 0 to 120. Optional."
    • addedInput schema / properties / inputCosts / items / properties / nutrient / description
      Added value: +"nutrient, string, length 0 to 40. Optional."
    • addedInput schema / properties / inputCosts / items / properties / pricePerUnit / description
      Added value: +"pricePerUnit, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / inputCosts / items / properties / product / description
      Added value: +"product, string, length 0 to 120. Optional."
    • addedInput schema / properties / inputCosts / items / properties / ratePerHa / description
      Added value: +"ratePerHa, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / inputCosts / items / properties / side / description
      Added value: +"side, string, one of left, right, a, b, prior, current. Optional."
    • addedInput schema / properties / inputCosts / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / inputCosts / items / properties / unit / description
      Added value: +"unit, string, length 0 to 40. Optional."
    • removedInput schema / properties / inputCosts / maxItems
      Removed value: -5000
    • addedInput schema / properties / json / description
      Added value: +"json, string, length 0 to 200000. Optional."
    • addedInput schema / properties / openMeteo / description
      Added value: +"openMeteo, object. Optional."
    • addedInput schema / properties / openMeteo / properties / crop / description
      Added value: +"crop, string, length 0 to 80. Optional."
    • addedInput schema / properties / openMeteo / properties / days / description
      Added value: +"days, integer, from 1 to 16. Optional."
    • addedInput schema / properties / openMeteo / properties / fieldId / description
      Added value: +"fieldId, string, length 0 to 80. Optional."
    • addedInput schema / properties / openMeteo / properties / latitudeDeg / description
      Added value: +"latitudeDeg, number, from -90 to 90. Required."
    • addedInput schema / properties / openMeteo / properties / longitudeDeg / description
      Added value: +"longitudeDeg, number, from -180 to 180. Required."
    • addedInput schema / properties / openMeteo / properties / start / description
      Added value: +"start, string, length 0 to 40. Optional."
    • addedInput schema / properties / prices / description
      Added value: +"prices, array. Optional."
    • addedInput schema / properties / prices / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / prices / items / properties / at / description
      Added value: +"at, string, length 0 to 40. Optional."
    • addedInput schema / properties / prices / items / properties / commodity / description
      Added value: +"commodity, string, length 0 to 80. Optional."
    • addedInput schema / properties / prices / items / properties / currency / description
      Added value: +"currency, string, length 0 to 12. Optional."
    • addedInput schema / properties / prices / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / prices / items / properties / market / description
      Added value: +"market, string, length 0 to 80. Optional."
    • addedInput schema / properties / prices / items / properties / price / description
      Added value: +"price, number, from 0 to 1000000000. Optional."
    • addedInput schema / properties / prices / items / properties / side / description
      Added value: +"side, string, one of spot, futures, basis, left, right, a. Optional."
    • addedInput schema / properties / prices / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / prices / items / properties / symbol / description
      Added value: +"symbol, string, length 0 to 40. Optional."
    • addedInput schema / properties / prices / items / properties / unit / description
      Added value: +"unit, string, length 0 to 40. Optional."
    • removedInput schema / properties / prices / maxItems
      Removed value: -10000
    • addedInput schema / properties / requiredEvidence / description
      Added value: +"requiredEvidence, array. Optional."
    • addedInput schema / properties / requiredEvidence / items / description
      Added value: +"item, string, length 0 to 200. Required."
    • removedInput schema / properties / requiredEvidence / maxItems
      Removed value: -100
    • addedInput schema / properties / text / description
      Added value: +"text, string, length 0 to 200000. Optional."
    • addedInput schema / properties / weather / description
      Added value: +"weather, array. Optional."
    • addedInput schema / properties / weather / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / weather / items / properties / at / description
      Added value: +"at, string, length 0 to 40. Optional."
    • addedInput schema / properties / weather / items / properties / crop / description
      Added value: +"crop, string, length 0 to 80. Optional."
    • addedInput schema / properties / weather / items / properties / droughtDays / description
      Added value: +"droughtDays, number, from 0 to 3650. Optional."
    • addedInput schema / properties / weather / items / properties / fieldId / description
      Added value: +"fieldId, string, length 0 to 80. Optional."
    • addedInput schema / properties / weather / items / properties / frost / description
      Added value: +"frost, boolean. Optional."
    • addedInput schema / properties / weather / items / properties / humidityPct / description
      Added value: +"humidityPct, number, from 0 to 100. Optional."
    • addedInput schema / properties / weather / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / weather / items / properties / periodEnd / description
      Added value: +"periodEnd, string, length 0 to 40. Optional."
    • addedInput schema / properties / weather / items / properties / periodStart / description
      Added value: +"periodStart, string, length 0 to 40. Optional."
    • addedInput schema / properties / weather / items / properties / precipitationMm / description
      Added value: +"precipitationMm, number, from 0 to 2000. Optional."
    • addedInput schema / properties / weather / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / weather / items / properties / temperatureC / description
      Added value: +"temperatureC, number, from -80 to 80. Optional."
    • addedInput schema / properties / weather / items / properties / windSpeedMs / description
      Added value: +"windSpeedMs, number, from 0 to 200. Optional."
    • removedInput schema / properties / weather / maxItems
      Removed value: -5000
    • addedInput schema / properties / worldBank / description
      Added value: +"worldBank, object. Optional."
    • addedInput schema / properties / worldBank / properties / commodity / description
      Added value: +"commodity, string, length 0 to 80. Optional."
    • addedInput schema / properties / worldBank / properties / country / description
      Added value: +"country, string, length 2 to 3. Required."
    • addedInput schema / properties / worldBank / properties / indicator / description
      Added value: +"indicator, string, length 2 to 80. Required."
    • addedInput schema / properties / worldBank / properties / perPage / description
      Added value: +"perPage, integer, from 1 to 100. Optional."
    • addedInput schema / properties / yields / description
      Added value: +"yields, array. Optional."
    • addedInput schema / properties / yields / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / yields / items / properties / crop / description
      Added value: +"crop, string, length 0 to 80. Optional."
    • addedInput schema / properties / yields / items / properties / expectedYieldPerHa / description
      Added value: +"expectedYieldPerHa, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / yields / items / properties / fieldId / description
      Added value: +"fieldId, string, length 0 to 80. Optional."
    • addedInput schema / properties / yields / items / properties / hectares / description
      Added value: +"hectares, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / yields / items / properties / historicalYieldPerHa / description
      Added value: +"historicalYieldPerHa, number, from 0 to 1000000. Optional."
    • addedInput schema / properties / yields / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / yields / items / properties / source / description
      Added value: +"source, string, length 0 to 200. Optional."
    • addedInput schema / properties / yields / items / properties / unit / description
      Added value: +"unit, string, length 0 to 40. Optional."
    • addedInput schema / properties / yields / items / properties / weatherStressFactor / description
      Added value: +"weatherStressFactor, number, from 0 to 5. Optional."
    • removedInput schema / properties / yields / maxItems
      Removed value: -2000
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "apiKeyRequired": {
      +      "description": "apiKeyRequired. Boolean.",
      +      "type": "boolean"
      +    },
      +    "checkedAt": {
      +      "description": "checkedAt. String.",
      +      "type": "string"
      +    },
      +    "findings": {
      +      "description": "findings. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "code": {
      +            "description": "code. String.",
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "detail. String.",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "description": "kind. String.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "description": "subject. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "items": {
      +      "description": "items. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "category": {
      +            "description": "category. String.",
      +            "type": "string"
      +          },
      +          "currency": {
      +            "description": "currency. String.",
      +            "type": "string"
      +          },
      +          "deltaPerHa": {
      +            "description": "deltaPerHa. Number.",
      +            "type": "number"
      +          },
      +          "deltaPerHaSupplied": {
      +            "description": "deltaPerHaSupplied. Boolean.",
      +            "type": "boolean"
      +          },
      +          "key": {
      +            "description": "key. String.",
      +            "type": "string"
      +          },
      +          "leftCostPerHa": {
      +            "description": "leftCostPerHa. Number.",
      +            "type": "number"
      +          },
      +          "leftCostPerHaSupplied": {
      +            "description": "leftCostPerHaSupplied. Boolean.",
      +            "type": "boolean"
      +          },
      +          "leftId": {
      +            "description": "leftId. String.",
      +            "type": "string"
      +          },
      +          "paidCommodityFeedUsed": {
      +            "description": "paidCommodityFeedUsed. Boolean.",
      +            "type": "boolean"
      +          },
      +          "product": {
      +            "description": "product. String.",
      +            "type": "string"
      +          },
      +          "rightCostPerHa": {
      +            "description": "rightCostPerHa. Number.",
      +            "type": "number"
      +          },
      +          "rightCostPerHaSupplied": {
      +            "description": "rightCostPerHaSupplied. Boolean.",
      +            "type": "boolean"
      +          },
      +          "rightId": {
      +            "description": "rightId. String.",
      +            "type": "string"
      +          },
      +          "source": {
      +            "description": "source. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "openMeteoFetched": {
      +      "description": "openMeteoFetched. Boolean.",
      +      "type": "boolean"
      +    },
      +    "paidCommodityFeedUsed": {
      +      "description": "paidCommodityFeedUsed. Boolean.",
      +      "type": "boolean"
      +    },
      +    "paidProviderUsed": {
      +      "description": "paidProviderUsed. Boolean.",
      +      "type": "boolean"
      +    },
      +    "pairCount": {
      +      "description": "pairCount. Number.",
      +      "type": "number"
      +    },
      +    "status": {
      +      "description": "status. String.",
      +      "type": "string"
      +    },
      +    "worldBankFetched": {
      +      "description": "worldBankFetched. Boolean.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources