> ## Documentation Index
> Fetch the complete documentation index at: https://code.dcycle.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Waste Tools

> MCP tools for querying waste records and emissions

# Waste Tools

Query waste records for facilities — including waste types, quantities, treatment methods, and associated emissions.

## `list_wastes`

List waste records for a specific facility.

**Parameters:**

| Parameter         | Type    | Required | Description                                 |
| ----------------- | ------- | -------- | ------------------------------------------- |
| `facility_id`     | string  | **Yes**  | UUID of the facility                        |
| `organization_id` | string  | No       | Organization UUID (uses default if not set) |
| `status`          | string  | No       | Status filter: `active`, `deleted`          |
| `start_date`      | string  | No       | Start date (YYYY-MM-DD)                     |
| `end_date`        | string  | No       | End date (YYYY-MM-DD)                       |
| `page`            | integer | No       | Page number (default: 1)                    |
| `size`            | integer | No       | Results per page (default: 50)              |

<Note>
  `facility_id` is required — call `list_facilities` first to get valid IDs.
</Note>

**Example prompts:**

* "Show waste records for our Madrid factory"
* "What waste did facility abc-123 generate in 2024?"

## Workflow

1. Call `list_facilities` to find the facility
2. Call `list_wastes` with the `facility_id` to see waste records
