Structured agentic retrieval over knowledge graphs with MCP and query containers