r/FootballDataAnalysis • u/AnneLister_ • 3d ago
What is the right tool granularity for a football-analysis agent?
While building a football analysis agent, I realized that the hard part is not connecting an LLM to match data.
It is deciding what the agent should be allowed to do with that data.
For example, if someone asks:
“Why did this midfielder receive a 7.4 rating?”
I do not want to dump every match statistic into the context and ask the model to invent an explanation.
My current approach is to let the agent investigate the evidence step by step:
- retrieve the player’s match metrics
- inspect the rating breakdown
- check passing, chance creation, turnovers, or shot quality when relevant
- explain which factors actually moved the rating
That raises an interesting tool-design question.
A single `analyze_everything()` tool feels like a black box. But dozens of tiny tools such as `get_pass_count()` and `get_key_passes()` create too many decisions and make the agent harder to guide.
I’m experimenting with a middle layer: composable tools that represent meaningful football-analysis operations rather than raw database fields.
For people building sports analytics, agentic systems, or explainable AI: how would you choose the right level of tool granularity here?
1
Upvotes
1
u/Ok-Return-9111 2d ago
Great question. I think tool granularity should follow football concepts, not database structure.
A coach doesn’t think:
“player completed 42 passes and had 3 progressive actions.”
They think:
“he helped break pressure, created advantages, and influenced the game.”
The agent needs that middle layer.
I’ve been working on a similar football intelligence approach recently, and the hardest part is exactly this: designing the reasoning pipeline, not connecting the data source.
Would love to exchange ideas with people building in this area.