games
Pack: squiggle · Endpoint: https://gateway.pipeworx.io/squiggle/mcp
Fetch AFL fixture and results from Squiggle, filtered by year, round, and/or completion status; returns scores, venues, dates, and match IDs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
year | number | no | |
round | number | no | |
complete | boolean | no | Filter to completed games. |
Example call
Arguments
{
"year": 2024,
"round": 1
}
curl
curl -X POST https://gateway.pipeworx.io/squiggle/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"games","arguments":{"year":2024,"round":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('games', {
"year": 2024,
"round": 1
});
More examples
{
"year": 2024,
"round": 5,
"complete": true
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Game ID"
},
"round": {
"type": "number",
"description": "Round number"
},
"year": {
"type": "number",
"description": "Season year"
},
"date": {
"type": "string",
"description": "Game date and time"
},
"home_team": {
"type": "string",
"description": "Home team name"
},
"away_team": {
"type": "string",
"description": "Away team name"
},
"home_score": {
"type": [
"number",
"null"
],
"description": "Home team score"
},
"away_score": {
"type": [
"number",
"null"
],
"description": "Away team score"
},
"complete": {
"type": "boolean",
"description": "Whether game is completed"
}
}
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"squiggle": {
"url": "https://gateway.pipeworx.io/squiggle/mcp"
}
}
}
See Getting Started for client-specific install steps.