Skip to main content
Glama

Environments Scrap Price Set

environments_scrap_price_set
DestructiveIdempotent

Your price per kilogram for the scrap parts of this material leave behind — sheet skeletons and offcuts, chips, or bar ends and cut-offs — from valid_from onwards. Name a grade with grade_id to price it apart from the rest of its category. A price it replaces that started on an earlier day stops the day before rather than being deleted, so quotes already made keep the figure they were costed at; one set earlier the same day is simply replaced.

A scrap price is credited only in an environment that credits sold scrap: the shop-practice question scrap_credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
env_idYes
grade_idNoThe grade the price is for. Leave it out to price every grade of the category that states no price of its own.
valid_fromNoDay the price starts applying: today, which is the default, or later — never earlier, so quotes already made keep the price they were costed at. The price it replaces stops the day before.
scrap_classYes
price_per_kgYesWhat you get back per kilogram, in the environment's currency: what the dealer pays less what sorting, containers and haulage cost you. Zero is allowed: a shop that sells nothing back states 0.
material_categoryYesTop-level material family. Drives ISO machining group defaults and UI filtering. Values are stable identifiers — adding a new category is additive; renaming is a breaking change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources