{
  "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": "medicaments-france.a3e.dev",
    "site": "a3e.dev",
    "addresses": [
      {
        "address": "104.21.47.48",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "172.67.144.119",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3037::6815:2f30",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3037::ac43:9077",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.47.48",
          "172.67.144.119",
          "2606:4700:3037::6815:2f30",
          "2606:4700:3037::ac43:9077"
        ],
        "first_seen": "2026-11-23T19:18:00.701Z",
        "last_seen": "2026-11-23T19:18:00.701Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.144.119",
          "104.21.47.48",
          "2606:4700:3037::ac43:9077",
          "2606:4700:3037::6815:2f30"
        ],
        "first_seen": "2026-11-22T19:17:02.218Z",
        "last_seen": "2026-11-22T19:17:02.218Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.21.47.48",
          "172.67.144.119",
          "2606:4700:3037::ac43:9077",
          "2606:4700:3037::6815:2f30"
        ],
        "first_seen": "2026-11-21T14:49:02.120Z",
        "last_seen": "2026-11-21T14:49:02.120Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "medicaments-france",
      "version": "1.14.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.amine7536",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/amine7536/mcp-medicaments-france",
      "total": 0,
      "sample": []
    },
    "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": "27461",
    "server_name": "io.github.amine7536/medicaments-france",
    "url": "https://medicaments-france.a3e.dev/mcp",
    "host": "medicaments-france.a3e.dev",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T19:18:00.701Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "48bd35b37e6ecfb6fc99fa562f063ef26e7a214fa80f03c0f5722bc5e90f8308",
    "first_listed_at": "2026-11-21T14:49:02.120Z",
    "created_at": "2026-11-21T09:10:09.008Z",
    "resolved_addresses": [
      "104.21.47.48",
      "172.67.144.119",
      "2606:4700:3037::6815:2f30",
      "2606:4700:3037::ac43:9077"
    ]
  },
  "server": {
    "name": "io.github.amine7536/medicaments-france",
    "title": "Médicaments en France",
    "description": "French medicines (ANSM + BDPM): boxes and prices, prescription conditions, safety info, shortages.",
    "version": "1.14.0",
    "registry_status": "active",
    "repository_url": "https://github.com/amine7536/mcp-medicaments-france",
    "website_url": "https://medicaments-france.a3e.dev/",
    "published_at": "2026-11-12T13:42:29.028Z",
    "updated_at": "2026-11-12T13:42:29.028Z",
    "first_seen": "2026-11-21T09:10:08.463Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:42:10.637Z"
  },
  "operator": {
    "key": "a3e.dev",
    "name": "a3e.dev",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 744,
    "first_check_in_window": "2026-11-21T14:49:02.120Z",
    "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": "48bd35b37e6ecfb6fc99fa562f063ef26e7a214fa80f03c0f5722bc5e90f8308",
    "tools": 6,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T14:49:02.408Z",
    "tool_names": [
      "search_medicine",
      "get_availability",
      "list_current_shortages",
      "recent_changes",
      "is_major_therapeutic_interest",
      "get_medicine_info"
    ],
    "declared": {
      "tools": [
        {
          "name": "search_medicine",
          "title": "Search medicines",
          "description": "Search French medicines (BDPM) by name or active substance and show the ANSM shortage linked to each, plus listed shortages not linked to any medicine that match the query. Medicines in rupture or tension come first, then exact brand matches, brand prefixes and active-substance matches; a misspelled name returns the closest names and a spelling suggestion. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 25,
                "minimum": 1
              },
              "query": {
                "type": "string",
                "maxLength": 100,
                "minLength": 2,
                "description": "Medicine name (brand) or active substance, e.g. \"doliprane\" or \"amoxicilline\"."
              },
              "only_in_shortage": {
                "type": "boolean",
                "default": false,
                "description": "Keep only medicines whose current shortage status is rupture or tension."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "data",
              "source",
              "coverage_note",
              "disclaimer",
              "safety"
            ],
            "properties": {
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "results",
                      "unmatched_shortages",
                      "total",
                      "capped",
                      "fuzzy",
                      "did_you_mean"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "results"
                      },
                      "fuzzy": {
                        "type": "boolean"
                      },
                      "total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "capped": {
                        "type": "boolean"
                      },
                      "results": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "cis",
                            "name",
                            "form",
                            "substances",
                            "is_mitm",
                            "shortage"
                          ],
                          "properties": {
                            "cis": {
                              "type": "string",
                              "pattern": "^\\d{8}$"
                            },
                            "form": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "holder": {
                              "type": "string"
                            },
                            "is_mitm": {
                              "type": "boolean"
                            },
                            "shortage": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "shortage_id",
                                    "name",
                                    "dci",
                                    "status",
                                    "status_label_fr",
                                    "scope",
                                    "scope_raw",
                                    "expected_return",
                                    "returned_at",
                                    "ansm_updated_at",
                                    "ansm_url",
                                    "match_confidence"
                                  ],
                                  "properties": {
                                    "dci": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "scope": {
                                      "enum": [
                                        "ville",
                                        "hopital",
                                        "ville_hopital",
                                        "inconnu"
                                      ],
                                      "type": "string"
                                    },
                                    "status": {
                                      "enum": [
                                        "rupture",
                                        "tension",
                                        "arret_commercialisation",
                                        "remise_a_disposition",
                                        "autre"
                                      ],
                                      "type": "string"
                                    },
                                    "ansm_url": {
                                      "type": "string",
                                      "format": "uri"
                                    },
                                    "scope_raw": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "match_note": {
                                      "type": "string",
                                      "const": "probable match"
                                    },
                                    "returned_at": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "date",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "shortage_id": {
                                      "type": "string"
                                    },
                                    "ansm_updated_at": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "format": "date",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "expected_return": {
                                      "type": "object",
                                      "required": [
                                        "earliest",
                                        "latest",
                                        "precision",
                                        "part",
                                        "raw",
                                        "passed"
                                      ],
                                      "properties": {
                                        "raw": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "part": {
                                          "anyOf": [
                                            {
                                              "enum": [
                                                "debut",
                                                "mi",
                                                "fin"
                                              ],
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "latest": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "format": "date",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "earliest": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "format": "date",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "precision": {
                                          "anyOf": [
                                            {
                                              "enum": [
                                                "day",
                                                "month",
                                                "quarter",
                                                "year",
                                                "season"
                                              ],
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "likely_overdue": {
                                          "type": "boolean",
                                          "const": true
                                        }
                                      },
                                      "additionalProperties": {}
                                    },
                                    "status_label_fr": {
                                      "type": "string"
                                    },
                                    "match_confidence": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "additionalProperties": {}
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "substances": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "name",
                                  "dosage"
                                ],
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "dosage": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "reference": {
                                    "type": "string"
                                  },
                                  "therapeutic_fractions": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "required": [
                                        "name",
                                        "dosage"
                                      ],
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "dosage": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "reference": {
                                          "type": "string"
                                        }
                                      },
                                      "additionalProperties": {}
                                    }
                                  }
                                },
                                "additionalProperties": {}
                              }
                            },
                            "shortage_note": {
                              "type": "string",
                              "const": "No shortage linked to this medicine. Not listed does not mean available."
                            },
                            "marketing_status": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "did_you_mean": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "invalid_cip13": {
                        "type": "boolean",
                        "const": true
                      },
                      "unmatched_shortages": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "shortage_id",
                            "name",
                            "dci",
                            "status",
                            "status_label_fr",
                            "scope",
                            "scope_raw",
                            "expected_return",
                            "returned_at",
                            "ansm_updated_at",
                            "ansm_url",
                            "match_confidence"
                          ],
                          "properties": {
                            "dci": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "scope": {
                              "enum": [
                                "ville",
                                "hopital",
                                "ville_hopital",
                                "inconnu"
                              ],
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "rupture",
                                "tension",
                                "arret_commercialisation",
                                "remise_a_disposition",
                                "autre"
                              ],
                              "type": "string"
                            },
                            "ansm_url": {
                              "type": "string",
                              "format": "uri"
                            },
                            "scope_raw": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "match_note": {
                              "type": "string",
                              "const": "probable match"
                            },
                            "returned_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "shortage_id": {
                              "type": "string"
                            },
                            "ansm_updated_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "expected_return": {
                              "type": "object",
                              "required": [
                                "earliest",
                                "latest",
                                "precision",
                                "part",
                                "raw",
                                "passed"
                              ],
                              "properties": {
                                "raw": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "part": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "debut",
                                        "mi",
                                        "fin"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "latest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "passed": {
                                  "type": "boolean"
                                },
                                "earliest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "precision": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "day",
                                        "month",
                                        "quarter",
                                        "year",
                                        "season"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "likely_overdue": {
                                  "type": "boolean",
                                  "const": true
                                }
                              },
                              "additionalProperties": {}
                            },
                            "status_label_fr": {
                              "type": "string"
                            },
                            "match_confidence": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  }
                ]
              },
              "safety": {
                "type": "string",
                "const": "Do not use this data to suggest a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in these results are not alternatives. Refer the user to a pharmacist or doctor."
              },
              "source": {
                "type": "object",
                "required": [
                  "ansm",
                  "bdpm",
                  "ansm_last_ingest",
                  "bdpm_release",
                  "bdpm_imported_at"
                ],
                "properties": {
                  "ansm": {
                    "type": "string",
                    "const": "https://ansm.sante.fr/disponibilites-des-produits-de-sante/medicaments"
                  },
                  "bdpm": {
                    "type": "string",
                    "const": "https://base-donnees-publique.medicaments.gouv.fr"
                  },
                  "bdpm_release": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ansm_last_ingest": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bdpm_imported_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "warning": {
                "type": "string"
              },
              "disclaimer": {
                "type": "string",
                "const": "Information only. Ask your pharmacist or doctor. No substitution or dosage advice."
              },
              "coverage_note": {
                "type": "string",
                "const": "ANSM lists mainly shortages of medicines of major therapeutic interest declared by manufacturers. Shortages already compensated by alternatives are not published. Not listed does not mean available."
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_availability",
          "title": "Get availability",
          "description": "Current ANSM shortage status of one medicine, given exactly one of: its CIS code, an ANSM shortage id or a name. Returns the status, the expected return in ANSM's wording, the change history and possibly related entries. A name matching several medicines that share the same listed entry (or none) gets one answer for all of them; otherwise ranked candidates with their total, holder, marketing, shortage and MITM status and ATC code; a misspelled name gets a spelling suggestion. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cis": {
                "type": "string",
                "pattern": "^\\d{8}$",
                "description": "8-digit BDPM medicine code (CIS)."
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 2,
                "description": "Medicine name; resolved to one CIS or a list of candidates."
              },
              "shortage_id": {
                "type": "string",
                "pattern": "^\\d{1,6}$",
                "description": "ANSM shortage id: the numeric id of an ANSM shortage entry."
              }
            }
          },
          "outputSchema": {
            "truncated": true,
            "chars": 20324
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_current_shortages",
          "title": "List current shortages",
          "description": "List medicine shortages currently published by ANSM, latest update first, filtered by status, scope, therapeutic area and update date, with the CIS codes of the matched medicines. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 50,
                "minimum": 1
              },
              "scope": {
                "enum": [
                  "ville",
                  "hopital",
                  "ville_hopital",
                  "inconnu"
                ],
                "type": "string",
                "description": "ville (city pharmacies), hopital (hospitals), ville_hopital or inconnu."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 10000,
                "minimum": 0
              },
              "status": {
                "type": "array",
                "items": {
                  "enum": [
                    "rupture",
                    "tension",
                    "arret_commercialisation",
                    "remise_a_disposition",
                    "autre"
                  ],
                  "type": "string"
                },
                "default": [
                  "rupture",
                  "tension"
                ]
              },
              "updated_since": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "description": "Only entries updated by ANSM on or after this date (YYYY-MM-DD)."
              },
              "therapeutic_area": {
                "type": "string",
                "maxLength": 60,
                "minLength": 2,
                "description": "Therapeutic area as written by ANSM, e.g. \"cardiologie\"."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "data",
              "source",
              "coverage_note",
              "disclaimer",
              "safety"
            ],
            "properties": {
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "total",
                      "items",
                      "next_offset"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "list"
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "shortage_id",
                            "name",
                            "dci",
                            "status",
                            "status_label_fr",
                            "scope",
                            "scope_raw",
                            "expected_return",
                            "returned_at",
                            "ansm_updated_at",
                            "ansm_url",
                            "match_confidence",
                            "cis"
                          ],
                          "properties": {
                            "cis": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^\\d{8}$"
                              }
                            },
                            "dci": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "scope": {
                              "enum": [
                                "ville",
                                "hopital",
                                "ville_hopital",
                                "inconnu"
                              ],
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "rupture",
                                "tension",
                                "arret_commercialisation",
                                "remise_a_disposition",
                                "autre"
                              ],
                              "type": "string"
                            },
                            "ansm_url": {
                              "type": "string",
                              "format": "uri"
                            },
                            "scope_raw": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "match_note": {
                              "type": "string",
                              "const": "probable match"
                            },
                            "returned_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "shortage_id": {
                              "type": "string"
                            },
                            "ansm_updated_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "expected_return": {
                              "type": "object",
                              "required": [
                                "earliest",
                                "latest",
                                "precision",
                                "part",
                                "raw",
                                "passed"
                              ],
                              "properties": {
                                "raw": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "part": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "debut",
                                        "mi",
                                        "fin"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "latest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "passed": {
                                  "type": "boolean"
                                },
                                "earliest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "precision": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "day",
                                        "month",
                                        "quarter",
                                        "year",
                                        "season"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "likely_overdue": {
                                  "type": "boolean",
                                  "const": true
                                }
                              },
                              "additionalProperties": {}
                            },
                            "status_label_fr": {
                              "type": "string"
                            },
                            "match_confidence": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "next_offset": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "available_areas": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": {}
                  }
                ]
              },
              "safety": {
                "type": "string",
                "const": "Do not use this data to suggest a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in these results are not alternatives. Refer the user to a pharmacist or doctor."
              },
              "source": {
                "type": "object",
                "required": [
                  "ansm",
                  "bdpm",
                  "ansm_last_ingest",
                  "bdpm_release",
                  "bdpm_imported_at"
                ],
                "properties": {
                  "ansm": {
                    "type": "string",
                    "const": "https://ansm.sante.fr/disponibilites-des-produits-de-sante/medicaments"
                  },
                  "bdpm": {
                    "type": "string",
                    "const": "https://base-donnees-publique.medicaments.gouv.fr"
                  },
                  "bdpm_release": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ansm_last_ingest": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bdpm_imported_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "warning": {
                "type": "string"
              },
              "disclaimer": {
                "type": "string",
                "const": "Information only. Ask your pharmacist or doctor. No substitution or dosage advice."
              },
              "coverage_note": {
                "type": "string",
                "const": "ANSM lists mainly shortages of medicines of major therapeutic interest declared by manufacturers. Shortages already compensated by alternatives are not published. Not listed does not mean available."
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recent_changes",
          "title": "Recent changes",
          "description": "Shortage changes detected in the last days (new entries, status changes, expected-return changes, delisted and relisted entries), latest first, with counts per change type. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "days": {
                "type": "integer",
                "default": 7,
                "maximum": 90,
                "minimum": 1
              },
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 50,
                "minimum": 1
              },
              "change_types": {
                "type": "array",
                "items": {
                  "enum": [
                    "new",
                    "status_change",
                    "return_date_change",
                    "delisted",
                    "relisted"
                  ],
                  "type": "string"
                },
                "default": [
                  "new",
                  "status_change",
                  "return_date_change",
                  "delisted",
                  "relisted"
                ],
                "minItems": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "data",
              "source",
              "coverage_note",
              "disclaimer",
              "safety"
            ],
            "properties": {
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "since",
                      "counts",
                      "tracking_since",
                      "items",
                      "note"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "changes"
                      },
                      "note": {
                        "type": "string",
                        "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates."
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "date",
                            "change",
                            "shortage_id",
                            "name",
                            "ansm_url",
                            "old_status",
                            "new_status",
                            "old_expected_return",
                            "new_expected_return"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "change": {
                              "enum": [
                                "new",
                                "status_change",
                                "return_date_change",
                                "delisted",
                                "relisted"
                              ],
                              "type": "string"
                            },
                            "ansm_url": {
                              "type": "string",
                              "format": "uri"
                            },
                            "new_status": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "rupture",
                                    "tension",
                                    "arret_commercialisation",
                                    "remise_a_disposition",
                                    "autre"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "old_status": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "rupture",
                                    "tension",
                                    "arret_commercialisation",
                                    "remise_a_disposition",
                                    "autre"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "shortage_id": {
                              "type": "string"
                            },
                            "new_expected_return": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "old_expected_return": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "since": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      "counts": {
                        "type": "object",
                        "propertyNames": {
                          "enum": [
                            "new",
                            "status_change",
                            "return_date_change",
                            "delisted",
                            "relisted"
                          ],
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        }
                      },
                      "tracking_since": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": {}
                  }
                ]
              },
              "safety": {
                "type": "string",
                "const": "Do not use this data to suggest a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in these results are not alternatives. Refer the user to a pharmacist or doctor."
              },
              "source": {
                "type": "object",
                "required": [
                  "ansm",
                  "bdpm",
                  "ansm_last_ingest",
                  "bdpm_release",
                  "bdpm_imported_at"
                ],
                "properties": {
                  "ansm": {
                    "type": "string",
                    "const": "https://ansm.sante.fr/disponibilites-des-produits-de-sante/medicaments"
                  },
                  "bdpm": {
                    "type": "string",
                    "const": "https://base-donnees-publique.medicaments.gouv.fr"
                  },
                  "bdpm_release": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ansm_last_ingest": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bdpm_imported_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "warning": {
                "type": "string"
              },
              "disclaimer": {
                "type": "string",
                "const": "Information only. Ask your pharmacist or doctor. No substitution or dosage advice."
              },
              "coverage_note": {
                "type": "string",
                "const": "ANSM lists mainly shortages of medicines of major therapeutic interest declared by manufacturers. Shortages already compensated by alternatives are not published. Not listed does not mean available."
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "is_major_therapeutic_interest",
          "title": "Is major therapeutic interest",
          "description": "Whether a medicine, given exactly one of its CIS code or its name, is on the BDPM list of medicines of major therapeutic interest (MITM), with its ATC code. A name whose matches all have the same MITM status and ATC code gets one answer for all of them; otherwise ranked candidates with their total, holder, marketing, shortage and MITM status and ATC code; a misspelled name gets a spelling suggestion. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cis": {
                "type": "string",
                "pattern": "^\\d{8}$",
                "description": "8-digit BDPM medicine code (CIS)."
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 2,
                "description": "Medicine name; resolved to one CIS or a list of candidates."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "data",
              "source",
              "coverage_note",
              "disclaimer",
              "safety"
            ],
            "properties": {
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "cis",
                      "name",
                      "is_mitm",
                      "atc_code",
                      "source"
                    ],
                    "properties": {
                      "cis": {
                        "type": "string",
                        "pattern": "^\\d{8}$"
                      },
                      "kind": {
                        "type": "string",
                        "const": "mitm"
                      },
                      "name": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      },
                      "is_mitm": {
                        "type": "boolean"
                      },
                      "atc_code": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "query",
                      "total",
                      "is_mitm",
                      "atc_code",
                      "medicines",
                      "source"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "aggregated"
                      },
                      "query": {
                        "type": "string"
                      },
                      "total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "source": {
                        "type": "string"
                      },
                      "is_mitm": {
                        "type": "boolean"
                      },
                      "atc_code": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "medicines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "cis",
                            "name"
                          ],
                          "properties": {
                            "cis": {
                              "type": "string",
                              "pattern": "^\\d{8}$"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "total",
                      "capped",
                      "candidates"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "candidates"
                      },
                      "total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "capped": {
                        "type": "boolean"
                      },
                      "atc_codes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "candidates": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "cis",
                            "name",
                            "holder",
                            "marketing_status",
                            "shortage_status",
                            "is_mitm",
                            "atc_code"
                          ],
                          "properties": {
                            "cis": {
                              "type": "string",
                              "pattern": "^\\d{8}$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "holder": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "is_mitm": {
                              "type": "boolean"
                            },
                            "atc_code": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "best_match": {
                              "type": "boolean",
                              "const": true
                            },
                            "shortage_status": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "rupture",
                                    "tension",
                                    "arret_commercialisation",
                                    "remise_a_disposition",
                                    "autre"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "marketing_status": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "mitm_total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "best_match_total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 1
                      },
                      "in_shortage_total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "possibly_related_shortages",
                      "did_you_mean"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "not_found"
                      },
                      "did_you_mean": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "possibly_related_shortages": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "shortage_id",
                            "name",
                            "dci",
                            "status",
                            "status_label_fr",
                            "scope",
                            "scope_raw",
                            "expected_return",
                            "returned_at",
                            "ansm_updated_at",
                            "ansm_url",
                            "match_confidence"
                          ],
                          "properties": {
                            "dci": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "scope": {
                              "enum": [
                                "ville",
                                "hopital",
                                "ville_hopital",
                                "inconnu"
                              ],
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "rupture",
                                "tension",
                                "arret_commercialisation",
                                "remise_a_disposition",
                                "autre"
                              ],
                              "type": "string"
                            },
                            "ansm_url": {
                              "type": "string",
                              "format": "uri"
                            },
                            "scope_raw": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "match_note": {
                              "type": "string",
                              "const": "probable match"
                            },
                            "returned_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "shortage_id": {
                              "type": "string"
                            },
                            "ansm_updated_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "expected_return": {
                              "type": "object",
                              "required": [
                                "earliest",
                                "latest",
                                "precision",
                                "part",
                                "raw",
                                "passed"
                              ],
                              "properties": {
                                "raw": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "part": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "debut",
                                        "mi",
                                        "fin"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "latest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "passed": {
                                  "type": "boolean"
                                },
                                "earliest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "precision": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "day",
                                        "month",
                                        "quarter",
                                        "year",
                                        "season"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "likely_overdue": {
                                  "type": "boolean",
                                  "const": true
                                }
                              },
                              "additionalProperties": {}
                            },
                            "status_label_fr": {
                              "type": "string"
                            },
                            "match_confidence": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  }
                ]
              },
              "safety": {
                "type": "string",
                "const": "Do not use this data to suggest a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in these results are not alternatives. Refer the user to a pharmacist or doctor."
              },
              "source": {
                "type": "object",
                "required": [
                  "ansm",
                  "bdpm",
                  "ansm_last_ingest",
                  "bdpm_release",
                  "bdpm_imported_at"
                ],
                "properties": {
                  "ansm": {
                    "type": "string",
                    "const": "https://ansm.sante.fr/disponibilites-des-produits-de-sante/medicaments"
                  },
                  "bdpm": {
                    "type": "string",
                    "const": "https://base-donnees-publique.medicaments.gouv.fr"
                  },
                  "bdpm_release": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ansm_last_ingest": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bdpm_imported_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "warning": {
                "type": "string"
              },
              "disclaimer": {
                "type": "string",
                "const": "Information only. Ask your pharmacist or doctor. No substitution or dosage advice."
              },
              "coverage_note": {
                "type": "string",
                "const": "ANSM lists mainly shortages of medicines of major therapeutic interest declared by manufacturers. Shortages already compensated by alternatives are not published. Not listed does not mean available."
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_medicine_info",
          "title": "Get medicine info",
          "description": "Boxes of a medicine in the French public medicines database (BDPM), its prescription and dispensing conditions, its current ANSM safety information and its current ANSM shortage status, given exactly one of its CIS code, a CIP13 barcode or its name. Each box has its CIP13, marketing status, price and reimbursement rate. A name returns one medicine, ranked candidates with their total, holder, marketing, shortage and MITM status and ATC code, or a spelling suggestion when it is misspelled. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cis": {
                "type": "string",
                "pattern": "^\\d{8}$",
                "description": "8-digit BDPM medicine code (CIS)."
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 2,
                "description": "Medicine name; resolved to one CIS or a list of candidates."
              },
              "cip13": {
                "type": "string",
                "pattern": "^\\d{13}$",
                "description": "13-digit CIP13 code of a box (presentation), as printed on its barcode."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "data",
              "source",
              "coverage_note",
              "disclaimer",
              "safety"
            ],
            "properties": {
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "medicine",
                      "presentations",
                      "prescription_conditions",
                      "safety_information",
                      "ansm_shortage",
                      "status_conflict"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "info"
                      },
                      "medicine": {
                        "type": "object",
                        "required": [
                          "cis",
                          "name",
                          "form",
                          "routes",
                          "holder",
                          "marketing_status",
                          "is_mitm"
                        ],
                        "properties": {
                          "cis": {
                            "type": "string",
                            "pattern": "^\\d{8}$"
                          },
                          "form": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "holder": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "routes": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "is_mitm": {
                            "type": "boolean"
                          },
                          "amm_status": {
                            "type": "string"
                          },
                          "substances": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "name",
                                "dosage"
                              ],
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "dosage": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "reference": {
                                  "type": "string"
                                },
                                "therapeutic_fractions": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "name",
                                      "dosage"
                                    ],
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "dosage": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "reference": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": {}
                                  }
                                }
                              },
                              "additionalProperties": {}
                            }
                          },
                          "marketing_status": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": {}
                      },
                      "has_opinions": {
                        "type": "object",
                        "required": [
                          "smr",
                          "asmr"
                        ],
                        "properties": {
                          "smr": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "date",
                                "dossier",
                                "motif",
                                "value"
                              ],
                              "properties": {
                                "date": {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                "motif": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "ct_url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "dossier": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": {}
                            }
                          },
                          "asmr": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "date",
                                "dossier",
                                "motif",
                                "value"
                              ],
                              "properties": {
                                "date": {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                "motif": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "ct_url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "dossier": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": {}
                            }
                          }
                        },
                        "additionalProperties": {}
                      },
                      "ansm_shortage": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "shortage_id",
                              "name",
                              "dci",
                              "status",
                              "status_label_fr",
                              "scope",
                              "scope_raw",
                              "expected_return",
                              "returned_at",
                              "ansm_updated_at",
                              "ansm_url",
                              "match_confidence"
                            ],
                            "properties": {
                              "dci": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "name": {
                                "type": "string"
                              },
                              "scope": {
                                "enum": [
                                  "ville",
                                  "hopital",
                                  "ville_hopital",
                                  "inconnu"
                                ],
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "rupture",
                                  "tension",
                                  "arret_commercialisation",
                                  "remise_a_disposition",
                                  "autre"
                                ],
                                "type": "string"
                              },
                              "ansm_url": {
                                "type": "string",
                                "format": "uri"
                              },
                              "scope_raw": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "match_note": {
                                "type": "string",
                                "const": "probable match"
                              },
                              "returned_at": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "date",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "shortage_id": {
                                "type": "string"
                              },
                              "ansm_updated_at": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "format": "date",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "expected_return": {
                                "type": "object",
                                "required": [
                                  "earliest",
                                  "latest",
                                  "precision",
                                  "part",
                                  "raw",
                                  "passed"
                                ],
                                "properties": {
                                  "raw": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "part": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "debut",
                                          "mi",
                                          "fin"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "latest": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "date",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "earliest": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "date",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "precision": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "day",
                                          "month",
                                          "quarter",
                                          "year",
                                          "season"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "likely_overdue": {
                                    "type": "boolean",
                                    "const": true
                                  }
                                },
                                "additionalProperties": {}
                              },
                              "status_label_fr": {
                                "type": "string"
                              },
                              "match_confidence": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "presentations": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "cip13",
                            "cip7",
                            "label",
                            "admin_status",
                            "marketing_status",
                            "declared_at",
                            "hospital_approval",
                            "reimbursement_rates",
                            "price_eur",
                            "public_price_eur",
                            "dispensing_fee_eur",
                            "reimbursement_indications"
                          ],
                          "properties": {
                            "cip7": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "cip13": {
                              "type": "string",
                              "pattern": "^\\d{13}$"
                            },
                            "label": {
                              "type": "string"
                            },
                            "price_eur": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "declared_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "admin_status": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "marketing_status": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "public_price_eur": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "hospital_approval": {
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "dispensing_fee_eur": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "reimbursement_rates": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 9007199254740991,
                                "minimum": 0
                              }
                            },
                            "reimbursement_indications": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "status_conflict": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "safety_information": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title",
                            "url",
                            "starts_on",
                            "ends_on"
                          ],
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            },
                            "title": {
                              "type": "string"
                            },
                            "ends_on": {
                              "type": "string",
                              "format": "date",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                            },
                            "starts_on": {
                              "type": "string",
                              "format": "date",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "prescription_conditions": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "total",
                      "capped",
                      "candidates"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "candidates"
                      },
                      "total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      "capped": {
                        "type": "boolean"
                      },
                      "candidates": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "cis",
                            "name",
                            "holder",
                            "marketing_status",
                            "shortage_status",
                            "is_mitm",
                            "atc_code"
                          ],
                          "properties": {
                            "cis": {
                              "type": "string",
                              "pattern": "^\\d{8}$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "holder": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "is_mitm": {
                              "type": "boolean"
                            },
                            "atc_code": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "best_match": {
                              "type": "boolean",
                              "const": true
                            },
                            "shortage_status": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "rupture",
                                    "tension",
                                    "arret_commercialisation",
                                    "remise_a_disposition",
                                    "autre"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "marketing_status": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      },
                      "best_match_total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 1
                      },
                      "in_shortage_total": {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 1
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "object",
                    "required": [
                      "kind",
                      "possibly_related_shortages",
                      "did_you_mean"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "not_found"
                      },
                      "did_you_mean": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "possibly_related_shortages": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "shortage_id",
                            "name",
                            "dci",
                            "status",
                            "status_label_fr",
                            "scope",
                            "scope_raw",
                            "expected_return",
                            "returned_at",
                            "ansm_updated_at",
                            "ansm_url",
                            "match_confidence"
                          ],
                          "properties": {
                            "dci": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "scope": {
                              "enum": [
                                "ville",
                                "hopital",
                                "ville_hopital",
                                "inconnu"
                              ],
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "rupture",
                                "tension",
                                "arret_commercialisation",
                                "remise_a_disposition",
                                "autre"
                              ],
                              "type": "string"
                            },
                            "ansm_url": {
                              "type": "string",
                              "format": "uri"
                            },
                            "scope_raw": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "match_note": {
                              "type": "string",
                              "const": "probable match"
                            },
                            "returned_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "shortage_id": {
                              "type": "string"
                            },
                            "ansm_updated_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "expected_return": {
                              "type": "object",
                              "required": [
                                "earliest",
                                "latest",
                                "precision",
                                "part",
                                "raw",
                                "passed"
                              ],
                              "properties": {
                                "raw": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "part": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "debut",
                                        "mi",
                                        "fin"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "latest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "passed": {
                                  "type": "boolean"
                                },
                                "earliest": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "precision": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "day",
                                        "month",
                                        "quarter",
                                        "year",
                                        "season"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "likely_overdue": {
                                  "type": "boolean",
                                  "const": true
                                }
                              },
                              "additionalProperties": {}
                            },
                            "status_label_fr": {
                              "type": "string"
                            },
                            "match_confidence": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  }
                ]
              },
              "safety": {
                "type": "string",
                "const": "Do not use this data to suggest a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in these results are not alternatives. Refer the user to a pharmacist or doctor."
              },
              "source": {
                "type": "object",
                "required": [
                  "ansm",
                  "bdpm",
                  "ansm_last_ingest",
                  "bdpm_release",
                  "bdpm_imported_at"
                ],
                "properties": {
                  "ansm": {
                    "type": "string",
                    "const": "https://ansm.sante.fr/disponibilites-des-produits-de-sante/medicaments"
                  },
                  "bdpm": {
                    "type": "string",
                    "const": "https://base-donnees-publique.medicaments.gouv.fr"
                  },
                  "bdpm_release": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ansm_last_ingest": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bdpm_imported_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "warning": {
                "type": "string"
              },
              "disclaimer": {
                "type": "string",
                "const": "Information only. Ask your pharmacist or doctor. No substitution or dosage advice."
              },
              "coverage_note": {
                "type": "string",
                "const": "ANSM lists mainly shortages of medicines of major therapeutic interest declared by manufacturers. Shortages already compensated by alternatives are not published. Not listed does not mean available."
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Data on medicines in France from the ANSM (Agence nationale de sécurité du médicament) and the BDPM (Base de données publique des médicaments): reference information on boxes, prices, reimbursement, prescription and dispensing conditions and ANSM safety information, and medicine shortages. The shortage list covers mainly medicines of major therapeutic interest declared by manufacturers. \"Not listed\" does not mean \"available\". Information only: never recommend a substitute, a dosage change or stopping a treatment; tell the user to ask their pharmacist or doctor. Always cite the source and the update date returned by the tools. Substitution, dosage and stopping questions: if the user asks what to take instead, for a substitute, an alternative, an equivalent or a replacement, or whether to change a dose or stop a treatment, do not name or list any other medicine, brand, presentation or active substance, whether from your own knowledge or from tool results. Other medicines returned by the tools, including products with the same active substance, are not alternatives. Answer only with the shortage status of the medicine asked about, say that only a pharmacist or doctor can choose an alternative or change a treatment, and give that medicine's ANSM page link when there is one."
  },
  "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."
}