{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "ai.tracepass.eu",
    "site": "tracepass.eu",
    "addresses": [
      {
        "address": "188.245.191.79",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "188.245.191.79"
        ],
        "first_seen": "2026-11-21T12:52:01.270Z",
        "last_seen": "2026-11-23T17:49:01.477Z",
        "checks": 3
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "tracepass",
      "version": "1.28.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "strict-transport-security": "max-age=31536000; includeSubDomains"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "21679",
          "url": "https://ai.tracepass.eu/compliance/mcp",
          "server_name": "eu.tracepass/compliance",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T17:48:02.495Z"
        }
      ]
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "21679",
          "url": "https://ai.tracepass.eu/compliance/mcp",
          "server_name": "eu.tracepass/compliance",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T17:48:02.495Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "eu.tracepass",
      "total": 1,
      "sample": [
        {
          "name": "eu.tracepass/compliance",
          "title": "TracePass DPP Compliance Assistant"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/malinoto/tracepass-mcp-server",
      "total": 1,
      "sample": [
        {
          "name": "eu.tracepass/compliance",
          "title": "TracePass DPP Compliance Assistant"
        }
      ]
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "21680",
    "server_name": "eu.tracepass/tracepass",
    "url": "https://ai.tracepass.eu/mcp",
    "host": "ai.tracepass.eu",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T17:49:01.477Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "bc950b38a7aba109cb5279c9c0c5a677d59ebd006538646388894305cdb64532",
    "first_listed_at": "2026-11-21T12:52:01.270Z",
    "created_at": "2026-11-21T07:45:05.367Z",
    "resolved_addresses": [
      "188.245.191.79"
    ]
  },
  "server": {
    "name": "eu.tracepass/tracepass",
    "title": "TracePass",
    "description": "Manage products, EU Digital Product Passports, operator parties, and GS1 EPCIS supply-chain events.",
    "version": "1.28.0",
    "registry_status": "active",
    "repository_url": "https://github.com/malinoto/tracepass-mcp-server",
    "website_url": "https://www.tracepass.eu",
    "published_at": "2026-11-17T18:39:43.458Z",
    "updated_at": "2026-11-17T18:39:43.458Z",
    "first_seen": "2026-11-21T07:40:06.952Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:27:07.287Z"
  },
  "operator": {
    "key": "tracepass.eu",
    "name": "tracepass.eu",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1017,
    "first_check_in_window": "2026-11-21T12:52:01.270Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "bc950b38a7aba109cb5279c9c0c5a677d59ebd006538646388894305cdb64532",
    "tools": 9,
    "resources": 7,
    "prompts": 6,
    "first_seen": "2026-11-21T12:52:02.407Z",
    "tool_names": [
      "tracepass_products",
      "tracepass_passports",
      "tracepass_passport_fields",
      "tracepass_passport_parties",
      "tracepass_epcis",
      "tracepass_templates",
      "tracepass_scope",
      "tracepass_passport_lifecycle",
      "tracepass_access_grants"
    ],
    "declared": {
      "tools": [
        {
          "name": "tracepass_products",
          "title": "TracePass products",
          "description": "Manage the TracePass product catalogue. A product is the catalogue layer — one product can have many passports (one per serialised unit). Products are not billable on their own. Archive is in tracepass_passport_lifecycle.\n\nActions (pass via `action`; `{…}` is the `args` object):\n- list — { page?, limit? (≤100), category?, status?, search? }. Read-only.\n- get — { id }. Read-only.\n- create — { name, model, category, description? }. `category` is one of the 13 DPP categories (tracepass_templates list).\n- update — { id, name?, model?, description? }; at least one field.\n- get_links — { id, format? (json|csv), limit? (≤5000), cursor? (json: prior nextCursor) }. Every PUBLISHED passport's serial, passportUrl, status (json adds qrApiUrl, needs your API credentials) plus the model page URL, for a dealer asking for passport links.\n- get_model_qr — { id, format? (svg|png), gtin? (14 digits) }. QR of the model page. 404 model_not_found; 400 gtin_required (several GTINs) or invalid_gtin.\n- create_batch — { products: [ { name, model, category, description? }, … ] }, up to 100. Partial-success: per-item status, so some can be created while others error. The batch consumes N writes upfront; if that would exceed the daily cap NOTHING is created (429).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "gtin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "page": {
                    "type": "number"
                  },
                  "limit": {
                    "type": "number"
                  },
                  "model": {
                    "type": "string"
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string"
                  },
                  "search": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "category": {
                    "type": "string",
                    "description": "One of the 13 DPP categories."
                  },
                  "products": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "description": {
                    "type": "string"
                  }
                }
              },
              "action": {
                "enum": [
                  "list",
                  "get",
                  "create",
                  "create_batch",
                  "update",
                  "get_links",
                  "get_model_qr"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "tracepass_passports",
          "title": "TracePass passports",
          "description": "Manage Digital Product Passports — create, read, run compliance checks. Archive, suspend, place on market and record_registration are in tracepass_passport_lifecycle.\n\nIMPORTANT: `create` makes a DRAFT passport: no plan DPP slot, never billed. The slot, and any overage past the plan cap, is taken when it is published in the TracePass dashboard, not through this tool. Each create counts against the daily write budget.\n\nEU DPP REGISTRY (battery): the operator registers a passport itself, on the Registry website under its own EU Login. TracePass prepares what it submits and records what it reports; it never submits to the Registry and never verifies the outcome. The acceptance environment has no legal effect; production is recorded with record_registration (tracepass_passport_lifecycle). Paid plan; an OAuth app must act for an admin or owner.\n\nIdentifier schemes (EN 18219): gs1 | iso15459 | iec61406 | did | doi; batteries accept ONLY gs1 and iso15459. Shapes, lineage, snapshots, measurements, refusal codes: resource tracepass://reference/passports.\n\nActions (pass via `action`; `{…}` is the `args` object). Read-only unless marked WRITE. A *_by_serial action takes { serial, gtin? } instead of `id` (on 409 ambiguous_serial pass `gtin`).\n- list — { page?, limit? (≤100), productId?, status?, search? }. status ∈ draft|in_review|approved|published|suspended|expired|archived.\n- get, get_by_serial — { id, format? (summary|full), lang? }.\n- compliance — { id }. compliant | compliant_with_warnings | incomplete, with regulation-cited findings and byRegulation[]. A regulation absent from byRegulation raised no finding, which is not the same as passed.\n- registry_readiness — { id }. Battery only. { ready, findings[] }: the Registry's FORMAL pre-submission check, not the compliance verdict.\n- prepare_registry_upi — { id }. WRITE, battery, published only. { upi, preparedAt } for the operator to paste into the Registry form. Submits nothing.\n- prepare_registry_upload_file — { passportIds (1–100) }. WRITE, battery. { xml, filename, included, excluded }: the operator uploads `xml` on the Registry website; TracePass does not. 1 write per included passport.\n- record_acceptance_test — { id, result: passed|failed, errorCode? }. WRITE, battery, published only. Records what the operator reports from the ACCEPTANCE environment: no legal effect, not verified. Undo: undo_registration (acceptance).\n- create — { productId, identifier?, gtin?, serialNumber?, lineage? }. Draft, not billed. identifier preferred, or legacy gtin + serialNumber. Battery: only gs1/iso15459, else 400. Duplicate: 409. lineage (battery): a repurposed, remanufactured or reused battery needs a NEW passport linked to the original(s) (Art. 77(7)); immutable after create.\n- get_qr, get_qr_by_serial — { id, format? (svg|png), symbology? (qr|datamatrix) }. One passport's QR; the bare GTIN URL is the product's model page (see products get_links).\n- list_snapshots — { id, page?, limit?, at? (ISO 8601) }; get_snapshot — { id, snapshotId }. EN 18221 change archive (`at` = the snapshot valid then). Entries carry contentHash, hashMethod (jcs-sha256 = RFC 8785 + SHA-256; older: sorted-json-sha256), previousHash and, in the list, chainLink plus a chain verdict. 1 read each.\n- get_condition_flags, _by_serial — { id }. Approved yes/no facts that gate conditional duties; an approved flag can make fields required and block publish. 1 read.\n- set_condition_flags, _by_serial — { id, flags: Record<flagKey, boolean|null> }. WRITE; null clears. WARNING: approving a flag can make fields required and block publishing if empty — fix them before or right after.\n- capture_measurements, _by_serial — { id, measurements: [ { fieldKey, value, measuredAt (ISO 8601), externalId?, unit? } ] (≤500) }. WRITE, battery, published only. Over-life data from the customer's equipment; metered against the monthly measurement allowance, not the write budget.\n- list_measurements, _by_serial — { id, fieldKey?, from?, to?, limit? (≤2",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "at": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "to": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  },
                  "gtin": {
                    "type": "string",
                    "description": "Legacy GS1 GTIN (create), or the disambiguator for *_by_serial."
                  },
                  "lang": {
                    "type": "string",
                    "description": "One of the 24 EU locales (get)."
                  },
                  "page": {
                    "type": "number"
                  },
                  "flags": {
                    "type": "object",
                    "description": "flagKey → boolean; null clears.",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "limit": {
                    "type": "number"
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "format": {
                    "type": "string",
                    "description": "summary|full (get); svg|png (get_qr)."
                  },
                  "result": {
                    "enum": [
                      "passed",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "search": {
                    "type": "string"
                  },
                  "serial": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "lineage": {
                    "type": "object",
                    "required": [
                      "predecessors"
                    ],
                    "properties": {
                      "predecessors": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "trigger"
                          ],
                          "properties": {
                            "trigger": {
                              "enum": [
                                "preparation_for_reuse",
                                "preparation_for_repurposing",
                                "repurposing",
                                "remanufacturing"
                              ],
                              "type": "string"
                            },
                            "identifier": {
                              "type": "string",
                              "maxLength": 2000
                            },
                            "internalPassportId": {
                              "type": "string"
                            }
                          }
                        },
                        "maxItems": 10
                      },
                      "noPredecessorReason": {
                        "type": "string",
                        "maxLength": 500
                      }
                    }
                  },
                  "fieldKey": {
                    "type": "string"
                  },
                  "errorCode": {
                    "type": "string"
                  },
                  "productId": {
                    "type": "string"
                  },
                  "symbology": {
                    "type": "string",
                    "description": "qr (default) | datamatrix."
                  },
                  "identifier": {
                    "type": "object",
                    "description": "{ scheme: gs1|iso15459|iec61406|did|doi, … }. Shapes: tracepass://reference/passports.",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "snapshotId": {
                    "type": "string"
                  },
                  "passportIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "measurements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "fieldKey",
                        "value",
                        "measuredAt"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "value": {},
                        "fieldKey": {
                          "type": "string",
                          "minLength": 1
                        },
                        "externalId": {
                          "type": "string"
                        },
                        "measuredAt": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "serialNumber": {
                    "type": "string"
                  }
                }
              },
              "action": {
                "enum": [
                  "list",
                  "get",
                  "get_by_serial",
                  "compliance",
                  "registry_readiness",
                  "prepare_registry_upi",
                  "prepare_registry_upload_file",
                  "record_acceptance_test",
                  "get_condition_flags",
                  "get_condition_flags_by_serial",
                  "set_condition_flags",
                  "set_condition_flags_by_serial",
                  "capture_measurements",
                  "capture_measurements_by_serial",
                  "list_measurements",
                  "list_measurements_by_serial",
                  "latest_measurements",
                  "latest_measurements_by_serial",
                  "create",
                  "get_qr",
                  "get_qr_by_serial",
                  "list_snapshots",
                  "get_snapshot"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "tracepass_passport_fields",
          "title": "TracePass passport fields",
          "description": "Update field values on a Digital Product Passport. Every change is audit-logged with the credential (API key or connected app) and this MCP channel.\n\n`source` (optional): omit it or pass \"manual\" when the user gave you the value or it comes from their own records — written with the user's rights (approved for an API key or an admin; sent to review for a connected app acting for an editor). Pass \"ai_suggested\" when you found or inferred it yourself: it goes to the dashboard review queue for a human, and is refused on fields only the operator may state or that must be measured (e.g. stateOfHealth).\n\nActions (pass via `action`; `{…}` is the `args` object):\n- update — { id, fieldKey, value, source? }. `value` type matches the field's dataType.\n- update_by_serial — { serial, fieldKey, value, gtin?, source? }. On 409 ambiguous_serial (a serial is unique only WITHIN a GTIN) pass `gtin`.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "gtin": {
                    "type": "string"
                  },
                  "value": {},
                  "serial": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "manual",
                      "ai_suggested"
                    ],
                    "type": "string",
                    "description": "manual (default) | ai_suggested (goes to human review)."
                  },
                  "fieldKey": {
                    "type": "string"
                  }
                }
              },
              "action": {
                "enum": [
                  "update",
                  "update_by_serial"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "tracepass_passport_parties",
          "title": "TracePass passport parties",
          "description": "Manage the economic-operator parties on a passport (manufacturer, importer, authorisedRepresentative, distributor, recycler, producerResponsibilityOrg). Each carries a legal name and an identifier.\n\nA party needs at least one of `gln`, `legacyOperatorId` or `operatorIdentifier` (EN 18219 §6.2–6.5; they must agree if both gln forms are given, else 400). Identifier shapes: resource tracepass://reference/parties.\n\nActions (pass via `action`; `{…}` is the `args` object):\n- set — { id, role, legalName, gln?, country?, url?, tradeName?, postalAddress?, email?, legacyOperatorId?, operatorIdentifier?, facilityIdentifier? }. tradeName, postalAddress and email are public; for a battery importer they are its Battery Regulation Art. 41(3) details.\n- remove — { id, role }.\n\nAfter a battery passport is placed on the market, changing a stored operatorIdentifier or facilityIdentifier returns 409 operator_locked; other edits stay allowed.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "gln": {
                    "type": "string",
                    "description": "13 digits."
                  },
                  "url": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string",
                    "description": "Economic-operator role: manufacturer | importer | authorisedRepresentative | distributor | recycler | producerResponsibilityOrg (required)."
                  },
                  "email": {
                    "type": "string",
                    "description": "Company contact, not a person's. Public."
                  },
                  "country": {
                    "type": "string",
                    "description": "ISO 3166-1 alpha-2."
                  },
                  "legalName": {
                    "type": "string"
                  },
                  "tradeName": {
                    "type": "string",
                    "description": "Max 200 chars. Public."
                  },
                  "postalAddress": {
                    "type": "string",
                    "description": "One line, max 500 chars. Public."
                  },
                  "legacyOperatorId": {
                    "type": "string",
                    "description": "Fallback identifier (VAT, EORI, supplier code)."
                  },
                  "facilityIdentifier": {
                    "type": "object",
                    "description": "Same schemes as operatorIdentifier; gln also takes `extension`.",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "operatorIdentifier": {
                    "type": "object",
                    "description": "{ scheme: iso6523|gln|did|doi, … }. Shapes: tracepass://reference/parties.",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                }
              },
              "action": {
                "enum": [
                  "set",
                  "remove"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "tracepass_epcis",
          "title": "TracePass EPCIS 2.0",
          "description": "GS1 EPCIS 2.0 supply-chain events. `export`, `capture`, `capture_job` and `query` are on every plan, Free included. Captured events count against the plan's event allowance (10 a month on Free); over it `capture` returns an overage or hard-block message.\n\nActions (pass via `action`; `{…}` is the `args` object):\n- export, export_by_serial — { id } or { serial, gtin? } (on 409 ambiguous_serial pass `gtin`). A passport's events as an EPCIS 2.0 JSON-LD document. Read-only.\n- capture — { events }. An EPCISDocument, a single event, or an array of events (JSON-LD). Returns 202 with a captureJobId.\n- capture_job — { jobId }. Poll a capture job. Read-only.\n- query — { params? }. Standard EPCIS query parameters as key/value (EQ_bizStep, GE_eventTime, MATCH_epc, …). Read-only.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "gtin": {
                    "type": "string"
                  },
                  "jobId": {
                    "type": "string"
                  },
                  "events": {},
                  "params": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "serial": {
                    "type": "string"
                  }
                }
              },
              "action": {
                "enum": [
                  "export",
                  "export_by_serial",
                  "capture",
                  "capture_job",
                  "query"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "tracepass_templates",
          "title": "TracePass DPP templates (regulatory schemas)",
          "description": "What a COMPLIANT passport must contain per category, per the governing EU regulation. Read-only reference data; use it to advise on requirements before creating products/passports and to gap-check a draft.\n\nActions (pass via `action`; `{…}` is the `args` object):\n- list — {}. All 13 categories with counts and governing regulation.\n- get — { category }. Every field: key, label, dataType, REQUIRED flag, access level, options, bounds and, where known, the mandating article.\n\nBATTERY — `required` alone is the wrong answer. SCOPE FIRST: only EV, LMT and industrial_gt_2kwh batteries owe a passport (Art. 77(1), Reg (EU) 2023/1542); for portable, SLI or industrial_lte_2kwh NO field is required — say it is out of scope and list no mandatory fields. Then use `requiredBy[batteryCategory]` (required | conditional | notApplicable), and `required` only as a fallback; skipping the scope step invents an obligation the Regulation does not impose. `conditional` fields, use data and the EV/LMT state-of-health split: resource tracepass://reference/templates.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "category": {
                    "type": "string",
                    "description": "battery | textile | electronics | construction | steel | detergents | paints-coatings | packaging | furniture | tyres | jewelry | toys | fmcg."
                  }
                }
              },
              "action": {
                "enum": [
                  "list",
                  "get"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "tracepass_scope",
          "title": "TracePass DPP scope checker",
          "description": "Check what EU law says for a product type matching the facts given: whether it needs a Digital Product Passport, from when, at which level, under which act and article, and the duties of each role. Also reads the catalogue-wide scope report and triggers a refresh run.\n\nHARD RULES — always apply to scope answers:\n- State what the law says for product types matching the given facts. Not legal advice; never write 'you must' — use product-type phrasing ('LMT batteries need a passport from 18 February 2027, Battery Regulation Art. 77(1)').\n- Cite the article given for every verdict and duty; a regulation without an article is not a citation. `not_covered` rests on no article: say our rules do not cover the product, name the nearest act given, never cite it as the basis.\n- A date with precision 'quarter', 'month' or 'year' is a plan, NEVER a deadline: write 'planned for Q2 2027 (planned, not law yet)', never 'from', 'by' or 'deadline'.\n- Relay `not_covered` and `needs_input` as results, never errors. `needs_input` = blocking questions remain — relay `ask[]` to the user before giving a verdict.\n- Items in an act's `planned` list are not law yet: label them 'Planned, not law yet' (`labelText`), with their `wording`.\n- `data.inScope`: yes = passport required; no = none required AND none planned (incl. ESPR-framework-only products, packaging): never say 'not yet' or 'yet'; pending = none today, a passport act is planned: name it from `planned[]`; depends = unanswered facts.\n- `ruleStatus: 'needs_recheck'`: the law behind the act changed and our rules are being re-checked (since `recheckSince`); say so.\n\nActions (pass via `action`; `{…}` is the `args` object); values, caps and response shapes: resource tracepass://reference/scope.\n- check — { category?, facts?, role?, placedOnMarket?, lifecycleEvent?, contains?, productId?, passportId?, locale? }. Every plan; counts against the scope-answer cap (~100/day), not the v1 budget (429 `scope_answer_cap`). Unknown `facts` keys: 400. Omit `role` for all roles' duties.\n- catalogue_report — { classification?, category?, act?, changed?, q?, cursor?, limit? (≤500) }. One row per product. Growth plan or above; 403 `plan_upgrade_required` below it — tell the user this needs a plan upgrade, do not retry.\n- catalogue_run — {}. Start a refresh run (also nightly); poll with catalogue_run_status. Growth plan. 409 run_in_progress; 429 run_cooldown.\n- catalogue_run_status — { runId }. Growth plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "q": {
                    "type": "string"
                  },
                  "act": {
                    "type": "string",
                    "description": "CELEX, e.g. 32023R1542."
                  },
                  "role": {
                    "type": "string",
                    "description": "manufacturer | importer | distributor | authorised_representative | fulfilment_service_provider."
                  },
                  "facts": {
                    "type": "object",
                    "description": "Namespaced fact keys, e.g. { 'battery.use': 'ev' }.",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "limit": {
                    "type": "number"
                  },
                  "runId": {
                    "type": "string"
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "locale": {
                    "type": "string"
                  },
                  "changed": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "string",
                    "description": "Product category (values: tracepass://reference/scope)."
                  },
                  "contains": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "facts": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "label": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "productId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Adds saved product facts."
                  },
                  "passportId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Adds saved passport facts."
                  },
                  "classification": {
                    "type": "string"
                  },
                  "lifecycleEvent": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "placedOnMarket": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "date"
                        ],
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "precision": {
                            "type": "string"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "{ date: YYYY[-MM[-DD]], precision?: day|month|year } or null."
                  }
                }
              },
              "action": {
                "enum": [
                  "check",
                  "catalogue_report",
                  "catalogue_run",
                  "catalogue_run_status"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "tracepass_passport_lifecycle",
          "title": "TracePass passport lifecycle (irreversible actions)",
          "description": "WARNING: Every action here changes what the public sees or is a legal act, some irreversible. `archive` permanently takes the passport off public view (its URL shows an archive notice; only an authority access grant still reads it). `record_registration` records the economic operator's registration in the production EU DPP Registry and locks the passport's operator and facility identifiers. `place_on_market` submits a registration to an EN 18222 registry API. The assistant MUST confirm with the user before each call. Use `suspend` (reversible — public QR shows 'suspended') as the safe alternative to archive when a change might need to be undone; a passport placed on the market cannot be suspended, because it must stay public.\n\nEU DPP REGISTRY: the operator registers a battery passport itself, on the Registry website under its own EU Login; TracePass never submits to the Registry and never verifies the outcome. The acceptance environment has no legal effect; only a production registration counts. Paid plan; a connected app (OAuth) must act for an admin or owner. Refusal codes: resource tracepass://reference/lifecycle.\n\nActions (pass via `action`; `{…}` is the `args` object). All are WRITEs (1 write each). A *_by_serial action takes { serial, gtin? } instead of `id` (on 409 ambiguous_serial pass `gtin`).\n- record_registration — { id, placedOnMarketAt? (YYYY-MM-DD), registrationId? }. Battery, published only. Records that the operator has registered this passport in the PRODUCTION EU DPP Registry, as the operator states it; TracePass does not check it. Confirm with the user first, and only after the operator has registered on the Registry website. Effects: marked placed on the market; operator and facility identifiers locked (409 operator_locked); webhook fires.\n- undo_registration — { id, environment: production|acceptance }. Undoes a mistaken record; production unlocks the operator identifiers (a delivered webhook is not recalled). Changes nothing in the Registry. Confirm with the user first.\n- place_on_market — { id }. Battery, published only. Submits to the EN 18222 registry API in the account's registry settings. NOT the way into the EU DPP Registry, which does not accept it: use prepare_registry_upi / prepare_registry_upload_file, then record_registration. A legal act for the economic operator — confirm with the user first. ASYNCHRONOUS: answers 202 \"placing\"; follow placeOnMarketStatus (placing → placed | rejected) by reading the passport. 409 codes include registry_host_not_allowed (the configured registry address is not allowed; check the URL) and registry_not_ready (run registry_readiness).\n- suspend, suspend_by_serial — { id }. Reversible — public QR shows 'suspended'. Refused with 409 passport_placed_on_market once the passport is placed on the market or its registration is under way.\n- archive, archive_by_serial — { id, reason? }. IRREVERSIBLE and destructive — confirm with the user first. Its URL then shows an archive notice (machine formats 404); only an authority grant still reads it. reason is REQUIRED for battery passports (400 reason_required): recycled, never_placed (never placed on the market or put into service) or duplicate_or_error; never_placed is refused (409 reason_contradicts_placement) once placed on the market.\n- archive_product — { id }. Archives a PRODUCT (not a passport). Reversible — soft-archives it from the catalogue. 409 while any non-archived passport references it; archive those first.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "gtin": {
                    "type": "string"
                  },
                  "reason": {
                    "enum": [
                      "recycled",
                      "never_placed",
                      "duplicate_or_error"
                    ],
                    "type": "string",
                    "description": "Required for battery passports."
                  },
                  "serial": {
                    "type": "string"
                  },
                  "environment": {
                    "enum": [
                      "production",
                      "acceptance"
                    ],
                    "type": "string"
                  },
                  "registrationId": {
                    "type": "string"
                  },
                  "placedOnMarketAt": {
                    "type": "string"
                  }
                }
              },
              "action": {
                "enum": [
                  "record_registration",
                  "undo_registration",
                  "place_on_market",
                  "suspend",
                  "suspend_by_serial",
                  "archive",
                  "archive_by_serial",
                  "archive_product"
                ],
                "type": "string",
                "description": "All actions require user confirmation. archive is IRREVERSIBLE (public URL becomes an archive notice); suspend is reversible."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "tracepass_access_grants",
          "title": "TracePass access grants",
          "description": "Share restricted passport data with a partner (repairer, recycler, purchaser...) through an access grant, and see or end the grants already issued. A grant names a role, a scope (company, chosen products or chosen passports), a purpose, optional evidence and an expiry (default 12 months). Needs an OAuth connection approved for access grants or an API key with \"May manage access grants\" switched on (403 access_grants_not_enabled); writing needs an admin. Authority roles (e.g. market surveillance) are dashboard-only end to end: create, update and revoke of such a grant are refused (400 role_dashboard_only).\n\nIMPORTANT: `create` returns the secret pa_ token ONCE. Hand it to the recipient and do not repeat it, store it or put it in a log. It cannot be shown again; if lost, revoke the grant and create a new one. A confirmed grant gives a third party access to restricted data: confirm the recipient, role, scope and purpose with the user first.\n\nActions (pass via `action`; `{…}` is the `args` object). Reads never return a token.\n- list — { limit? (≤100), cursor?, role?, status? (active|expired|revoked), passportId?, productId? }.\n- get — { id }.\n- create — { role, label, purpose?, scope? ({ kind: company } with no ids, or { kind: products|passports, ids[] } with at least one id), evidence? ({ type: register_entry|invoice|authority_letter|contract|other, reference, note? }), expiresInDays? (1-1825; null = no expiry) }. WRITE.\n- update — { id, label?, purpose?, scope?, evidence?, expiresInDays? }; at least one. WRITE.\n- revoke — { id }. WRITE, ends the grant at once; repeating it is safe.\n- activity — { id, limit? (≤100), cursor? }. The grant's access log.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "action"
            ],
            "properties": {
              "args": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "number"
                  },
                  "scope": {
                    "type": "object",
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "kind": {
                        "type": "string"
                      }
                    }
                  },
                  "cursor": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "purpose": {
                    "type": "string"
                  },
                  "evidence": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "productId": {
                    "type": "string"
                  },
                  "passportId": {
                    "type": "string"
                  },
                  "expiresInDays": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              },
              "action": {
                "enum": [
                  "list",
                  "get",
                  "create",
                  "update",
                  "revoke",
                  "activity"
                ],
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string"
              },
              "page": {
                "type": "number"
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "items": {
                "type": "array",
                "items": {}
              },
              "limit": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "result": {},
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "totalPages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "products",
          "uri": "tracepass://products",
          "mimeType": "application/json",
          "description": "The account's TracePass product catalogue (first page). Attach this for an overview of what products exist."
        },
        {
          "name": "templates",
          "uri": "tracepass://templates",
          "mimeType": "application/json",
          "description": "All 13 DPP category schemas with field count, required-field count, and governing regulation. Attach this to ground the model in what each category's compliance requirements are."
        },
        {
          "name": "reference-passports",
          "uri": "tracepass://reference/passports",
          "mimeType": "text/markdown",
          "description": "Identifier scheme shapes, EU DPP Registry action detail and refusal codes, lineage, snapshots, condition flags and measurements for tracepass_passports."
        },
        {
          "name": "reference-lifecycle",
          "uri": "tracepass://reference/lifecycle",
          "mimeType": "text/markdown",
          "description": "Effects, refusal codes and the EU DPP Registry model for record_registration, undo_registration, place_on_market and archive."
        },
        {
          "name": "reference-scope",
          "uri": "tracepass://reference/scope",
          "mimeType": "text/markdown",
          "description": "Argument values, caps, plan gates and response shapes for the scope check and catalogue actions."
        },
        {
          "name": "reference-templates",
          "uri": "tracepass://reference/templates",
          "mimeType": "text/markdown",
          "description": "Battery required-ness rules: scope first, then requiredBy, conditional fields, use data."
        },
        {
          "name": "reference-parties",
          "uri": "tracepass://reference/parties",
          "mimeType": "text/markdown",
          "description": "Operator and facility identifier schemes and the identifier rules for parties."
        }
      ],
      "prompts": [
        {
          "name": "audit_passport",
          "description": "Review one Digital Product Passport for completeness and compliance readiness — which required fields are missing, which economic-operator parties are unset, whether it's publishable.",
          "arguments": [
            {
              "name": "passportId",
              "required": true,
              "description": "The TracePass id of the passport to audit."
            }
          ]
        },
        {
          "name": "onboard_product",
          "description": "Walk through creating a new product and its first Digital Product Passport — gathering the details, then creating both.",
          "arguments": [
            {
              "name": "productName",
              "required": true,
              "description": "The product's name."
            },
            {
              "name": "category",
              "required": true,
              "description": "Category key — battery, textile, electronics, construction, steel, detergents, paints-coatings, packaging, furniture, tyres, jewelry, toys, or fmcg."
            }
          ]
        },
        {
          "name": "explain_dpp_requirements",
          "description": "Explain what a Digital Product Passport in a given category must contain to be compliant — the required fields and the EU regulation behind them — before you create anything.",
          "arguments": [
            {
              "name": "category",
              "required": true,
              "description": "Category key — battery, textile, electronics, construction, steel, detergents, paints-coatings, packaging, furniture, tyres, jewelry, toys, or fmcg."
            }
          ]
        },
        {
          "name": "compliance_gap_check",
          "description": "Cross-check a draft passport against its category's regulatory schema and produce an exact, prioritised list of what's missing before it can be published compliantly.",
          "arguments": [
            {
              "name": "passportId",
              "required": true,
              "description": "The TracePass id of the passport to gap-check."
            }
          ]
        },
        {
          "name": "register_battery_passport",
          "description": "Walk the economic operator through registering a published battery passport in the EU DPP Registry: check readiness, prepare the address (or an upload file) the operator submits on the Registry website, then record the result the operator reports. TracePass never submits and never verifies.",
          "arguments": [
            {
              "name": "passportId",
              "required": true,
              "description": "The TracePass id of the published battery passport to register."
            }
          ]
        },
        {
          "name": "review_epcis_events",
          "description": "Inspect the EPCIS 2.0 supply-chain event history of a passport and summarise the product's traceability story.",
          "arguments": [
            {
              "name": "passportId",
              "required": true,
              "description": "The TracePass id of the passport whose events to review."
            }
          ]
        }
      ]
    },
    "instructions": "Tools for the TracePass Digital Product Passport platform. Reads are free. Creating a passport makes an unbilled draft: a plan slot, and any overage past the cap, is taken only when it is published in TracePass. Writes count against the daily API budget, so never create passports in bulk without the user's explicit consent. Irreversible actions (archive, suspend, record_registration, place_on_market) are in tracepass_passport_lifecycle — always confirm with the user before calling them; prefer suspend when a change might need undoing. EU DPP Registry: the economic operator registers a battery passport itself, on the Registry website. TracePass prepares what it submits (tracepass_passports prepare_registry_upi / prepare_registry_upload_file) and records what it reports (record_registration for production; record_acceptance_test for the acceptance environment, which has no legal effect). TracePass never submits to the Registry and never verifies the outcome. Restricted and authority passport data is read through access grants the owner issues; tracepass_access_grants manages them (authority roles are dashboard-only). A GTIN-only address (no serial) answers a public model page of the product, not a unit's passport."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}