---
title: "Check if a material is suitable for specific environmental conditions."
method: POST
path: "/tools/check_material_environment_compatibility"
---

# Check if a material is suitable for specific environmental conditions.

`POST /tools/check_material_environment_compatibility`

## Request

- Base URL: `https://api.mechanofab.com/v1`
- URL: `https://api.mechanofab.com/v1/tools/check_material_environment_compatibility`
- Auth: HTTP bearer

Use when the user describes an operating environment (temperature, humidity, UV, chemicals) and wants to know if a material is suitable. Returns a compatibility rating (excellent/good/fair/poor) and specific risk factors.

## Request body

- object
  - `material_id` string, required
  - `environment` object, required
    - `temperature_c` number
    - `humidity` 'low' | 'medium' | 'high'
    - `chemical_exposure` string[]
    - `uv_exposure` boolean

## Response `200`

Tool result

- object
  - `material_name` string, required
  - `compatible` boolean, required
  - `rating` 'excellent' | 'good' | 'fair' | 'poor', required
  - `risk_factors` string[], required
  - `notes` string, required
  - `source_tag` string, required

## Other responses

- `400`: Invalid request/input.
- `401`: Missing/invalid credentials.
- `402`: Insufficient credits.
- `403`: Scope/tool forbidden.
- `404`: Unknown resource.
- `409`: Idempotency conflict.
- `429`: Rate limited.
- `503`: Control plane / runtime unavailable.

---

[API](https://skmtc.dev/mechanofab/apis/mechanofab-api.md) · [All operations](https://skmtc.dev/mechanofab/apis/mechanofab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mechanofab/apis/mechanofab-api/revisions/5945a6fad621?raw)
