Trimble Agriculture · Capability

Trimble Agriculture Data API — Materials

Trimble Agriculture Data API — Materials. 2 operations. Lead operation: List Materials. Self-contained Naftiko capability covering one Trimble Agriculture business surface.

Run with Naftiko Trimble AgricultureMaterials

What You Can Do

GET
Listmaterials — List Materials
/v1/organizations/{organizationid}/materials
POST
Creatematerial — Create Material
/v1/organizations/{organizationid}/materials

MCP Tools

list-materials

List Materials

read-only idempotent
create-material

Create Material

Capability Spec

trimble-agriculture-materials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Trimble Agriculture Data API — Materials
  description: 'Trimble Agriculture Data API — Materials. 2 operations. Lead operation: List Materials. Self-contained Naftiko
    capability covering one Trimble Agriculture business surface.'
  tags:
  - Trimble Agriculture
  - Materials
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRIMBLE_AGRICULTURE_API_KEY: TRIMBLE_AGRICULTURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: trimble-agriculture-materials
    baseUri: https://cloud.api.trimble.com/Trimble-Ag-Software/externalApi/3.0
    description: Trimble Agriculture Data API — Materials business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-materials
      path: /organizations/{organizationId}/materials
      operations:
      - name: listmaterials
        method: GET
        description: List Materials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: type
          in: query
          type: string
          description: Filter by material type
      - name: creatematerial
        method: POST
        description: Create Material
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TRIMBLE_AGRICULTURE_API_KEY}}'
  exposes:
  - type: rest
    namespace: trimble-agriculture-materials-rest
    port: 8080
    description: REST adapter for Trimble Agriculture Data API — Materials. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/materials
      name: organizations-organizationid-materials
      description: REST surface for organizations-organizationId-materials.
      operations:
      - method: GET
        name: listmaterials
        description: List Materials
        call: trimble-agriculture-materials.listmaterials
        with:
          organizationId: rest.organizationId
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creatematerial
        description: Create Material
        call: trimble-agriculture-materials.creatematerial
        with:
          organizationId: rest.organizationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: trimble-agriculture-materials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Trimble Agriculture Data API — Materials. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-materials
      description: List Materials
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: trimble-agriculture-materials.listmaterials
      with:
        organizationId: tools.organizationId
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: create-material
      description: Create Material
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: trimble-agriculture-materials.creatematerial
      with:
        organizationId: tools.organizationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.