Skip to main content
Glama

Fas Production

fas_production
Read-onlyIdempotent

Get global agricultural production, consumption, and inventory data by commodity and country. Returns production volumes, supply estimates, consumption figures, and trade flows by year.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "country": "US",
      "commodity": "corn",
      "market_year": "2024"
    },
    "name": "fas_production"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoCountry code (e.g., "US", "BR", "CN"). Optional, omit for world totals.
commodityYesCommodity name (e.g., "corn", "soybeans", "wheat") or PSD commodity code (e.g., "0440000")
market_yearNoMarket year (e.g., "2024"). Optional.

Output Schema

NameRequiredDescriptionDefault
dataYesProduction/supply/distribution records (max 100 returned)
typeYesData type
countYesNumber of records returned
commodityYesCommodity name provided in request
truncatedYesWhether results were truncated to 100 records
commodity_codeYesStandardized commodity code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Country code (e.g., \"US\", \"BR\", \"CN\"). Optional — omit for world totals."New value: +"Country code (e.g., \"US\", \"BR\", \"CN\"). Optional, omit for world totals."
  2. Changed1 schema field changed
    • changedOutput schema / properties / data / items / properties / market_year / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +[
      +  "integer",
      +  "null",
      +  "string"
      +]
  3. Changed5 schema fields changed
    • changedOutput schema / properties / commodity / description
      Previous value: -"Commodity name provided in the request"New value: +"Commodity name provided in request"
    • changedOutput schema / properties / commodity_code / description
      Previous value: -"PSD commodity code used for the query"New value: +"Standardized commodity code"
    • changedOutput schema / properties / count / description
      Previous value: -"Number of production records returned"New value: +"Number of records returned"
    • changedOutput schema / properties / data / description
      Previous value: -"Production/supply/distribution records (up to 100)"New value: +"Production/supply/distribution records (max 100 returned)"
    • changedOutput schema / properties / truncated / description
      Previous value: -"Whether more than 100 records exist"New value: +"Whether results were truncated to 100 records"
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "commodity": {
      +      "description": "Commodity name provided in the request",
      +      "type": "string"
      +    },
      +    "commodity_code": {
      +      "description": "PSD commodity code used for the query",
      +      "type": "string"
      +    },
      +    "count": {
      +      "description": "Number of production records returned",
      +      "type": "integer"
      +    },
      +    "data": {
      +      "description": "Production/supply/distribution records (up to 100)",
      +      "items": {
      +        "properties": {
      +          "attribute": {
      +            "description": "Attribute (e.g., production, consumption, inventory)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "country": {
      +            "description": "Country name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "country_code": {
      +            "description": "Country code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "market_year": {
      +            "description": "Market year",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "unit": {
      +            "description": "Unit of measurement",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "value": {
      +            "description": "Attribute value",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "truncated": {
      +      "description": "Whether more than 100 records exist",
      +      "type": "boolean"
      +    },
      +    "type": {
      +      "description": "Data type",
      +      "enum": [
      +        "production_supply_distribution"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "commodity",
      +    "commodity_code",
      +    "type",
      +    "count",
      +    "data",
      +    "truncated"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "commodity": "corn",
      +    "country": "US",
      +    "market_year": "2024"
      +  },
      +  {
      +    "commodity": "wheat"
      +  }
      +]
  6. First observed

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds useful shape information about what data comes back (volumes, supply estimates, consumption, trade flows by year), but omits the underlying source, units of measure, market-year definition, and any coverage limitations despite openWorldHint implying external data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action and scope. Slightly redundant, since the second sentence re-lists production and consumption already named in the first, but the list of returned data types still earns most of its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With full schema coverage, an output schema, and complete annotations, the description only needs to convey scope, which it does. Minor gaps remain around data source and units, which matter for an open-world data-retrieval tool but are not essential to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all three parameters are already documented including the country-code examples and the 'omit for world totals' behavior. The description only restates the commodity/country/year dimensions and adds no unit, format, or code-lookup guidance beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

A specific verb ('Get') plus a well-bounded resource ('global agricultural production, consumption, and inventory data') with its two main axes (commodity, country). An agent can tell what it retrieves, though nothing distinguishes it from the sibling fas_commodity_codes, which plausibly supplies the commodity codes this tool accepts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the topic — nothing states when to call this versus fas_commodity_codes for code lookup, or when to omit country for world totals (that hint lives in the schema, not the description). No exclusions or prerequisites are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.