buygit_diff_versions
Compare a BuyGit listing between two dates to detect changes in license, popularity, and risk, answering if a dependency regressed since you last checked.
Instructions
Time-window diff for a BuyGit listing — did the license / popularity / risk change between two dates? Answers questions no other MCP can ("did this dep regress since I added it last quarter?"). Returns snapshot-driven deltas when the operator has TRENDING_V2_ENABLED + the snapshot table populated; otherwise returns current state + a gated_on hint so the agent knows what to ask the operator for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Listing slug from a prior tool call. | |
| from | No | ISO 8601 datetime to compare from. Clamped to listing.created_at if earlier. | |
| to | No | ISO 8601 datetime to compare to. Defaults to now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| title | No | ||
| mode | Yes | ||
| from | No | ||
| to | No | ||
| delta | No | Present when mode = snapshot-diff. Stars/forks/popularity deltas across the requested window. | |
| current | Yes | ||
| gated_on | No | Operator action name when historical data unavailable. | |
| note | No |