Title99/100
List strikes
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Searches scheduled strikes in Italy and returns one page of matches. Each strike lists the sectors, companies, unions and geographic areas involved, its time window (mode), start and end dates, and whether it was revoked. The result also includes pagination totals (current page, page size, total matches, total pages) and every known sector name. With no dates it covers today through today + 7 days (Europe/Rome). To filter by sector or region, call list-sectors or list-regions first and pass one of their returned names here. If the user names a city, call find-region first to get its region.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
Page of results to return (default 1). Use pagination.total_pages from a previous response to page through all matches.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
per_page
Number of strikes per page (default 5)
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
sector
Only return strikes involving this sector. Pass a name returned by list-sectors; matching ignores case.
Clear enough to supply this argument.
region
Only return strikes involving this region. Pass a name returned by list-regions; matching ignores case.
Clear enough to supply this argument.
revoked
Include revoked strikes. Default: false (excludes them)
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
start_date
Start of the date range, as a calendar date. Includes strikes that end on this date or later. Default: today (Europe/Rome)
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_date
End of the date range, as a calendar date. Includes strikes that start on this date or earlier. Default: today + 7 days (Europe/Rome)
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations100/100
All four behavior hints are declared.
{
"title": "List strikes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Output schema78/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"pagination",
"sectors"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"sector",
"company",
"union",
"geographic_area",
"mode",
"revoked",
"start_date",
"end_date"
],
"properties": {
"mode": {
"type": "string",
"description": "Time window"
},
"union": {
"type": "array",
"items": {
"type": "string"
},
"description": "Unions involved"
},
"sector": {
"type": "array",
"items": {
"type": "string"
},
"description": "Sectors involved"
},
"company": {
"type": "array",
"items": {
"type": "string"
},
"description": "Companies involved"
},
"revoked": {
"type": "boolean",
"description": "true if the strike was revoked"
},
"end_date": {
"type": [
"string",
"null"
],
"description": "End date YYYY-MM-DD, or null if missing"
},
"start_date": {
"type": [
"string",
"null"
],
"description": "Start date YYYY-MM-DD, or null if missing"
},
"geographic_area": {
"type": "array",
"items": {
"type": "string"
},
"description": "Geographic areas"
}
},
"additionalProperties": false
}
},
"sectors": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Sector name"
}
},
"additionalProperties": false
},
"description": "Sectors available for the view filter"
},
"pagination": {
"type": "object",
"required": [
"page",
"per_page",
"total",
"total_pages"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Current page"
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Total number of matching items"
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size"
},
"total_pages": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Total number of pages (0 if there are no results)"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}