Skip to main content
Glama

Recent changes

recent_changes
Read-onlyIdempotent

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "recent_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
change_typesNo

Output Schema

NameRequiredDescriptionDefault
dataYes
safetyYes
sourceYes
warningNo
disclaimerYes
coverage_noteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "counts": {
      -        "additionalProperties": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "propertyNames": {
      -          "enum": [
      -            "new",
      -            "status_change",
      -            "return_date_change",
      -            "delisted",
      -            "relisted"
      -          ],
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "items": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "change": {
      -              "enum": [
      -                "new",
      -                "status_change",
      -                "return_date_change",
      -                "delisted",
      -                "relisted"
      -              ],
      -              "type": "string"
      -            },
      -            "date": {
      -              "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": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "new_expected_return": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "new_status": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "rupture",
      -                    "tension",
      -                    "arret_commercialisation",
      -                    "remise_a_disposition",
      -                    "autre"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "old_expected_return": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "old_status": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "rupture",
      -                    "tension",
      -                    "arret_commercialisation",
      -                    "remise_a_disposition",
      -                    "autre"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "date",
      -            "change",
      -            "shortage_id",
      -            "name",
      -            "ansm_url",
      -            "old_status",
      -            "new_status",
      -            "old_expected_return",
      -            "new_expected_return"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "kind": {
      -        "const": "changes",
      -        "type": "string"
      -      },
      -      "note": {
      -        "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates.",
      -        "type": "string"
      -      },
      -      "since": {
      -        "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": "string"
      -      },
      -      "tracking_since": {
      -        "anyOf": [
      -          {
      -            "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": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "since",
      -      "counts",
      -      "tracking_since",
      -      "items",
      -      "note"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "counts": {
      +        "additionalProperties": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "propertyNames": {
      +          "enum": [
      +            "new",
      +            "status_change",
      +            "return_date_change",
      +            "delisted",
      +            "relisted"
      +          ],
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "items": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "change": {
      +              "enum": [
      +                "new",
      +                "status_change",
      +                "return_date_change",
      +                "delisted",
      +                "relisted"
      +              ],
      +              "type": "string"
      +            },
      +            "date": {
      +              "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": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "new_expected_return": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "new_status": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "rupture",
      +                    "tension",
      +                    "arret_commercialisation",
      +                    "remise_a_disposition",
      +                    "autre"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "old_expected_return": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "old_status": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "rupture",
      +                    "tension",
      +                    "arret_commercialisation",
      +                    "remise_a_disposition",
      +                    "autre"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "date",
      +            "change",
      +            "shortage_id",
      +            "name",
      +            "ansm_url",
      +            "old_status",
      +            "new_status",
      +            "old_expected_return",
      +            "new_expected_return"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "changes",
      +        "type": "string"
      +      },
      +      "note": {
      +        "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates.",
      +        "type": "string"
      +      },
      +      "since": {
      +        "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": "string"
      +      },
      +      "tracking_since": {
      +        "anyOf": [
      +          {
      +            "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": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "since",
      +      "counts",
      +      "tracking_since",
      +      "items",
      +      "note"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / source / additionalProperties
      Previous value: -falseNew value: +{}
  2. Changed2 schema fields changed
    • addedInput schema / properties / change_types / minItems
      Added value: +1
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "counts": {
      -        "additionalProperties": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "propertyNames": {
      -          "enum": [
      -            "new",
      -            "status_change",
      -            "return_date_change",
      -            "delisted",
      -            "relisted"
      -          ],
      -          "type": "string"
      -        },
      -        "required": [
      -          "new",
      -          "status_change",
      -          "return_date_change",
      -          "delisted",
      -          "relisted"
      -        ],
      -        "type": "object"
      -      },
      -      "items": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "change": {
      -              "enum": [
      -                "new",
      -                "status_change",
      -                "return_date_change",
      -                "delisted",
      -                "relisted"
      -              ],
      -              "type": "string"
      -            },
      -            "date": {
      -              "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": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "new_expected_return": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "new_status": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "rupture",
      -                    "tension",
      -                    "arret_commercialisation",
      -                    "remise_a_disposition",
      -                    "autre"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "old_expected_return": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "old_status": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "rupture",
      -                    "tension",
      -                    "arret_commercialisation",
      -                    "remise_a_disposition",
      -                    "autre"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "date",
      -            "change",
      -            "shortage_id",
      -            "name",
      -            "ansm_url",
      -            "old_status",
      -            "new_status",
      -            "old_expected_return",
      -            "new_expected_return"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "kind": {
      -        "const": "changes",
      -        "type": "string"
      -      },
      -      "note": {
      -        "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates.",
      -        "type": "string"
      -      },
      -      "since": {
      -        "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": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "since",
      -      "counts",
      -      "items",
      -      "note"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "counts": {
      +        "additionalProperties": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "propertyNames": {
      +          "enum": [
      +            "new",
      +            "status_change",
      +            "return_date_change",
      +            "delisted",
      +            "relisted"
      +          ],
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "items": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "change": {
      +              "enum": [
      +                "new",
      +                "status_change",
      +                "return_date_change",
      +                "delisted",
      +                "relisted"
      +              ],
      +              "type": "string"
      +            },
      +            "date": {
      +              "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": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "new_expected_return": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "new_status": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "rupture",
      +                    "tension",
      +                    "arret_commercialisation",
      +                    "remise_a_disposition",
      +                    "autre"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "old_expected_return": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "old_status": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "rupture",
      +                    "tension",
      +                    "arret_commercialisation",
      +                    "remise_a_disposition",
      +                    "autre"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "date",
      +            "change",
      +            "shortage_id",
      +            "name",
      +            "ansm_url",
      +            "old_status",
      +            "new_status",
      +            "old_expected_return",
      +            "new_expected_return"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "changes",
      +        "type": "string"
      +      },
      +      "note": {
      +        "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates.",
      +        "type": "string"
      +      },
      +      "since": {
      +        "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": "string"
      +      },
      +      "tracking_since": {
      +        "anyOf": [
      +          {
      +            "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": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "since",
      +      "counts",
      +      "tracking_since",
      +      "items",
      +      "note"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / source / properties / bdpm_imported_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "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": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / source / required
      Previous value: -[
      -  "ansm",
      -  "bdpm",
      -  "ansm_last_ingest",
      -  "bdpm_release"
      -]New value: +[
      +  "ansm",
      +  "bdpm",
      +  "ansm_last_ingest",
      +  "bdpm_release",
      +  "bdpm_imported_at"
      +]
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the read-only, idempotent, non-destructive, closed-world profile, and the description adds genuinely new behavior: results are ordered latest-first and include counts per change type. It also adds a downstream-use constraint that annotations cannot express. Minor gap: nothing about what the counts aggregate over or result-volume limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and scope are front-loaded in the first clauses before the caveats, so a skimming agent gets the point immediately. The closing sentence 'Other medicines in the results are not alternatives' partially restates the preceding prohibition, adding some redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value documentation is not required, and the description is adequate for a simple read-only feed. Still, with three parameters at 0% schema coverage, an agent must guess at the meaning of the time window and result cap, which the description could have closed in a single clause.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the schema alone leaves names like 'return_date_change' or 'days' opaque, and the description does partly compensate by glossing the change-type categories in prose ('new entries, status changes, expected-return changes, delisted and relisted'). However, it says nothing about what 'days' means as a window (default 7, max 90) or what 'limit' caps, so half the parameters remain unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb-and-resource combination ('shortage changes detected in the last days') and enumerates the change categories it returns, so an agent knows exactly what comes back. Sibling differentiation is only implicit — it does not name list_current_shortages as the snapshot counterpart — so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains a strong when-not-to-use rule ('never use this to recommend a substitute... or stopping a treatment'), but that is a clinical-safety boundary rather than tool-selection guidance. It gives no guidance on choosing between this and list_current_shortages or get_availability, leaving the routing to be inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.