games
Pack: squiggle · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/games for the schema, then POST the same URL with its arguments for the data.
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
| Field | Type | Description |
|---|---|---|
games | array |
Full JSON Schema
{
"type": "object",
"properties": {
"games": {
"type": "array",
"items": {
"type": [
"object",
null
],
"properties": {
"winnerteamid": {
"type": "number"
},
"ascore": {
"type": "number"
},
"tz": {
"type": "string"
},
"complete": {
"type": "number"
},
"is_final": {
"type": "number"
},
"ateam": {
"type": "string"
},
"hbehinds": {
"type": "number"
},
"hgoals": {
"type": "number"
},
"updated": {
"type": "string"
},
"ateamid": {
"type": "number"
},
"is_grand_final": {
"type": "number"
},
"unixtime": {
"type": "number"
},
"timestr": {
"type": "string"
},
"id": {
"type": "number"
},
"localtime": {
"type": "string"
},
"year": {
"type": "number"
},
"hscore": {
"type": "number"
},
"round": {
"type": "number"
},
"roundname": {
"type": "string"
},
"abehinds": {
"type": "number"
},
"hteam": {
"type": "string"
},
"date": {
"type": "string"
},
"hteamid": {
"type": "number"
},
"agoals": {
"type": "number"
},
"venue": {
"type": "string"
},
"winner": {
"type": "string"
}
}
}
}
}
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the squiggle pack
{
"mcpServers": {
"squiggle": {
"url": "https://gateway.pipeworx.io/squiggle/mcp"
}
}
}
See Getting Started for client-specific install steps.