Contracts ending soon
assay_endingContracts of one line that are still running, soonest end first: the next tenders to come. Needs an Enterprise Data key: X-API-Key header on the MCP request (https://assay-systems.com/api-key/#data).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"line": "<line>"
},
"name": "assay_ending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line id from assay_line or assay_search. | |
| page | No | Page of the result list (default 1). | |
| before | No | YYYY-MM-DD: only contracts ending before this day. | |
| country | Yes | Two-letter country code in lower case, e.g. ca, us, gb, ua. assay_countries lists them. |